EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   any kind souls? (https://www.eqemulator.org/forums/showthread.php?t=11549)

wize_one 01-25-2004 05:56 AM

any kind souls?
 
any kind soul have a copy of dr3 with perl compiled with the zone_id=0 bug fixed? really would like to be able to work on my server without crashing every time i zone.

mattmeck 01-25-2004 06:05 AM

If someone has this and needs hosting for it I will host it.

toolh3 01-25-2004 08:14 AM

Here's my compiled version which uses a variation of screamingogre's fix for the zone_id=0 problem. You can get the world.exe file here. The only difference I made is that it waits up to 20 seconds to get a zone_id that's not equal to zero rather than running through a counter. Here is the code incase anyone is interested.

In client.cpp in the World project replace the line
Code:

charid = database.GetCharacterInfo(char_name, &tmpaccid, &zoneID);
with this:

Code:

__time64_t curtime1,curtime2;
_time64(&curtime1);               
do
{                               
  charid = database.GetCharacterInfo(char_name, &tmpaccid, &zoneID);                               
  _time64(&curtime2);
}while(curtime2 - curtime1 <= 20 && zoneID == 0);

Nothing fancy, just a quick fix for now so we can zone without locking up.

Edit: Removed link as the file has been removed. Look my post later in this thread.

toolh3 01-25-2004 08:29 AM

By the way, I would only suggest using this world.exe if you are just running locally. If I understand the code correctly, that do while loop will be executed every time someone zones. So if you've got 2 people zoning and the first one ends up timing out (20 secs later and the zone_id still equals 0), then the second person has to wait 20 seconds to zone. Am I thinking correctly about this? I've just starting looking at the code today so I'm not exactly sure how it is working.

wize_one 01-25-2004 08:32 AM

it works for moveing arround and getting a few things setup till a official fix is avil..thanks much.. if ya got a compile done with the perl questing included post it up..8)

toolh3 01-25-2004 08:41 AM

I just took the dr3 cvs source and that's what I used. I don't know anything about the perl stuff. Is that in DR3?

wize_one 01-25-2004 08:43 AM

it the new questing system.. shawn had a version with dr2, not sure if it got scraped already or not

toolh3 01-25-2004 08:47 AM

I'm looking into it right now. It seems I need to get perl and then change some build settings. It looks like it just deals with zone.exe.

wize_one 01-25-2004 08:53 AM

cools cant wait

toolh3 01-25-2004 10:05 AM

Ok wize and I tested a few things to make sure quests are working before I posted the link to the binaries. The file is here.
This has a world.exe that has a temp fix for the zone_id bug and a zone.exe with perl quest support. I included EMuShareMem.dll just incase. It may not be needed. No support for these by the way! Just trying to help the few of those out there with some problems.


All times are GMT -4. The time now is 08:27 AM.

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