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

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 07-31-2011, 12:26 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

You would also need to change the cast in line 919 in sharededb.cpp

Code:
item.StackSize = (uint8)atoi(row[ItemField::stacksize]);
There may be other places, but that one was obvious.

Like I said earlier, the reason you see 244 is that you have it set to 500 in the database and 500 % 256 = 244. If it was 600 in the DB you'd see 88 in game, and if it was 400 in the DB you'd see 144 in game. Nothing unusual about it, just a number being truncated to fit a variable.
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:49 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