iHin
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 407 |
|
|
| 05 Apr 2015 04:30 PM |
I have successfully made a DataStore Script and I have checked to make sure my values exist with Crazyman32's DataStore Editor. However, I want to know how to interpret the data (get the data via table, etc).
I've been trying to use GetOrderedDataStore and GetDataStore and GetGlobalDataStore and then printing what it returns and nothing works. (I join an actual server of my place to look and see if it prints)
Any suggestions? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 05 Apr 2015 04:32 PM |
Learn to script and stop using other peoples noob helpers.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
iHin
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 407 |
|
| |
|
iHin
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 407 |
|
| |
|
elfoxy
|
  |
| Joined: 26 Feb 2010 |
| Total Posts: 19662 |
|
| |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 05 Apr 2015 05:45 PM |
You can only do something like that with ODS, learn how to script to figure out how to do it.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 05 Apr 2015 05:50 PM |
@chimmihc, out. Now.
@OP, post your scripts (saving/loading). |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 05 Apr 2015 05:56 PM |
@Trioxide
No, I have done nothing offensive, hateful, or abusive.
If you consider giving advice bad then GTFO.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 05 Apr 2015 06:17 PM |
| "Learn to script and stop using other peoples noob helpers." |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2015 06:21 PM |
@chim GTFO, oh and As an old poster on the once was true Scripters forums, I ask you not to be a ... how you say, bickdag on a legitimate advanced lua scripting question in this recently merged forum. I know, I've seen some of the "plz script for me i b a dumb pearson" crap, but this is something worthy of help on from the older Scripters forum. Now, let's ask nice.
@OP Post the script please. It would be quite helpful. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 05 Apr 2015 07:40 PM |
"GTFO, oh and As an old poster on the once was true Scripters forums, I ask you not to be a ... how you say, bickdag on a legitimate advanced lua scripting question in this recently merged forum. I know, I've seen some of the "plz script for me i b a dumb pearson" crap, but this is something worthy of help on from the older Scripters forum. Now, let's ask nice."
"As an old poster on the once was true Scripters forums"
So you admit to being an elitist troll?
Datastores are not "advanced lua scripting", in fact you will find that they are a very simple part of RBX.Lua.
Can you do me favor and GTFO?
Considering I'm one of the most helping people on this sub-forum you sound pretty stupid.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
iHin
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 407 |
|
| |
|
Tuneable
|
  |
| Joined: 16 Feb 2013 |
| Total Posts: 2932 |
|
|
| 07 Apr 2015 07:53 PM |
local dataStore = game:GetService("DataStoreService"):GetDataStore(Name)
This part is the data store itself, which has several functions including
dataStore.GetAsync dataStore.UpdateAsync dataStore.SetAsync
You can read up on them here. http://wiki.roblox.com/index.php?title=DataStore
Note that these are methods and you are calling them on the object returned by getdatastore. |
|
|
| Report Abuse |
|
|