question

max avatar image
max asked

[Client] Request leaderboard position between a certain statistic value range

In our game we have one statistic value that is used for the matchmaking rating (MMR). Ingame we display the players that they're in 1 of 10 leagues depending on their league. When requesting the leaderboard position we naturally get the worldwide position of the player among all other players.

Is it possible ask for the position of the player inside a range? For example our "Gold Pro League" is between 1200 and 1500 MMR. So if the player has 1200 MMR he'd be the last place in the leaderboard (among all others having between 1200 and 1500 MMR and if he has 1500 he'd be first.

This would be very useful for building smaller leaderboard parts that keep our players motivated, even if they currently can't thrive for top of the world.

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

·
brendan avatar image
brendan answered

We plan on adding to our leaderboard system with "bucketized" sets (having a sub-leaderboard of a smaller, more meaningful number of players) later this year. In the short term, no, you would need to either use distinct leaderboards based on how you want to divide the score ranges, if you wanted to have a leaderboards only contain players within a certain score range.

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.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]