Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2010, 08:36 PM
WilLes
Fire Beetle
 
Join Date: Mar 2010
Posts: 10
Question World.exe crashes immediately

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!
Reply With Quote
  #2  
Old 03-14-2010, 09:11 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Did you try to put the emu folder in program files or other protected directory? What about allowing world in the firewall?
Reply With Quote
  #3  
Old 03-14-2010, 09:51 PM
WilLes
Fire Beetle
 
Join Date: Mar 2010
Posts: 10
Default

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!
Reply With Quote
  #4  
Old 03-15-2010, 01:17 AM
Taurinus
Hill Giant
 
Join Date: Jul 2009
Location: Southern United States
Posts: 107
Default

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
Reply With Quote
  #5  
Old 03-15-2010, 05:50 AM
WilLes
Fire Beetle
 
Join Date: Mar 2010
Posts: 10
Default

Yea everything looks ok to me, heres a pic of what my dir looks like.

Reply With Quote
  #6  
Old 03-15-2010, 07:29 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Quote:
Originally Posted by WilLes View Post
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.
Reply With Quote
  #7  
Old 03-15-2010, 07:33 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by WilLes View Post
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).
Reply With Quote
  #8  
Old 03-15-2010, 05:09 PM
WilLes
Fire Beetle
 
Join Date: Mar 2010
Posts: 10
Default

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..


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
Reply With Quote
  #9  
Old 03-15-2010, 05:50 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

You need to be in c:\eqemu when you launch world.exe, i.e.
Code:
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:
Code:
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.
Reply With Quote
  #10  
Old 03-15-2010, 09:18 PM
WilLes
Fire Beetle
 
Join Date: Mar 2010
Posts: 10
Default

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!

Reply With Quote
  #11  
Old 03-16-2010, 12:08 AM
WilLes
Fire Beetle
 
Join Date: Mar 2010
Posts: 10
Thumbs up

Got that last config file error taken care of and now she runs great! Thanks everyone for all the help!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3