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: Datapersistence & Datastore

Previous Thread :: Next Thread 
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:29 PM
No seriously, what the heck is the difference <3?

Is on more efficient and reliable or sumfin?
Report Abuse
robomax11 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
10 May 2015 03:29 PM
pereistence > all


do the siggy wiggy
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:30 PM
Read the wiki???


Jeez kids b lazy
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
10 May 2015 03:31 PM
persistence is easier but ppl dont like it
Report Abuse
robomax11 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
10 May 2015 03:32 PM
sike

datastore >

u can access a player's data without player being their

bigger limits

save tables without rbxlibrary


do the siggy wiggy
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:33 PM
The real reason I made this thread was because I noticed chimmihc had a strong opinion on how to save & store data, thus I made this to troll them into butthurt rage comments.

I failed qq
Report Abuse
hdtv13 is not online. hdtv13
Joined: 18 Sep 2012
Total Posts: 1628
10 May 2015 03:34 PM
CHIM!1111 TEH THREAD IS HERE1111 GET UR BUTT HERE NOW1111

I have skin, potatoes have skin, therefore I'm a potato.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:36 PM
mate he gave you good advice lol
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:36 PM
o & besides that, I think it's stupid that I have to make sure no key names are shared by any other users.

That's a lot more scripting just 2 make sure players can't overwrite another player's data.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:38 PM
Key="user_"..plr.userId

Explain how two keys can ever be the same?
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
10 May 2015 03:39 PM
Data persistence > OP
Data persistence < Datastore


I script -~ chimmihc
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:39 PM
@Long, but bb, if I am saving more than a single value, I hab 2 maik all O' em unique 4 the specified playr

qq^2
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
10 May 2015 03:40 PM
...

Key="user_"..plr.userId

save(key.."Cash",Cash.Value)

What that hard?


I script -~ chimmihc
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:41 PM
Dont know what you're talking about lol

Stats={stat1.Value, stat2.Value)

Datastore:SetAsync(key, Stats)
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:41 PM
I just think it would be EZr to have this work locally to a player so you don't have to have extra long fat key names.

But das jus' moi
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:42 PM
Oh

Facepalm

You're an idiot
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:43 PM
Please leave the forums and ROBLOX forever.
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
10 May 2015 03:43 PM
Mycheeze is still being silly...


"I like to program" - Bosswalrus
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:44 PM
@Long,

What you're saying is I don't have to make multiple keys (with the attached playerID) per each value I want fetched/saved

Key_69_Donut would be all donuts 4 the player with the ID 69
Then I have to make yet another key
Key_69_Keks for all the keks 4 the player with the ID 69

Whereas I don't have 2 add them userIDs if I use Datapersistence
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
10 May 2015 03:47 PM
You are an idiot.

And like he(she?) said you can just save a table with all the values.


I script -~ chimmihc
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
10 May 2015 03:47 PM
And that is a problem why?
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
10 May 2015 03:49 PM
if I use tables I have to decipher what the contents are

type(table[1]) == 'string' 4 days

I dun' know b0wt chu but das a pain

and don't tell me to pcall it you bloody nuisance
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
10 May 2015 04:05 PM
Datapersistence is just a higher level abstraction of datastore for idiots like you who don't know how to use datastores, even though there are some modules out there that make datastores just as simple as datapersistence .
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
10 May 2015 04:06 PM
DataStore is simple to use
Data Persistence is easy to use

DataStore is cross server and cross game in a universe
Data Persistence is limited to the one server

DataStore can save stuff other than per player
Data Persistence is per player

DataStore can be accessed without the player in game
Data Persistence is only available when the player is in game

DataStore has no data limit (well, it does of course, but nothing that we will actually hit)
Data Persistence has a limit on data it can hold

DataStore is more robust and reliable
Data Persistence is unreliable, plus the admins even failed us at one point:

http://blog.roblox.com/2014/05/yesterdays-data-persistence-error-an-explanation/




Useful points mentioned on the blog article:

"A few months ago we introduced Data Stores, which are the highly recommended new method"

"Essentially, Data Persistence is an easy-to-use API built on top of a brittle storage design."

"The Data Store feature is a much more versatile system"

"We don’t want to break old games, but we do want people to move over to using Data Stores. This will help everyone use a more robust system, as well as allow us to concentrate our quality efforts on a single persistence layer."



wiki articles:

http://wiki.roblox.com/index.php?title=Data_Persistence

"Data Persistence is a method of saving data for games so that the data can then be loaded when the player visits the game again. Data Stores were more recently introduced and are more robust than Data Persistence and are now the recommended method of storing player data."

http://wiki.roblox.com/index.php?title=Data_store

"ROBLOX is introducing a new API for storing data called Data Stores which is more powerful and robust than the old Data Persistence system."

http://wiki.roblox.com/index.php?title=API:Class/DataStoreService

"DataStoreService is the service that is responsible for storing data across multiple user created places, and is far more powerful and robust than the old data persistence system."
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