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: Datastore question

Previous Thread :: Next Thread 
AlphaOverflow is not online. AlphaOverflow
Joined: 09 Nov 2016
Total Posts: 592
14 Mar 2017 09:44 PM
So I was wondering if adding a new prefix with userId for every different value that I want to save is the best way to save the data.
Report Abuse
AlphaOverflow is not online. AlphaOverflow
Joined: 09 Nov 2016
Total Posts: 592
15 Mar 2017 06:04 AM
Bump
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
15 Mar 2017 06:26 AM
no.


Report Abuse
AlphaOverflow is not online. AlphaOverflow
Joined: 09 Nov 2016
Total Posts: 592
15 Mar 2017 06:33 AM
Then what is the best way to do it.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
15 Mar 2017 06:38 AM
save player data in a single key using a table

datastore:SetAsync(player.UserId,{money=0,kills=0,deaths=0})


Report Abuse
AlphaOverflow is not online. AlphaOverflow
Joined: 09 Nov 2016
Total Posts: 592
15 Mar 2017 06:43 AM
Ok, I'll try that. But why is this way better. And how big can the table be?
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
15 Mar 2017 06:50 AM
why it is better:
http://wiki.roblox.com/index.php?title=Data_store#Request_limit

how much it can hold (260k string characters)
http://wiki.roblox.com/index.php?title=Data_store#Data_limit


Report Abuse
CommanderGodfrey is not online. CommanderGodfrey
Joined: 24 Oct 2015
Total Posts: 760
15 Mar 2017 07:51 AM
Sending larger data in one request > Numerous requests
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