Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-05-2003, 11:27 PM
zebranski
Fire Beetle
 
Join Date: Mar 2003
Posts: 3
Default zone.exe crash on server startup can be easily fixed

I saw many people complaining about ZONE.EXE crash during server startup (i had same problem). I looked up into sources and discovered that this problem may occur because most people use latest version of MySQL (i use 3.23.54) which probably behaves differently from older versions.
Current version of MySQL returns 1 row of data (with NULL value) for "select max" query even if table is empty, this causes code in loottables.cpp to crash.
Here:

line 42:
max_loottable = atoi(row[0]);
i've changed to
if (row[0] != 0) max_loottable = atoi(row[0]);

same at line 60:
max_lootdrop = atoi(row[0]);
changed to
if (row[0] != 0) max_lootdrop = atoi(row[0]);

Maybe this problem is already fixed, but i'm letting you know just in case....

NOTE: Still, i could not make the game itself to work, zone.exe crashes when i finish character creation and enter the area itself. This is, probably, because i have latest EQ patch...
Is it possible to get an EQEMU compatible game version somewhere? because i dont have a game itself... i downloaded eqfull from SONY, but it seems unplayable without patching and if i patch, it still wont work because of incompatibility with EQEMU.
I used EQEMUPatcher, but, still, no results...
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 07:37 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