Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::General Support

Archive::General Support Archive area for General Support's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
  #1  
Old 05-12-2004, 06:57 PM
shocker1322
Fire Beetle
 
Join Date: Mar 2004
Posts: 11
Default Zone Instantly closes with DR-2 on LAN

First off, I had everything working when I was at school. I had DR-2 working from the source code with Perl. When I came home and set up on our LAN, the server no longer works. Mini login and World will run, but when I run boot5zones.bat, it opens 5 windows then closes them instantly. The zones for some reason do not stay on. The only differance I can think of is this we are using a hub here instead of a router at school. Would that make any difference? Here are the output from various windows.

Minilogin:
Code:
LoginServer.ini read.
MiniLoginAccounts.ini read.
Server mode: Standalone
Login server listening on port:5999
World:
Code:
[Status] CURRENT_WORLD_VERSION:EQEMu 0.5.7-DR2
[Status] Loading variables..
[Status] Loading zones..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=28731, max id=69304
[Status] ./LoginServer.ini read.
[Status] Loading guild ranks..
[Status] Loading ./addon.ini..
[Status] Loading EQ time of day..
[Status] Reboot zone modes ON
[Status] Deleted 0 stale player corpses from database
[Status] Deleted 0 stale player backups from database
Abort/retry/cancel?
TCP listening on: 192.168.0.226:9000
World server listening on: 192.168.0.226:9000
Connected to LoginServer: 192.168.0.226:5999
254031 New TCP connection: 192.168.0.226:2479
New zoneserver: #1 192.168.0.226:2479
Zoneserver SetConnectInfo: 192.168.0.226:2479: 192.168.0.226:7999
I can run zone.exe from console and this is it's output:
Code:
D:\EQEmu>zone 7999 192.168.0.226 7999 192.168.0.226
[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.7-DR2
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading NPCTypes from database...
[Status] Loading npc faction lists
[Status] Loading NPC Faction Lists from database...
[Status] Loading loot tables
[Status] Loading Loot tables from database...
[Status] Loading doors
[Status] Loading Doors from database...
[Status] FileLoadSPDat() Loading spells from ./spells_us.txt
[Status] FileLoadSPDat() spells loaded: 5061
[Status] Loading guilds
[Status] Loading factions
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 162 commands loaded
[Status] Loading embedded perl
[Status] Loading perlemb plugins.
[Error] Zone bootup FAILED!
Connected to worldserver: 192.168.0.226:9000
db.ini:
Code:
[Database]
host=localhost
user=shocker
password=eq
database=eq
compression=off
loginserver.ini:
Code:
[LoginServer]
loginserver=192.168.0.226
loginport=5999
worldname=shocker happy fun
worldaddress=192.168.0.226
locked=false

[WorldServer]
Defaultstatus=0
Unavailzone=

[LoginConfig]
ServerMode=Standalone
ServerPort=5999
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=
Boot5zones.bat:
Code:
start zone.exe . 7999 192.168.0.226 7995 127.0.0.1
start zone.exe . 7999 192.168.0.226 7996 127.0.0.1
start zone.exe . 7999 192.168.0.226 7997 127.0.0.1
start zone.exe . 7999 192.168.0.226 7998 127.0.0.1
start zone.exe . 7999 192.168.0.226 7999 127.0.0.1
exit
cls
Here I have tried many different things. localhost, 127.0.0.1, and IP. all in various configurations. None ever varied the resuilt. I would remind you that everthing was working prior to the LAN. So my db and exe's are fine. Something just is not taking zone.


Ipconfig:
Code:
Ethernet adapter Local Area Connection: 
Connection-specific DNS Suffix  . :                      
IP Address. . . . . . . . . . . . . . . . . : 192.168.0.226         
Subnet Mask . . . . . . . . . . . . . . . : 255.255.255.0         
Default Gateway . . . . . . . . . . . . : 192.168.0.1
The hub is a Linksys 5 port model number EFAH05W. The internet is distributed through a server computer, not sure if that matters. The path of traffic is Modem -> Server -> Hub -> LAN. If anyone needs any other info, just ask. Thanks!
  #2  
Old 05-12-2004, 07:48 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

ok let see here...

Code:
[Error] Zone bootup FAILED!
This is due to the fact you didn't define a zone when starting zone.exe
Code:
D:\EQEmu>zone 7999 192.168.0.226 7999 192.168.0.226
the proper syntax for loading zone.exe is
from command prompt:
Code:
D:\eqemu>zone $zonesn$ externalIP <port> internalIP
if your running this on a lan, and the sql database is on the same machine as the zone.exe and world.exe i find it works alot better to replace every internalip with localhost, and externals to your computers ip address on the lan. When loading zone.exe you ahve to define a zone to load, only if you want a constant zone up and running would you put the zones short name where $zonesn$ goes in the syntax, however unless you have a reason to keep a zone up constantly, i.e. want to keep spawn timers running, or have quest mobs that pop at certain times etc... the best thing to do is just set zone.exe to autoload/unload zones as they are needed. in order to do this you define your $zonesn$ as simply "." (without quotes) so to manually start a zone.exe you would type.

Code:
D:\eqemu>zone . 192.168.0.226 7995 localhost
remember each zone.exe needs its own port.

Loginserver.ini

Code:
[LoginServer] 
loginserver=192.168.0.226 
loginport=5999 
worldname=shocker happy fun 
worldaddress=192.168.0.226 
locked=false 

[WorldServer] 
Defaultstatus=0 
Unavailzone= 

[LoginConfig] 
ServerMode=Standalone 
ServerPort=5999 
UplinkAddress= 
UplinkPort= 
UplinkAccount= 
UplinkPassword=
Rec. Change

Code:
[LoginServer]
loginserver=localhost
loginport=5999
worldname=shocker happy fun
worldaddress=192.168.0.226
locked=false

[WorldServer] 
Defaultstatus=0 
Unavailzone= 

[LoginConfig] 
ServerMode=Standalone 
ServerPort=5999 
UplinkAddress= 
UplinkPort= 
UplinkAccount= 
UplinkPassword=

[ChatChannelServer]
ChatChannelServer=localhost
Also noticed you were missing ChatChannelServer, this can give errors when loading as well although i didn't see it in your output, it can cause errors in the future.

Boot5Zones.bat
Code:
start zone.exe . 7999 192.168.0.226 7995 127.0.0.1 
start zone.exe . 7999 192.168.0.226 7996 127.0.0.1 
start zone.exe . 7999 192.168.0.226 7997 127.0.0.1 
start zone.exe . 7999 192.168.0.226 7998 127.0.0.1 
start zone.exe . 7999 192.168.0.226 7999 127.0.0.1 
exit 
cls
tell you right now your syntax is causing your zone.exe to crash you need to change these to:

Boot5zones.bat
Code:
start zone.exe . 192.168.0.226 7995 localhost 
start zone.exe . 192.168.0.226 7996 localhost 
start zone.exe . 192.168.0.226 7997 localhost 
start zone.exe . 192.168.0.226 7998 localhost 
start zone.exe . 192.168.0.226 7999 localhost 
exit 
cls
notice i took out the 7999 that was put before your externalIP, it was causing the crashes, with these fixes your server should run on your LAN just fine. so try this, if it doesn't work post what other output your getting and i will see if i can help =)

Hope this helps.
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
  #3  
Old 05-12-2004, 08:22 PM
shocker1322
Fire Beetle
 
Join Date: Mar 2004
Posts: 11
Default

That helped a ton. First why was there 7999 in my boot5zones.bat? The only thing I ever changed in there was my IP, so someone had it in there for a reason. The zones now load. So thanks for fixing that. I now have a much worse error. When I try to log into my server, world.exe crashes with an application error.

Code:
The instruction at 0x0042f875 referenced at memory 0x0000000c cannot be read
I just started getting this error before I came home when I tried to join the game from the PC running the sever. I could connect to it with another computer and world would not crash, so I suspect the problem is on my PC. The error never changes, it is always at 0x0042f875. Also when I debug world this is the line that crashes.

Code:
0042F875   cmp         byte ptr [eax+0Ch],dl
I believe this is sound related. I have reinstalled my sound drivers as well as chose no sound for EQ. Still the problem persists. Could something else be wrong? Again thanks a lot Charmy, can you figure this one out? ;)

Soundcard: Game Theater XP
also crashes when running onboard sound, mobo Asus P4C800-E.
  #4  
Old 05-12-2004, 08:49 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Np, not sure why you had the line of 7999 in there, as for the error, i was looking through the source and i couldn't find anything close to that string that would help fix that problem, i suggest waiting on this one for a more experienced programer, i am sure somone will know what this means, sadly my programming skills are ok at best, so for a fix on this i suggest waiting until tommorow, or even posting it in the bugs section maybe somone can help you out better there. i am sorry i can't help you on this one, i just don't understand what would cause this output. Good luck with it, and if i find anything on it i will post it here. And on a final note, what release are you using? the source i was looking through was the 5-08-04 release of 5.7.0.

If your eq addiction is really that bad, i think you said you can connect from another computer on the lan, i guess you could always play from there for now!

Sorry i couldn't fix this one =(
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
  #5  
Old 05-13-2004, 05:15 AM
Ravenloft
Fire Beetle
 
Join Date: May 2004
Posts: 7
Default

One time I installed Age of the Empires on my pc when I didn't have a sound card, and it corrupted my hard drive <3

You can probably find a cheap good sound card here. I'd recommend something like this one (should be $22 shipped), make sure to mention to them that you found it on pricewatch for a discount on it. (If you like Sound Blaster Live! 5.1 :P - That's what I have.)
  #6  
Old 05-13-2004, 07:35 AM
mikenune
Discordant
 
Join Date: Apr 2004
Location: Gukta
Posts: 359
Default

When you run the Debugger, what file does it say the error is in?

P.S.
I assume you're running MS Visual Studio .NET 2003 and have compiled the EXEs yourself.
__________________
THE POSTER assumes no warranty, guarantee, or representation as to the accuracy
or sufficiency of the information presented herein, and THE POSTER assumes no
responsibility or liability regarding the use or misuse of such information.
Furthermore THE POSTER assumes no responsibility and makes no warranty, guarantee,
or representation for the content of any web or FTP sites linked to or from this
post.

THE POSTER reserves the right to change the terms, conditions, and notices under
which THE POSTER presents information. It is the responsibility of THE READER to
regularly review these terms, conditions, and notices. THE READER understands that
the reading of any content including or covered by this disclaimer constitutes THE
READER's acceptance of and agreement to such changes.

THE POSTER retains the right to in any way alter the content of this post at any
time with or without prior notice to THE READER.
  #7  
Old 05-13-2004, 01:29 PM
shocker1322
Fire Beetle
 
Join Date: Mar 2004
Posts: 11
Default

I was running VS 6.0. I got a newer version of the sourcecode and recompiled and the problem went away. The code I has was about 3 weeks old, so I suppose something changed sinced then. Thanks for all who helped me solve this.
 


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 04:24 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3