Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 06-01-2009, 09:02 AM
ndnet
Hill Giant
 
Join Date: Oct 2003
Posts: 105
Default

Believe we got this fixed.

In common/shareddb.cpp: SaveInventory -

The query builder sprintf format references %lu, long unsigned integers. Above this code the array of augments is init'd as uint32. On a 32-bit system this is correct, but on a 64-bit system it appears to be giving overflows, resulting in the database getting filled with the max value for the column (default is 0 so it's not just spewing nulls).

Casting the augment item IDs to (unsigned long) in the MakeAnyLenString query build results in correct behavior. We may need to look further into our defined basic datatypes and more closely at the compiler warnings (this was one of them) to ensure the trunk operates on both architectures equally.
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 11:14 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3