Money bug fix
Code:
void Client::AddMoneyToPP(uint32 copper,bool updateclient){ |
What was the original bug Yoda? Miscalculation of money?
|
merchant robering the client ... i think .
|
I think it's the bug where your money gets recreated on all the sub levels when you zone after selling something. May not always happen, but you would at least occasionally end up with 293p 293xg 293xxs 293xxxc if you sold about 293p worth of gear as I recall, might have also happened when you altered your money denomination but didn't bank it... I can't recall exactly
|
Ah, when converting, the converted amount was never deducted from the original amount...
101 copper should be 101/1000 = 0 by integer division, then 101/100 = 1, so 1 gold, so new amount is now 101-100 = 1 remainder, 1 /10 = 0 silver, then +1 copper, so 101 copper = 1 gold 1 copper. Good catch on that Yoda. Just merged the fix in. |
All times are GMT -4. The time now is 06:55 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.