Quote:
Looking at the database log it exactly matches what the vendor said he'd give you in all cases, and that is the amount sent to the AddMoneyToPP function. Look in the debug zone log and see if you see the money being logged. The line would start with "Client::AddMoneyToPP()" and the values would show what the server believes your character has which should agree with the client unless there's something wrong when sending it. I didn't see a # command that would list your money so it would seem like that log is the only way you'll easily be able to tell if what you actually have on the server is the same as what the client is showing you. |
Quote:
Quote:
By the way, thanks for taking a look at this guys, I appreciate it :) |
Well, the answer is that Client::AddMoneyToPP() has a bug in it. It's hard to see because it's hideously formatted and a bizarre way to split the digits up, but whatever.
Code:
Index: client.cpp If I were the truly ambitious sort I'd replace that entire function with something like this: Code:
void Client::AddMoneyToPP(uint64 copper, bool updateclient) { |
Awesome, all fixed. Thanks for the help!
|
Damn..He beat me to it! Lol!
|
All times are GMT -4. The time now is 11:01 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.