Jump to content

[Crash] Mangosd.exe Problem. n00b.


Zukien

Recommended Posts

Hello there,

I read throughg the forums, did a search, and looke at the Big FAQ Sticky, but I guess I am just not finding, or getting what I am to do for this issue. I just made this server and am not used to administrating one on my own local machine, which will be used later for others to access. Anyway, here is the problem.

I have everything set up, and when I run realmd.exe it runs perfectly, no problem. I can log into the game (which tells me the realmlist as well as config files should be right), and the realmlist comes up, but with the only option (being MaNGOS) greyed out and unable to choose.

When I run mangosd.exe the window comes up with the information, but disappears almost instantly. I have tried running it in command prompt, as well as going through the config files. Command prompt states it canoot find the config file. If I am running it incorrectly, let me know and tell me how to do so (I told you I am a noob).

The Big FAQ Thread had stated that it is broken if it is doing this, but I am not sure what is broken, and how. I installed everything up to date, and it seems very coherent throughout.

Please help me on this, by first telling me what the problem might be, and/or telling me what to post up so you can take a look onto it.

Any help is very much appreciated.

Regards,

Zukien

Link to comment
Share on other sites

Command prompt states it canoot find the config file.

You already know the problem. Go to "\\mangos\\src\\mangosd\\" , put a copy of "mangosd.conf.dist.in" to the folder with the mangosd application file, rename it to "mangosd.conf", edit it to your specifications and run the application file again.

Link to comment
Share on other sites

I already have my configuration files inside the directory. They are set up as follows (with the asterisks as password characters, the SQL Database logon Password, or root password):

mangosd:

#####################################
# MaNGOS Configuration file         #
#####################################

[MangosdConf]
ConfVersion=2010100901

###################################################################################################################
# CONNECTIONS AND DIRECTORIES
#
#    RealmID
#        RealmID must match the realmlist inside the realmd database
#
#    DataDir
#        Data directory setting.
#        Important: DataDir needs to be quoted, as it is a string which may contain space characters.
#        Example: "@CMAKE_INSTALL_PREFIX@/share/mangos"
#
#    LogsDir
#        Logs directory setting.
#        Important: Logs dir must exists, or all logs need to be disabled
#        Default: "" - no log directory prefix. if used log names aren't absolute paths
#                      then logs will be stored in the current directory of the running program.
#
#
#    LoginDatabaseInfo
#    WorldDatabaseInfo
#    CharacterDatabaseInfo
#        Database connection settings for the world server.
#        Default:
#                ---MYSQL---
#                    hostname;port;username;password;database
#                    .;somenumber;username;password;database - use named pipes at Windows
#                        Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini
#                    .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux
#                ---PGSQL---
#                    hostname;port;username;password;database
#                    .;/path/to/unix_socket/DIRECTORY or . for default path;username;password;database - use Unix sockets at Unix/Linux
#
#    LoginDatabaseConnections
#    WorldDatabaseConnections
#    CharacterDatabaseConnections
#         Amount of connections to database which will be used for SELECT queries. Maximum 16 connections per database.
#         Please, note, for data consistency only one connection for each database is used for transactions and async SELECTs.
#         So formula to find out how many connections will be established: X = ¹_connections + 1
#         Default: 1 connection for SELECT statements
#
#    MaxPingTime
#        Settings for maximum database-ping interval (minutes between pings)
#
#    WorldServerPort
#        Port on which the server will listen
#
#    BindIP
#        Bind World Server to IP/hostname
#        This option is useful for running multiple worldd/realmd instances
#        on different IP addresses using default ports.
#        DO NOT CHANGE THIS UNLESS YOU _REALLY_ KNOW WHAT YOU'RE DOING
#
###################################################################################################################

RealmID = 1
DataDir = "."
LogsDir = ""
LoginDatabaseInfo = "localhost;3306;root;*****;realmd"
WorldDatabaseInfo = "localhost;3306;root;*****;mangos"
CharacterDatabaseInfo = "localhost;3306;root;*****;characters"
MaxPingTime = 30
WorldServerPort = 8085
BindIP = "0.0.0.0"

realmd:

############################################
# MaNGOS realmd configuration file         #
############################################

[RealmdConf]
ConfVersion=2010062001

###################################################################################################################
# REALMD SETTINGS
#
#    LoginDatabaseInfo
#        Database connection settings for the realm server.
#        Default: hostname;port;username;password;database
#                 .;somenumber;username;password;database - use named pipes at Windows
#                       Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini
#                 .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux
#                       Unix sockets: experimental, not tested
#
#    LogsDir
#         Logs directory setting.
#         Important: Logs dir must exists, or all logs be disable
#         Default: "" - no log directory prefix. if used log names aren't absolute paths
#                       then logs will be stored in the current directory of the running program.
#
#    MaxPingTime
#         Settings for maximum database-ping interval (minutes between pings)
#
#    RealmServerPort
#         Port on which the server will listen
#
#    BindIP
#         Bind Realm Server to IP/hostname
#         This option is useful for running multiple worldd/realmd instances
#         on different IP addresses using default ports.
#         DO NOT CHANGE THIS UNLESS YOU _REALLY_ KNOW WHAT YOU'RE DOING
#
#    PidFile
#        Realmd daemon PID file
#        Default: ""             - do not create PID file
#                 "./realmd.pid" - create PID file (recommended name)
#
#    LogLevel
#        Server console level of logging
#        0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
#        Default: 0
#
#    LogTime
#        Include time in server console output [hh:mm:ss]
#        Default: 0 (no time)
#                 1 (print time)
#
#    LogFile
#        Logfile name
#        Default: "Realmd.log"
#                 "" - empty name disable creating log file
#
#    LogTimestamp
#        Logfile with timestamp of server start in name
#        Default: 0 - no timestamp in name
#                 1 - add timestamp in name in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
#
#    LogFileLevel
#        Server file level of logging
#        0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
#        Default: 0
#
#    LogColors
#        Color for messages (format "normal_color details_color debug_color error_color)
#        Colors: 0 - BLACK, 1 - RED, 2 - GREEN,  3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 -  CYAN, 7 - GREY,
#                8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
#        Default: "" - none colors
#                 "13 7 11 9" - for example 
#
#    UseProcessors
#        Used processors mask for multi-processors system (Used only at Windows)
#        Default: 0 (selected by OS)
#                 number (bitmask value of selected processors)
#
#    ProcessPriority
#        Process proirity setting (Used only at Windows)
#        Default: 1 (HIGH)
#                 0 (Normal)
#
#    WaitAtStartupError
#        After startup error report wait <Enter> or some time before continue (and possible close console window)
#                 -1 (wait until <Enter> press)
#        Default:  0 (not wait)
#                  N (>0, wait N secs)
#
#    RealmsStateUpdateDelay
#        Realm list Update up delay (updated at realm list request if delay expired).
#        Default: 20
#                 0  (Disabled)
#
#    WrongPass.MaxCount
#        Number of login attemps with wrong password before the account or IP is banned
#        Default: 0  (Never ban)
#
#    WrongPass.BanTime
#        Duration of the ban in seconds (0 means permanent ban)
#        Default: 600
#
#    WrongPass.BanType
#        Ban the IP or account on which login is attempted
#        Default: 0 (Ban IP)
#                 1 (Ban Account)
#
###################################################################################################################

LoginDatabaseInfo = "localhost;3306;root;*****;realmd"
LogsDir = ""
MaxPingTime = 30
RealmServerPort = 3724
BindIP = "0.0.0.0"
PidFile = ""
LogLevel = 0
LogTime = 0
LogFile = "Realmd.log"
LogTimestamp = 0
LogFileLevel = 0
LogColors = ""
UseProcessors = 0
ProcessPriority = 1
WaitAtStartupError = 0
RealmsStateUpdateDelay = 20
WrongPass.MaxCount = 0
WrongPass.BanTime = 600
WrongPass.BanType = 0

Here is my directory in a screenshot:

screenofdirectory1.png

Thank You for any more help :)

Link to comment
Share on other sites

Directory is: MaNGOS > src > Server

Both are x64

The error is when I open up magosd.exe (in the screenshot above, look through the files), it opens, then closes instantly, only a flash of a window is what I get.

And Mozilla isn't an option on this computer for other reasons >.<

EDIT: And the realmd, mangosd, and scriptdev2 are all .conf files. :S

Thanks

Link to comment
Share on other sites

Hi there.

Just to comment on your image of the folder you've taken.

The text is barely readable, if you're going to post an image, crop it before upload, so users only can see the relevant info, which makes it easier to read.

Or try using the console instead, and use the "dir" command, and copy the text.

The "dir" command, lists all files and directories in the folder, including the extention of the files.

But ahead to your problem.

First thing first, have you modified the source in any way,

like using SD2, added patches or edited the source yourself?

Because those modifications could have broken your source.

Try to recompile the source without any modifications first, then add one modification, compile, run, and so on, until you encounter a problem. Then you'll know where the problem might occur, and go on from there.

The mangosd.conf file you've uploaded.

It seems a bit small, have you really uploaded the entire mangosd.conf here, or have you only uploaded a partion of it.

If you haven't uploaded a partion of it, then your mangosd.conf if broken, and you should redownload it.

The mangos source.

It could hapen during the download or saving to the harddrive, the source got broken.

It might be a network error, or your harddrive might have a damaged sector.

Try to download the source to a new place, and compile it again.

I hope this helps.

Edit

Oh yeah, as Cyberfreak wrote.

Did you encounter any compilation errors while compiling the source.

And did you use Visual Studio 2005/2008/2010 to compile it (as I remember the Express versions of it can't compile in x64 mode, you'll need the full versions to compile that).

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use