Hello everyone,
I have a leaderboard named “legendary3” in my Nakama setup. One of my players, with the ID “35530999-1b50-42d1-b478-ce78e5d362fa”, is encountering an inconsistency. This player is ranked 3rd when viewing the top 150, but when viewing their own record, they appear as number 12.
Here are the request and responses for more context:
RPC: ListLeaderboardRecords
Request payload:
{
"leaderboardId": "legendary3",
"ownerIds": [
"35530999-1b50-42d1-b478-ce78e5d362fa"
],
"limit": 1
}
Response body:
{
"records": [
{
"leaderboardId": "legendary3",
"ownerId": "b78031ee-e6e7-446f-8d27-34800c8b432e",
"score": "2630",
"numScore": 236,
"metadata": "{}",
"createTime": "2023-12-31T15:30:13Z",
"updateTime": "2024-01-19T17:34:28Z",
"rank": "1",
"maxNumScore": 1000000
}
],
"ownerRecords": [
{
"leaderboardId": "legendary3",
"ownerId": "35530999-1b50-42d1-b478-ce78e5d362fa",
"score": "1173",
"numScore": 119,
"metadata": "{}",
"createTime": "2023-12-31T15:52:21Z",
"updateTime": "2024-01-19T15:45:24Z",
"rank": "13", // Note the discrepancy here
"maxNumScore": 1000000
}
],
"nextCursor": "_4B_AwEBG2xlYWRlcmJvYXJkUmVjb3JkTGlzdEN1cnNvcgH_gAABBwEGSXNOZXh0AQIAAQ1MZWFkZXJib2FyZElkAQwAAQpFeHBpcnlUaW1lAQQAAQVTY29yZQEEAAEIU3Vic2NvcmUBBAABB093bmVySWQBDAABBFJhbmsBBAAAAD3_gAEBAQpsZWdlbmRhcnkzAv4UjAIkYjc4MDMxZWUtZTZlNy00NDZmLThkMjctMzQ4MDBjOGI0MzJlAQIA",
"rankCount": "11851"
}
It appears that while this player sees themselves as rank 3 in the overall leaderboard, their own record indicates they are rank 13. This discrepancy needs to be addressed.
Please feel free to share your insights or suggest any potential solutions.