EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   Zoning issue possibly fixed (need some coding help) (https://www.eqemulator.org/forums/showthread.php?t=11427)

screamingogre 01-18-2004 08:09 AM

Zoning issue possibly fixed (need some coding help)
 
I've been having some zoning issues on my server I setup and have tracked the problem down to a call in Client.cpp on the world server. See below error message I receive.

[Start Message]

[Error] Zone not found in database zone_id=0, moveing char to arena character:Gimlii

[End Message]

In doing some code snooping I found that there is a call in Zone which loads the zoning characters information into the database. In world I found that the call is being made to grab that data back. It looks to be a timing issue between zone.exe and world.exe I've watched the database while the zoning is occuring and see that the Character table nulls the ZoneID and Zonename fields until zone has finished loaded the data. World on the other hand is grabbing this data while its nulled. Hence the zone_id=0. I'm not much of a hard core coder so I can't fix this on my own. I was wondering if there is a built in C++ function to pause or wait so many seconds? I know theres the sleep() function but that halts all window activity which could hose the program or the client. The other option would be to make the zone data dump to the DB faster. Any help would be appreciated.

Thanks
**SO

wize_one 01-23-2004 07:13 AM

bump.

Mattmeck this been fiexed and avil to download?

mattmeck 01-23-2004 07:22 AM

Got me, if it isnt in the newest binariens then i would assume no :shock:

wize_one 01-23-2004 07:29 AM

ahh k..guess thats a no then..8(

maybe i should have asked shawn319...any new compile's with the zone_id=0 error fixed?

screamingogre 01-23-2004 11:31 AM

I fixed it myself by dusting off my old C books and reading a bit. See this thread where I posted the code.

http://www.eqemulator.net/forums/viewtopic.php?t=12522

**SO


All times are GMT -4. The time now is 09:44 PM.

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