Should I

08/08/2009 20:15 killermickle#1
Should I change all my silvers values to a ulong instead of uint?
If anyone gets more than 4.something bil they will die a horrible death...

I know the ulong would use twice the memory but then gold wouldnt be an issue.

Or would making 1b the max the best way to go? then take off 500m and give them a moneybag or something
08/08/2009 20:24 Kiyono#2
You can't be there 24/7 to see if someone reached the limit lol
08/08/2009 20:33 killermickle#3
Quote:
Originally Posted by Kiyono View Post
You can't be there 24/7 to see if someone reached the limit lol
Thats the whole point of this thread rofl.
08/08/2009 20:51 _tao4229_#4
Money is only 32bit in the character info packet anyways.
Nobody should have that much cash.
08/08/2009 20:56 killermickle#5
Quote:
Originally Posted by _tao4229_ View Post
Money is only 32bit in the character info packet anyways.
Nobody should have that much cash.
After a while im sure some peopel will have 4b, CPs are 100k... one mob drops 25k cp sort of xD
08/08/2009 21:17 samehvan#6
the client it self has the same definition so even if u changed the source type the client still has it's type so u need to keep it like that or change it in the client :p ,
anyway u can solve that by adding an extra function that works when adding more money to the inv and if it will be more than 1b pack them and add any new item holding that value , or something similar
08/08/2009 21:19 killermickle#7
Quote:
Originally Posted by samehvan View Post
the client it self has the same definition so even if u changed the source type the client still has it's type so u need to keep it like that or change it in the client :p ,
anyway u can solve that by adding an extra function that works when adding more money to the inv and if it will be more than 1b pack them and add any new item holding that value , or something similar
Yeah thats what i said on the third one xD
08/08/2009 21:54 CoAttack#8
just for moneybags check the item be like

if (Silvers + MyChar.Silvers >= 800m)
return;