Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Data Stores Being Throttled. What to do?

Asked by 6 years ago

Ok so im scripting a game with around 400 players right now. There is constantly data being lost because its being throttled. Im not sure why this is happening. Get async and set asyncs are only used when the player leaves and joins and an autosave every 35 minutes.

0
How did you get 400 players.... Decimaprism 65 — 6y
0
Hes lieing; check his roblox profile. H4X0MSYT 536 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

1) Don't lie, if you tell something like that we search if what you say is true

2) Throttled isn't an error it's when a scripter doesn't know how to use datastore properly read about datastore uses here

3) If you do want to use autosave, make it random for every player from 30 seconds to 5 minutes, if you save everything at the same time you will lose a lot of data, I recommend using math.random

0
Im codeving for it Wafflecow321 457 — 6y
0
The game is Roblox Battle Royale by IJUSTWASTEDMONEY Wafflecow321 457 — 6y
0
Also I do that and since theres around 20 players per game that means there can be 800 asyncs per minute, which is plenty for what my script is doing. Wafflecow321 457 — 6y
0
Its fixed I had my repeat in case of failure script messed up. Also doing random 30 seconds to 5 minutes is probably a bad idea bcuz every player could end up saving every 5 second. Wafflecow321 457 — 6y
Ad

Answer this question