PDA

View Full Version : World.exe crashes immediately


WilLes
03-14-2010, 08:36 PM
Im trying to setup a server just to toy around with. I followed the EQEmulator guide to a T but im still having issues getting world.exe to run. When I run my bat file it opens then immediatly closes. I ran it from a prompt and I got this error,

Failed to open log file: logs/eqemu_debug_world_3328.log
[debug] [world__init] loading server configuration..
Unable to load 'eqemu_configuration.xml' : failed to open file
[debug] [world__init_err] loading server configuration failed.

The EQEmu\eqlaunch window shows,

[Debug] Starting Log: logs/eqemu_debug_3824.log
[Debug] [LAUNCHER__INIT] Loading server configuration..
[Debug] [NET__WORLD] WorldConnection connect: Connecting to the server 127.0.0.1
:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[Debug] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[Debug] [LAUNCHER__INIT] Starting main loop...


My Config file looks like this...


<?xml version="1.0">
<server>
<world>
<shortname>hier</shortname>
<longname>hier test server</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>some.server.com</address> -->
<!-- <localaddress>192.168.0.5</localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password></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="localhost" port="9000" telnet="disable"/>

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

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" 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>******</password>
<db>peq</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</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>



Running: windows 7 X64

I hope ive listed all the information needed, if not let me know and i will get it posted as soon as possible! Thanks for the help!

joligario
03-14-2010, 09:11 PM
Did you try to put the emu folder in program files or other protected directory? What about allowing world in the firewall?

WilLes
03-14-2010, 09:51 PM
moving the directory didnt help, closed as soon as it opened up. How exactly do I allow the world.exe thru the firewall? I did open port 3306 for mysql. Thanks again for the help!

Taurinus
03-15-2010, 01:17 AM
So you have World, Zone, eqlaunch, and EmuShareMem all in the same directory with your configuration file and other subdirs? I'm asking because world also could not find your logs directory (but eqlaunch found it :-? ).

Here is an idea of what it should look like.

http://img534.imageshack.us/i/emudirsnap.jpg

WilLes
03-15-2010, 05:50 AM
Yea everything looks ok to me, heres a pic of what my dir looks like.

http://i107.photobucket.com/albums/m316/willystyl/EQEmudir.jpg

joligario
03-15-2010, 07:29 AM
moving the directory didnt help, closed as soon as it opened up. How exactly do I allow the world.exe thru the firewall? I did open port 3306 for mysql. Thanks again for the help!

Sorry, I didn't mean to try to do it. I meant to ask if that is what you did. To allow world.exe through the firewall, go to Start -> Control Panel -> Windows Firewall. Select "Allow a program or feature through Windows Firewall" on the left. Select "Change Settings" and add an allow for world.exe (browse and add the file). I also allowed zone through my firewall.

Derision
03-15-2010, 07:33 AM
Yea everything looks ok to me, heres a pic of what my dir looks like.


Judging by the 'Last Modified' dates in your screenshot, you have edited the eqemu_config.xml.full file, rather than the one the server uses, which is eqemu_config.xml (which has a last modified date of 1/28/2006 in your screenshot).

WilLes
03-15-2010, 05:09 PM
Ok, well I currently have it installed at c:\eqmu, I allowed world.exe as well as zone through the firewall. Same thing happened, heres the error I get..
http://i107.photobucket.com/albums/m316/willystyl/NewBitmapImage.jpg

The config file I used came from EQEmu version;EQEmu-Rev1180a-Bots. The only changes I made were to the eqemu_congig.xml file.Do I need to find a different xml file?

Thanks again.
Will

Derision
03-15-2010, 05:50 PM
You need to be in c:\eqemu when you launch world.exe, i.e.

C:\Users\Steve>cd \eqemu

C:\eqemu>world
[Debug] Starting Log: logs/eqemu_debug_world_4600.log
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[Debug] [WORLD__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_world_4600.log
[Status] Using database 'ykesha' at 192.168.1.100:3306
[Debug] [WORLD__INIT] Starting HTTP world service...


To be sure you are editing the correct file:

C:\Users\Steve>cd \eqemu

C:\eqemu>notepad eqemu_config.xml


As I said, your screenshot appears to show you have edited eqemu_config.xml.full, which is not used by the server, it is just there for reference to show you all the possible options you can specify in your eqemu_config.xml (without the .full extension) which is the file the server actually uses to run.

WilLes
03-15-2010, 09:18 PM
Now I feel like a dummy, thats what is was...I edited the wrong file. Thanks for the help. They both run now but I get another error im assuming is a prob with the config file. Thanks again for helping me feel like an idiot!

http://i107.photobucket.com/albums/m316/willystyl/NewBitmapImage2.jpg

WilLes
03-16-2010, 12:08 AM
Got that last config file error taken care of and now she runs great! Thanks everyone for all the help!