EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   World.exe crashing (https://www.eqemulator.org/forums/showthread.php?t=34065)

Kingmen30264 08-26-2011 05:37 PM

World.exe crashing
 
First, I would like to mention that NOTHING has changed with my DB. It was running just fine last week when I had it up testing stuff, but today, when I tried to start it, I keep getting the same damned error:

Code:


The application was unable to start correctly (0xc0000005). Click OK to close the application.

Here is a copy of my debug log:

Code:



---------------------------------------------
[08.26. - 16:26:03] Starting Log: logs/eqemu_debug_5348.log
[08.26. - 16:26:03] [LAUNCHER__INIT] Loading server configuration..
[08.26. - 16:26:04] [NET__WORLD] WorldConnection connect: Connecting to the server hsfdp.no-ip.org:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[08.26. - 16:26:04] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[08.26. - 16:26:04] [LAUNCHER__INIT] Starting main loop...

And here is a copy of my login file:

Code:


[Debug] [08.26.11 - 16:26:03] Logging System Init.
[Debug] [08.26.11 - 16:26:03] Config System Init.
[Error] [08.26.11 - 16:26:03] Config::Parse(), file was unable to be opened for parsing.
[Error] [08.26.11 - 16:26:03] Database Initialization Failure.
[Debug] [08.26.11 - 16:26:03] Config System Shutdown.
[Debug] [08.26.11 - 16:26:03] Log System Shutdown.


Now the last part of this isn't an issue as it did it all the time, it would run this LAUNCHER_ERROR about not being able to connect, I wait about 5-10s and then it connects and runs just fine.

I get the 0xc0000005 error almost as soon as I click my startup.bat file.

What do I need to change... if anything?

Also, here is a copy of my eqemu_config.xml file:

Code:


<?xml version="1.0">
<server>
        <world>
                <shortname>deathz</shortname>
                <longname>xxxdeath test serverxxx</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
              <address>hsfdp.no-ip.org</address>
              <localaddress>192.168.2.157</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5998</port>
                        <account>kingmen30264</account>
                        <password>xxxxxxxxx</password>
                </loginserver>

                <!-- Server status.  Default is unlocked -->
                --<locked/>-->
                <!--<unlocked/>-->

                <!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
                <tcp ip="hsfdp.no-ip.org" port="9000" telnet="enable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>random password</key>

                <!-- Enable and set the port for the HTTP service.  Defaults are shown -->
                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>

        <!-- Chatserver (channels) information.  Defaults shown -->
        <chatserver>
                <host>channels.eqemulator.net</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>channels.eqemulator.net</host>
                <port>7779</port>
        </mailserver>

        <zones>
                <defaultstatus>20</defaultstatus>

                <!-- Sets port range for world to use to auto configure zones -->
                <ports low="7000" high="7100"/>
        </zones>

        <!-- Database configuration, replaces db.ini.  Defaults shown -->
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password>xxxxxxxxxx</password>
                <db>privateserver</db>
        </database>

        <!-- Launcher Configuration --> 
        <launcher>
                <!-- <logprefix>logs/zone-</logprefix> -->
                <!-- <logsuffix>.log</logsuffix> -->
                <!-- <exe>zone.exe or ./zone</exe> -->
                <!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
        </launcher>
   
        <!-- File locations.  Defaults shown -->
        <files>
                <!-- <spells>spells_us.txt</spells> -->
                <!-- <opcodes>opcodes.conf</opcodes> -->
                <!-- <logsettings>log.ini</logsettings> -->
                <!-- <eqtime>eqtime.cfg</eqtime> -->
        </files>
        <!-- Directory locations.  Defaults shown -->
        <directories>
                <!-- <maps>maps</maps> -->
                <!-- <quests>quests</quests> -->
                <!-- <plugins>plugins</plugins> -->
        </directories>
</server>


Any and all help on this matter is greatly appreciated.

Thank you.

joligario 08-26-2011 09:29 PM

What does your start.bat look like?

And what login file is that above? Are you running your own login server? You're using eqemulator.net according to your config.

Kingmen30264 08-27-2011 03:45 AM

Here is a copy of the content for my start.bat file:

Code:


@echo off
start EQEmuLoginServer.exe
start world
echo waiting for the world to finish before starting zone...
sleep 10
start eqlaunch zone

As far as the Login file that I posted above, that is a Login LOG file. Wasn't sure if that was relevant or not, but I only had two log files.

joligario 08-27-2011 04:38 AM

Couple of things:
You don't need to run the login server if you are using the eqemulator.net login server.
Sleep does not work in windows.

Kingmen30264 08-27-2011 04:52 AM

I made those changes, and it still gives me this error. I just don't understand.... It was working just fine last week when I took it down, and now it's not working :(

Kingmen30264 08-27-2011 06:00 AM

Hmm.... Easiest of all fixes... a reboot. Guess something got crossed when my power went out yesterday (had a storm roll through).... Works now. '

Thank you all for your help :)


All times are GMT -4. The time now is 03:48 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.