PDA

View Full Version : zone.exe encountering problems


Numtin
08-23-2004, 12:51 AM
I've been trying for a few days now to understand what's been going on but haven't had any luck. I can log into my server just fine and make it to character select screen but when I try and enter world, I get a popup saying zone.exe has encountered a problem and must close.

I'm getting absolutely no errors at all when booting up the world.exe or the boot5zones.bat but again, trying to enter world results in a crash of all 5 zone servers so I can't even post an error.

I'm on 5.7 DR6 using EQEmu-SQL-06-26-04 database (which sourced just fine with no errors). The strange thing is, I was able to load in when I first started it up. I've even tried loading the zones as static but that also makes them crash upon bootup of boot5zones.bat still showing no errors when I get the message that it has encountered a problem.

db.ini

[Database]
host=localhost
user=*******
password=*******
database=eq
compression=off

boot5zones.bat

if NOT exist spells_us.txt goto NOSPELL

start zone . 64.175.242.202 7995 localhost
start zone . 64.175.242.202 7996 localhost
start zone . 64.175.242.202 7997 localhost
start zone . 64.175.242.202 7998 localhost
start zone . 64.175.242.202 7999 localhost
exit
cls

Loginserver.ini

[LoginServer]
loginserver=eqemulator.net
loginport=5995
worldname=Longbow [test]
worldaddress=64.175.242.202
locked=true

[WorldServer]
Defaultstatus=0
Unavailzone=

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

[ChatChannelServer]
server=localhost

Yes, I do understand the server has a locked status. As I've mentioned before, it was working when I first got it up and running so I have an opserver status and can still log on. I would post the results of world.exe and zone.exe but for some reason I can't copy and paste it.

Any help is greatly appreciated.

EDIT: Got the data to copy/paste from world and zone.

boot5zones.bat

[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.7-DR6
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading npc faction lists
[Status] Loading loot tables
[Status] Loading doors
[Status] FileLoadSPDat() Loading spells from ./spells_us.txt
[Status] FileLoadSPDat() spells loaded: 5665
[Status] Loading guilds
[Status] Loading factions
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 165 commands loaded
[Status] Entering sleep mode
Connected to worldserver: localhost:9000

World.exe

[Status] CURRENT_WORLD_VERSION:EQEMu 0.5.7-DR6
[Status] Loading variables..
[Status] Loading zones..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=28728, max id=69304
[Status] ./LoginServer.ini read.
[Status] Loading guild ranks..
[Status] Loading ./addon.ini..
[Status] Loading EQ time of day..
[Status] Deleted 0 stale player corpses from database
[Status] Deleted 0 stale player backups from database
Assassinating people that whine about horses...done
TCP listening on: 64.175.242.202:9000
World server listening on: 64.175.242.202:9000
Connected to LoginServer: eqemulator.net:5995
33297 New TCP connection: 127.0.0.1:3870
33297 New TCP connection: 127.0.0.1:3871
33297 New TCP connection: 127.0.0.1:3872
33297 New TCP connection: 127.0.0.1:3873
New zoneserver: #1 127.0.0.1:3873
New zoneserver: #2 127.0.0.1:3872
New zoneserver: #3 127.0.0.1:3871
New zoneserver: #4 127.0.0.1:3870
Zoneserver SetConnectInfo: 127.0.0.1:3870: 64.175.242.202:7999
Zoneserver SetConnectInfo: 127.0.0.1:3873: 64.175.242.202:7998
33829 New TCP connection: 127.0.0.1:3874
New zoneserver: #5 127.0.0.1:3874
Zoneserver SetConnectInfo: 127.0.0.1:3874: 64.175.242.202:7997
127.0.0.1:3871: TCPConnection::RecvData(): Error: 10054
Removing zoneserver from ip:0.0.0.0 port:0 (:0)
127.0.0.1:3872: TCPConnection::RecvData(): Error: 10054
Removing zoneserver from ip:0.0.0.0 port:0 (:0)
127.0.0.1:3870: TCPConnection::RecvData(): Error: 10054
Removing zoneserver from ip:0.0.0.0 port:0 (64.175.242.202:7999)

The errors at the end show up after zone.exe crashes.

Numtin
08-23-2004, 02:03 AM
per this post http://www.eqemulator.net/forums/viewtopic.php?t=1736 here is the additional info I need to supply:

OS: Windows XP professional
Connection: Public Login server
Comp: 1.8 processor with 512k ram

Firewalls are OFF

Cisyouc
08-23-2004, 05:31 AM
per this post http://www.eqemulator.net/forums/viewtopic.php?t=1736 here is the additional info I need to supply:

OS: Windows XP professional
Connection: Public Login server
Comp: 1.8 processor with 512k ram

Firewalls are OFFI really really hope you mean 512mb not 512kb.

Regardless, try switching all your external IP addresses to 'localhost' and unlocking the server. So instead of:
Computer -> Internet -> Login (logging in)
Server -> Internet -> Computer (logged in)

It will be
Computer -> Internet -> Login
Server -> Computer

Numtin
08-23-2004, 08:26 AM
Lol, yes. I meant 512meg. It was early when I wrote this and I didn't have my coffee yet.

Thanks for the response, I'll try that out and let you know if it worked or not.

Numtin
08-23-2004, 08:38 AM
I've changed everything in the boot5zone.bat to localhost and unlocked the server (value is 'false') and it did the exact same thing. Crashed the zone.exe files.

I'm assuming you meant to change external IP's on the boot5zones.bat file only since I still need the external IP address on the loginserver.ini

Cisyouc
08-23-2004, 08:45 AM
I've changed everything in the boot5zone.bat to localhost and unlocked the server (value is 'false') and it did the exact same thing. Crashed the zone.exe files.

I'm assuming you meant to change external IP's on the boot5zones.bat file only since I still need the external IP address on the loginserver.iniWrong. Change EVERY external IP to localhost.

-edit-
If after you do that, and it doesn't work, try:
127.0.0.1

kidder
08-23-2004, 09:40 AM
After you change all of your boot5zones.bat IP address to localhost, or 127.0.0.1, or the internal IP of your world server. (doing any one of those 3 things should give the same end results)

Try this in your loginserver.ini:

[LoginServer]
loginserver=eqemulator.net
loginport=5995
worldname=Longbow [test]
worldaddress=adsl-64-175-242-202.dsl.sntc01.pacbell.net
locked=false

Above you are replacing your external IP address with the URL equivalent.


I would give this a try...there is another thread relating to a similar problem with I think the same solution, but we are waiting on a test on that one. [/quote]

Numtin
08-23-2004, 10:42 AM
Wrong. Change EVERY external IP to localhost.

-edit-
If after you do that, and it doesn't work, try:
127.0.0.1

Tried that and didn't work..

I'm not familiar with using the URL equivalent. Is there a way to find out what my equivalent is?

Cisyouc
08-23-2004, 11:41 AM
Wrong. Change EVERY external IP to localhost.

-edit-
If after you do that, and it doesn't work, try:
127.0.0.1

Tried that and didn't work..

I'm not familiar with using the URL equivalent. Is there a way to find out what my equivalent is?mm, if you don't have a static IP address I suggest a No-IP (http://www.no-ip.com) domain, for free.

Numtin
08-23-2004, 10:41 PM
I went to no-ip and set up my account and settings and then switched all my settings in the boot5zones.bat and loginserver.ini since I do run on a dynamic ip. I'm still getting the same error "zone.exe has encountered a problem and needs to close".

I think I may dump everything and start again from scratch and see if that does anything. Couldn't hurt at this point.

I appreciate the input and advice though, at least I don't have to manually switch the ip in the settings each time I log on. Thanks for the tip. I'll let you know how dumping and starting from scratch works.

Numtin
08-24-2004, 02:36 AM
Well, starting from scratch only temporarily fixed the problem. I was able to get into the game but only 1 zone (halas). Trying to zone only crashes the other servers so I figured I would try an in-game bootup of the zone before attempting to zone, only to find that it crashes as well.

Not sure where to go from this point. Any suggestions?

kidder
08-24-2004, 02:56 AM
Does your boot5zones.bat look like this now?

if NOT exist spells_us.txt goto NOSPELL

start zone . localhost 7995 localhost
start zone . localhost 7996 localhost
start zone . localhost 7997 localhost
start zone . localhost 7998 localhost
start zone . localhost 7999 localhost
exit
cls


Only one zone works? If you are behind a firewall, do you have all those ports 7995-7999 forwarding to your server(localhost)? Not sure that it would cause zone.exe to blow up though... It sounds like you only have one of those ports open...7995 maybe?

Darkwaters
08-24-2004, 08:17 AM
Back from the hospital and really fuzzy after surgery so bare with me. I'd like you to try this for me for kicks and grins. After you've reloaded and actually created the character and logged out, this is the point your at this moment.
Do This:
Open MySQL-Front if you have it and look at your accounts table. Just answer for me if your password was saved into the database meaning you can literally see it, please.
After a fresh install and using that db, I ended up manually going in and changing the status and password after creating a character. I did notice that after creating a character the first time it does not keep the password, which when you zone IMHO would crash you quickly.
Just two cents, and I'm on vicodin and a few others atm.
Darkwaters

Cisyouc
08-24-2004, 08:33 AM
This actually happened to me once with cshome. What happened is I had my guilds set up funky (I think that was the issue anyway) and when I deleted the character and made a new one it was fine.

Darkwaters
08-24-2004, 08:35 AM
yeah I skipped the add account through mysql and when I logged in and created a character it actually saved the signon name but not the password or status. took me a couple hours to track the booger down after that. =))
Darkwaters

Numtin
08-24-2004, 10:22 AM
Does your boot5zones.bat look like this now?

Quote:
if NOT exist spells_us.txt goto NOSPELL

start zone . localhost 7995 localhost
start zone . localhost 7996 localhost
start zone . localhost 7997 localhost
start zone . localhost 7998 localhost
start zone . localhost 7999 localhost
exit
cls


Yes, it looks exactly like this. I've also tried 127.0.0.1 but that didn't work either.

I opened MySQL Front and looked at the account table. Sure enough, the password was not there. I manually entered the password and tried again but that didn't seem to help. I'm still crashing.

The other thing I've noticed is when Halas does boot up, it's on port 7995 ONLY. The other zones trying to boot up are on ports 7996-7999. Firewalls are off but would I still need to forward them? If so, I'll have to do some research to figure out how since I've never done that before.

Numtin
08-24-2004, 11:59 AM
Ok, I ran a few tests. I set 7995 as static zone for Halas and it booted up. I then ran a few other static zones, some booted, some did not.

The ports seem to be opened just fine since I can static boot Halas on any of the ports 7995-7999. However, I can not pre-boot the zone from within the game before zoning, it'll crash the zone server.

It seems that running more than a single zone server is EXTREMELY memory intensive. With 512 ram I wouldn't think it would max out available memory but it does. I did two static zones on boot5zones.bat (and no others) and I got a 'virtual memory is dangerously low' message. My virtual memory is managed by my computer.

Are servers really that memory intensive? Or is there something apparently wrong? Keep in mind, only MySQL, world.exe and two zone servers are taking up my available memory. Anything more than two zone servers and I'm pushing it. This is all happening even BEFORE I start emu to log into my server.

Darkwaters
08-25-2004, 08:03 AM
How bout telling me what you have running in your system tray. Norton Anti-virus, Instant Messengers, Operating System troubleshooting tools, etc?

If its not volume control, the clock, possibly your network connectioin, you probably don't need it running - except possibly your software firewall (<grin> which would need to run).

Just try temporarily shutting a few of those down and see if it helps. Maybe page-file needs to be increased. Really just need to know whats running in systray and taskmon while running EQEmu.

Lookin forward to the reply,
Darkwaters

Numtin
08-25-2004, 08:34 AM
Only thing in systray is mysql, volume control and internet connection management tool. I do have an antivirus installed but I disabled that for the testing as well as when I play emu.

I even did a complete restart of the system making sure the antivirus was set not to startup but that didn't help.

The taskman pretty much shows the same stuff with the exception of startup system services. My explorer.exe seems to be taking up quite a bit of memory along with cvshost.exe. It still only shows a 1-2% mem usage though.

I don't use IM's simply because they remind me of internet popups and they drive me crazy. :?

Darkwaters
08-25-2004, 08:35 AM
Do you run a cvs host?
cuz it really shouldn't autostart unless you are.
Darkwaters

Derision
08-25-2004, 09:38 AM
Do you run a cvs host?
cuz it really shouldn't autostart unless you are.
Darkwaters

He probably means svchost.exe ... XP runs a few background services with that name.

Numtin
08-25-2004, 10:43 AM
Aye, that's it. svchost.exe is what's running. :oops:

Darkwaters
08-25-2004, 10:57 AM
Got it TY Derision. =) Nice catch.
I'm finishing dinner then I'll tinker around with a few ideas.
Darkwaters