generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » Suggestions & Ideas
Home Search
 

Re: Data Persistence Method

Previous Thread :: Next Thread 
TheBoyOnTheBlock is not online. TheBoyOnTheBlock
Joined: 09 Nov 2013
Total Posts: 341
02 Jul 2014 07:41 AM
if player.DataReady then
player:DeleteData()
end

There needs to be a method to delete all data persistence for a player, or at least a method that lets you choose what data you need to delete, like:

if player.DataReady then
player:DeleteData(stat.Value)
end
Report Abuse
ThaneDev is not online. ThaneDev
Joined: 08 Apr 2009
Total Posts: 1600
02 Jul 2014 08:10 AM
Yea, and if they do it for DataPersistance, which they most likely wont, because it's outdated, and they want you to use DataStores. Then they'd do it for DataStores.
Report Abuse
TheBoyOnTheBlock is not online. TheBoyOnTheBlock
Joined: 09 Nov 2013
Total Posts: 341
02 Jul 2014 10:24 AM
Data Persistence isn't really outdated. DataStores can do things Data Persistence won't do, and Data persistence can do things DataStore can't do.
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
02 Jul 2014 12:10 PM
@TheBoy,
And what exactly can data persistence do that datastores cannot?

Report Abuse
samthemagicman is not online. samthemagicman
Joined: 20 Mar 2011
Total Posts: 1225
02 Jul 2014 12:14 PM
This would be a good idea..
But can't you just over-wright the save and save nil? Or will there be an error for that.
Report Abuse
TheBoyOnTheBlock is not online. TheBoyOnTheBlock
Joined: 09 Nov 2013
Total Posts: 341
02 Jul 2014 12:48 PM
@data Save and load Instances.
Report Abuse
TheBoyOnTheBlock is not online. TheBoyOnTheBlock
Joined: 09 Nov 2013
Total Posts: 341
02 Jul 2014 01:02 PM
Bump
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
02 Jul 2014 01:36 PM
@TheBoy,
You can save and load instances with a datastore aswell, just not directly.
Report Abuse
aka303 is not online. aka303
Joined: 25 May 2012
Total Posts: 2063
02 Jul 2014 01:46 PM
Yes, it is just more complicated to load and save instances with DataStore. also, you could simply save a key as "nil."

"I'm sorry" and "my bad" mean the same thing. Except at funerals.
Report Abuse
Hydrablox is not online. Hydrablox
Joined: 03 Nov 2009
Total Posts: 1874
02 Jul 2014 01:49 PM
Yeah you can encode these instances but they should allow us to save instances as well, because you can reach that 2^16 limit very easily when working with a lot of instances.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image