Jump to content

Titles taken/lost and offline players?

Pending 2.2.4

BB1984
BB1984

Posted

I've been seeing strange behavior since the beginning of May on two different servers with leaderboard/title changes . The chat broadcast somewhat frequently says that a player has taken a title but the stats do not agree, and it's not usually even close between the 1st and the 2nd place player who supposedly gained the title, where I might expect to see an incorrect cached result for a short time. I haven't been able to reproduce it consistently but there does seem to be an issue if the leader in a category has been offline for a couple of days -- then it's almost as if that player's stats are ignored, even though they're still listed on the leaderboard. When they log back in and do an activity that relates to the title, they regain it. But I've also seen it with two players who are online at the same time. Not easy to explain because it's inconsistent other than the title changes should not be happening. Any idea what might cause something like this?

  • Administrator
Steenamaroo

Posted (edited)

Hey,
Not sure what could be causing that but I'll have a dig.
The decision to issue/swap titles doesn't even reference the main data collection - Instead I maintain a separate collection just for title holders, Category / Name/Score.
so every time someone gets a PVPKill, for example, it checks that person's total against the current PVPKills title holder's score,
and if it's higher it updates the title holders' record and does the change title code.

I guess something must be wrong if that's the behaviour you're seeing, but I can't spot it...at least not yet.

Edited by Steenamaroo
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.