Payout

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: Wabbitface, Jocy, steeffeen, NADEO

User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Payout

Post by chco »

It seems that getServer()->getRankingManager()->getRankings() does not empty its values after map ends.
It collects the callback rankings from the server, but does not clean it after each map played (royal).
So if one person makes 150 points on a map and then leaves.. He still is the #1 the next map if no-one has more than 150 points.
Image
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Payout

Post by chco »

Cheers!
Image
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Payout

Post by chco »

Thanks!
I've setup our server with your code. Made a new version of the plugin (that uses the ranking manager) that can run in test mode. I'll let it run for a while and see if it did the job.

Cheers,
Charly
Image
Post Reply

Return to “ManiaControl”

Who is online

Users browsing this forum: No registered users and 1 guest