question

Giovanni Frigo avatar image
Giovanni Frigo asked

GetLeaderboardAroundPlayer is still inconsistent with tie scores

Hey there!

We're using GetLeaderboardAroundPlayer to get the player placement on a recently closed leaderboard. We use that result to show players a ribbon at the end of a tournament indicating how they ranked on that particular tournament.

As per any other usage of GetLeaderboardAroundPlayer, the results are quite inconsistent when there are players with the same score.

This is especially bad when there are more players with the same score at the top of the leaderboard, because each player with that score will believe they are the tournament winners (Position: 0), while just one is actually awarded with the tournament medal (that we assign to the first player, using Prize Tables).

I'm well aware of the issue GetLeaderboardAroundPlayer has with tie scores (as it is acknowledged in many different posts here on the forums), but I still have 2 questions:

  1. Is there a better way of getting the exact position of a player specifically on an already closed leaderboard?
  2. Alternatively, is there a way to assign prizes to all the players having the same top-score? Right now it seems it's only-rank oriented.

Thanks.

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

In terms of 2 questions you have asked, currently there is no native support for these features. Even though PlayFab has been working on the new version of Leaderboard, we cannot tell the ETA, hence you may use work around solutions to achieve it.

  1. There is no good work around solutions but maybe you can add the timestamp factor to statistic value so that earlier uploader can have higher score.
  2. You may set a one-time use segmentation to categorize the those players, then configure a scheduled task to manually run to grant the rewards.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.