• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Worldserver.exe cant find worldserver.conf

Status
Not open for further replies.

Troya

Respected Member
Hello here is my problem.. lising me:
My worldserver.exe can not find the file worldserver.conf.
so i cant run my worldserver.exe

my worldsercer.conf looks like this:
Code:
################################################
# Trinity Core World Server configuration file #
################################################
[worldserver]

###################################################################################################
# SECTION INDEX
#
#    EXAMPLE CONFIG
#    CONNECTIONS AND DIRECTORIES
#    PERFORMANCE SETTINGS
#    SERVER LOGGING
#    SERVER SETTINGS
#    WARDEN SETTINGS
#    PLAYER INTERACTION
#    CREATURE SETTINGS
#    CHAT SETTINGS
#    GAME MASTER SETTINGS
#    VISIBILITY AND DISTANCES
#    SERVER RATES
#    STATS LIMITS
#    AUTO BROADCAST
#    BATTLEGROUND CONFIG
#    BATTLEFIELD CONFIG
#    ARENA CONFIG
#    NETWORK CONFIG
#    CONSOLE AND REMOTE ACCESS
#    CHARACTER DELETE OPTIONS
#    CUSTOM SERVER OPTIONS
#    LOGGING SYSTEM SETTINGS
#
###################################################################################################

###################################################################################################
# EXAMPLE CONFIG
#
#    Variable
#        Description: Brief description what the variable is doing.
#        Important:   Annotation for important things about this variable.
#        Example:     "Example, i.e. if the value is a string"
#        Default:     10 - (Enabled|Comment|Variable name in case of grouped config options)
#                     0  - (Disabled|Comment|Variable name in case of grouped config options)
#
# Note to developers:
# - Copy this example to keep the formatting.
# - Line breaks should be at column 100.
###################################################################################################

###################################################################################################
# CONNECTIONS AND DIRECTORIES
#
#    RealmID
#        Description: ID of the Realm using this config.
#        Important:   RealmID must match the realmlist inside the auth database.
#        Default:     1

RealmID = 1

#
#    DataDir
#        Description: Data directory setting.
#        Important:   DataDir needs to be quoted, as the string might contain space characters.
#        Example:     "@prefix@/share/trinitycore"
#        Default:     "."

DataDir = "data"

#
#    LogsDir
#        Description: Logs directory setting.
#        Important:   LogsDir needs to be quoted, as the string might contain space characters.
#                     Logs directory must exists, or log file creation will be disabled.
#        Default:     "" - (Log files will be stored in the current path)

LogsDir = ""

#
#    LoginDatabaseInfo
#    WorldDatabaseInfo
#    CharacterDatabaseInfo
#        Description: Database connection settings for the world server.
#        Example:     "hostname;port;username;password;database"
#                     ".;somenumber;username;password;database" - (Use named pipes on Windows
#                                                                 "enable-named-pipe" to [mysqld]
#                                                                 section my.ini)
#                     ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
#                                                                           Unix/Linux)
#        Default:     "127.0.0.1;3306;trinity;trinity;auth"       - (LoginDatabaseInfo)
#                     "127.0.0.1;3306;trinity;trinity;world"      - (WorldDatabaseInfo)
#                     "127.0.0.1;3306;trinity;trinity;characters" - (CharacterDatabaseInfo)

LoginDatabaseInfo     = "127.0.0.1;3306;root;ascent;auth"
WorldDatabaseInfo     = "127.0.0.1;3306;root;ascent;world"
CharacterDatabaseInfo = "127.0.0.1;3306;root;ascent;characters"

it is not full.. i dont want giv him full.

whether can anyone tell me how to fix it? I know I did all right ... but it seems that the problem is in the source, so can anyone tell me where's exactly the problem and what you should do to fix it?
 

Troya

Respected Member
Looks fine.
Did you remove the .dist extension from the file name?

yes i em... how i say the problem is in source.. but idk where is the problem.. i need to find.. but im not sure can i do it.. i em not the best with source.. if you know where can be error tell me please
 

Tommy

Founder
Take a screenshot of your current directory that has your worldserver.exe in it. Also, start your worldserver.exe and take a screenshot of the console.
 

Tommy

Founder
Interesting. Are you sure you're using consistent config file that works with your current worldserver source? Make sure you don't have any line errors too. Since you didn't copy the entire configuration contents, it's kinda hard to determine what might be wrong.
 

Troya

Respected Member
Interesting. Are you sure you're using consistent config file that works with your current worldserver source? Make sure you don't have any line errors too. Since you didn't copy the entire configuration contents, it's kinda hard to determine what might be wrong.

here is answer maybe.. idk i dont understend this to much:

That isn't the problem, we just tried moving it to C:\Trinity (I'm on teamviewer with him at the moment)

All files are named correctly and my software can clearly see worldserver.conf, and if I create a blank file with [worldserver] at the top it recognises that as a config file but obviously can't load anything, so my suspicion is it's to do with character encoding or missing elements. I'm waiting for trinitycore to compile at the moment so I can launch it through the debugger
 

Hyperion

Founder
here is answer maybe.. idk i dont understend this to much:

That isn't the problem, we just tried moving it to C:\Trinity (I'm on teamviewer with him at the moment)

All files are named correctly and my software can clearly see worldserver.conf, and if I create a blank file with [worldserver] at the top it recognises that as a config file but obviously can't load anything, so my suspicion is it's to do with character encoding or missing elements. I'm waiting for trinitycore to compile at the moment so I can launch it through the debugger


You're probably just missing a " somewhere. I don't see why you can't post the entire config. Just remove the IP and DB info if you don't want anyone to see it.
 

Hyperion

Founder
entire confing? more info?

Help us, help you.

It is impossible for us to help with the limited information you're giving us. Instead of keeping us
guessing, just post your worldserver config (the whole thing) and just block out or remove your database information.

Also, give a screen shot of the worldserver at the end of loading or post the server log.
 

Evilfairy

Enthusiast
Interesting. Are you sure you're using consistent config file that works with your current worldserver source? Make sure you don't have any line errors too. Since you didn't copy the entire configuration contents, it's kinda hard to determine what might be wrong.

You're probably just missing a " somewhere. I don't see why you can't post the entire config. Just remove the IP and DB info if you don't want anyone to see it.

It took me 3 hours to find a missing hash on line 2654. Problem is now solved.

Lesson learned: check your basics first, kids
 

Tommy

Founder
It took me 3 hours to find a missing hash on line 2654. Problem is now solved.

Lesson learned: check your basics first, kids

Pretty funny. People make these threads and give the least amount of information. Should be quite obvious that you need to post the entire configuration file because we can't help otherwise. Glad it is solved though.

Marking solved.
 
Status
Not open for further replies.
Top