[BUG] GetSortedAsync Data Limit At 9.223 Quintillion

I was watching this Video and realized that something is wrong with the Leaderboard so I went into both of my games and check

Images

Image from Super Power Training Simulator


Image from Lifting Simulator

A lot of players are stuck at 9.223Qi so I decided to test further

First I made my self have higher stats than 9.223Qi

As seen in the image below;

  • Total Muscle 1.1 Sx
  • Current Muscle 100 Qi
  • Max Health 9.951 No

(Quintillion, 18 Zeros or 1,000,000,000,000,000,000)
(Sextillion, 21 Zeros or 1,000,000,000,000,000,000,000)
(Nonillion, 30 Zeros or 1,000,000,000,000,000,000,000,000,000,000)

Then I Saved ALL of my Stats to DataStore then rejoin the Game

As you can see all of my Data is loaded correctly
(My Coins are math.huge or INF)

But I still have 9.223Qi on the Leaderboard which is incorrect

I also haven’t been getting any errors for trying to save larger values than 9.223 Quintillion so I am sure that it’s not an issue.

Quintillion has only 18 Zeros or 1,000,000,000,000,000,000 | Source

Which shouldn’t be a problem for GetSortedAsync to retrieve from OrderedDataStore


This really seems like a bug since DataStore can store math.huge and I don’t see why it would be a problem for OrderedDataStore either it doesn’t make any sense.

5 Likes

Well, my friend, you used all 64-bits. There is no way for us to sort arbitrary integers of any length.

This will explain it better than I can:
https://en.wikipedia.org/wiki/9,223,372,036,854,775,807

16 Likes

As stated above, it’s really just a technical limitation. It may be possible to host your own data services that handle this extreme case, but I doubt that it will be supported by Roblox’s sorted datastores any time soon.

You may want to look into significantly decreasing the scale of progression, or implementing a type of prestige system system for players who cap out.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.