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 » Game Creation and Development » Scripters
Home Search
 

Re: Datastorage

Previous Thread :: Next Thread 
dj7679 is not online. dj7679
Joined: 11 Jun 2013
Total Posts: 307
29 Oct 2017 12:44 PM
I'm kinda new to datastorage and a little bit confused. Okay so here's my question how would I save a player's data when stuff like the game crash.

In the wiki when it teaches you about data storage(saving the players data) it says when things like the game crash happen it's good to have an auto save feature. The wiki's example was an auto save that saves every 60 second but what if the game just autosaved then the player obtain new data and before the game could autosave again it crashes. How would I go about this?



*If I'm over thinking this please tell because I still don't have a good understanding of data storage really works.
Report Abuse
LuaDesign is not online. LuaDesign
Joined: 24 May 2010
Total Posts: 1336
29 Oct 2017 12:45 PM
When a players game crashes you don't need to worry. The saving will happen on the ROBLOX server not the client. Meaning the event for when a player leaves will be existent and run like usual when saving data.


Report Abuse
dj7679 is not online. dj7679
Joined: 11 Jun 2013
Total Posts: 307
29 Oct 2017 12:50 PM
@LuaDesign Thank You but why did the wiki include that in the datastorage tutorial?

http://wiki.roblox.com/index.php?title=Saving_Player_Data
Report Abuse
LuaDesign is not online. LuaDesign
Joined: 24 May 2010
Total Posts: 1336
29 Oct 2017 12:55 PM
"Lastly, we want to make sure our system can handle unfortunate events like game crashes. These should be infrequent, but we definitely don't want players to lose any of their progress!"

I guess I didn't bother reading it. I would recommend you save data every so often then.


Report Abuse
dj7679 is not online. dj7679
Joined: 11 Jun 2013
Total Posts: 307
29 Oct 2017 01:01 PM
@LuaDesign so that's just a recommended safety step?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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