Server.exe closing right after start

Merekin

New member
Messages
17
Points
0
Github
r-lourical
I'm new here in the community and am trying to use Hercules for the first time. After i installed mysql, downloaded Hercules and everything else i tried to compile the servers, but when i try to run then they open for about 2 seconds and then auto-close. It's hard to even take a snapshot, but here is what i got with some effort.
I'm pretty sure i configured everything right in the database and conf files, so i don't have a clue to whats going on here.

Screenshot_392.pngScreenshot_393.png
Some help would highly be appreciated

 
I wasn't getting anything on the logs before but now i saw this:

(06/19/2018 17:06:46) [ SQL Error ] : Client does not support authentication protocol requested by server; consider upgrading MySQL client
 

But i just downloaded the latest MySQL. What am i doing wrong here?

 
Hi,

to make better screenshots use the windows commandline and simply start the servers one by one in separate windows manually and let them run.
Also make sure to provide screenshots for all 3 servers not just login.

 
Yeah... Didn't thought about that Winterfox, thanks.

Here are some better screenshots.
login-server
Screenshot_394.png
Char-server                                                                                                             Map-server
Screenshot_395.pngScreenshot_396.png

 
It seems like your server can not find the configuration files. Did you move the compiled server or delete the conf directory?

 
The compiled server is where it was created, in the "Hercules" folder. The same goes for my conf folder. I noticed that the map-server can't even find the scripts_main.conf in the npc folder.
I am using a copy of the Hercules folder that i made from the one from git-hub, can it be the problem?

 
Do you use the data from the hercules github or did you change something?

 
Last edited by a moderator:
I'm using VS 17 on W10. it needed some changes to compile the servers.
'll try compiling without redirecting the solutions and test again.

 
Last edited by a moderator:
I am on windows 10 and use VS 17 for compilation too. You shouldn't need to change parts of the code to be able to compile hercules.

 
Winterfox, my VS was lacking the 14v toolkit, but that wasn't the problem. My servers.exe still can't find the conf files. Does someone know what can be causing this problem? every file is in the conf file in the Hercules folder, as it should be. i literally have no clue...
edit: I even checked the source code to be sure.
Screenshot_398.pngScreenshot_399.png

 
Last edited by a moderator:
this error is simple.

you running your exe not in hercules directory.

it MUST be where all files located and not any other dirs like you did. Probably this is issue in your visual studio project configuration.

 
Yes 4144 i was doing a rookie mistake, sorry. Actually the problem is this:
Edit: It was a problem in my MySQL server. i reinstalled it and the problem was solved. Thanks for you help and patience.

Code:
: Client does not support authentication protocol requested by server; consider upgrading MySQL client
 
Last edited by a moderator:
Back
Top