Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Authd max cash add crash

Elite Diviner
Joined
Jan 5, 2017
Messages
475
Reaction score
345
I've recently run into a new error, and would like suggestions on how to avoid it down the road. . Anytime more cubi is added, authd panics and stops allowing all accounts to login... 2021-03-26 00:44:43 debian gamedbd: err : GetAddCashSN,userid=224,maxinum cash_add exceeded,cash_add=2124537392,cash_total=2117457267 Also, how can I remove the cubi...? I tried using the callcash -9999 method, but the request just sits in usecashnow table and authd ignores it...
 
Newbie Spellweaver
Joined
Dec 14, 2019
Messages
30
Reaction score
225
I bet the cubi adding function in gamedbd looks like so:

cubi_add(player, cubi_to_add) {
if (current_cubi + cubi_to_add < 0) {
print error message;
return error;
}

proceed adding cubi as normal
return 0;
}

You could try modifying that function not to return error, but set cubi_to_add = 0 and proceed, or just return 0 (no error). This could prevent the crash and should be easy to do even without having source code.
 
Upvote 0
Back
Top