#I broke my Datastore Data.

1 messages · Page 1 of 1 (latest)

raven mango
#

is there any plugin to set the datastore data to a string??? or revert previous data??
i use the profilestore module script by the way.

ERRORS:

ServerScriptService.Libraries.ProfileStore:1515: attempt to perform arithmetic (add) on nil and number - Server - ProfileStore:1515
18:40:27.268 Stack Begin - Studio
18:40:27.268 Script 'ServerScriptService.Libraries.ProfileStore', Line 1515 - function EditProfile - Studio - ProfileStore:1515
18:40:27.268 Script 'ServerScriptService.Libraries.ProfileStore', Line 580 - Studio - ProfileStore:580
18:40:27.268 Stack End - Studio
18:40:27.277 Transform function error ServerScriptService.Libraries.ProfileStore:1515: attempt to perform arithmetic (add) on nil and number - Studio
18:40:27.283 [ProfileStore]: DataStore API error (STORE:Test; KEY:Player_5650688736) - Undefined error - Server - ProfileStore:425
18:40:28.284 ServerScriptService.Libraries.ProfileStore:1515: attempt to perform arithmetic (add) on nil and number - Server - ProfileStore:1515
18:40:28.285 Stack Begin - Studio
18:40:28.285 Script 'ServerScriptService.Libraries.ProfileStore', Line 1515 - function EditProfile - Studio - ProfileStore:1515
18:40:28.285 Script 'ServerScriptService.Libraries.ProfileStore', Line 580 - Studio - ProfileStore:580
18:40:28.285 Stack End - Studio
18:40:28.285 Transform function error ServerScriptService.Libraries.ProfileStore:1515: attempt to perform arithmetic (add) on nil and
and it keeps going

rain stone
#

i dont think reverting data is going to fix profilestore

#

maybe look into some of those errors and see whats actually going on and what "undefined error" means

raven mango
#

i forgot to mention..

#

is there any way to modify it?

rain stone
#

lol

#

coz if what you're saying is true, where you've corrupted some live player's data hehe you're in for a world of pain

#

so basically because this happened, from now until your game doesn't exist anymore, you're going to need a migrator in there that checks the version of the player's data and reloads an older version if it's corrupted and meets timestamp

#

and profilestore does not have that shit built-in hehe

raven mango
#

no like it happened only for my roblox studio data

hexed orbitBOT
#

studio** You are now Level 1! **studio

rain stone
#

oh if its just you then well you're in luck, roblox keeps version history of datastore data so you can rollback with a bit of work but not too much 👍

#

or just open studio and datastore:setasync etc you know the drill and just copy+paste it in a simple little script that you run once

raven mango
#

oh thx

raven mango
#

i looked at the documentation of profilestore and found a script that sets the data to the previous data, i copied it, modified some parts so it only affects me, but it doesnt work...

rain stone
#

they don't understand how to manually call setasync with a copy of the data they want

#

that's not a problem with profilestore, that's just skill issue

raven mango
#

wait cant i just copy the place

hexed orbitBOT
#

studio** You are now Level 2! **studio

raven mango
#

to a new game