Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2008, 05:37 PM
Rocker8956
Hill Giant
 
Join Date: Sep 2007
Posts: 117
Default Fix: Instancing zones with ID above 255

This should fix the problem people are having were any zone with an ID above 255 cannot be instanced. Well, it is instanced but not the right zone since the number raps back around after 255

Database.cpp line 1235 (inside GetZoneName)

Change

Code:
int8 tmp = atoi(row[0]);
To

Code:
int32 tmp = atoi(row[0]);
uint16 should work just fine however zoneid is declared as a int32 throughout a lot of the code so
Reply With Quote
Reply


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 01:21 AM.


 

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