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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-25-2004, 08:14 AM
toolh3
Sarnak
 
Join Date: Jul 2003
Posts: 35
Default

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.
Reply With Quote
 


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 09:18 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