Data Script Failures?

Hello there,

On one of the games I am working on there is literally something going wrong… The DataStore is just removing random saves… Some people’s reports (it has never happened to me).

User post

I have made 3 scripts yet, all of them were buggy. Currently we are using save by @stravant and the bug is still happening. It could be datastore limit, but I have checked all of them… Also they wouldn’t cause completly removed data.
DataStorage Budget:

Get Async

Update Async

I will post scripts in a roblox place in couple minutes, if it’s neccessary.

Sincerely,
DevKurka

2 Likes

Could you confirm that the saves were actually lost?

2 Likes

Yes I could… Not one play was actually complaining about that and even my friend has lost one…

2 Likes

As far as I know, The PlayerDataStore module can’t possibly hit the request limit (unless the value of PASSIVE_SAVE_FREQUENCY was set to something very low.) and that you have to explicitly pass a third variable to SaveData:Set() in order to set a key’s value to nil.

Could you tell us how you confirmed that data was, in fact, lost?

Huh, I have actually live console, where I can manage player’s save. I didn’t also change this property and I did use SaveData:Set() so… We can check everything actually…

Screenshot of the whole "console"

2 Likes

It say that the guy’s current Pokemon is Mewtwo. So was data actually deleted?

1 Like

Huh, that’s interesting… Let me check…

1 Like

Ok, so actually I have checked it… This seems weird, because this player says that he lost it, but he has got it… But the bug still happens… We had things such as this before:

Summary

image

These actually says that current pokemon is Bulbasaur, but that’s because it is a default pokemon.

1 Like

If you want you can PM me the relevant Save/Load code and I’ll see if I can spot any way that it can go wrong (Though I will publicly shame the particular issue if I find something so that other people don’t repeat the mistake).

4 Likes