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
 

Data stores on ROBLOX could be explained a lot easier!

Previous Thread :: Next Thread 
sodaghost13 is not online. sodaghost13
Joined: 18 Apr 2014
Total Posts: 49
12 May 2017 06:56 PM
Hello, I've been stuck dealing with Data Stores for like 4 months now. YouTube tutorials are pretty much useless on this subject and the ROBLOX Wiki contains like 50 different pages of different Data Store definitions that mean the same thing in the end. It would be nice if they chose the easiest methods for players to use rather than throwing piles of confusing pages that mean the same thing but are all complicating. No wonder everyone comes to me asking how I got into scripting, they can't read the Wiki cause it puts them off!

-- QUESTIONS --
1. Does a Data Store ONLY hold ONE value??
2. Does the average game on ROBLOX use multiple data stores on one game?

(I say this because I've tried scripting it more than 10 d##f#########s#### it might work once or not at all!)

I'm just tired of all this cause in the end, it's only demotivating everyone! 4~5 months is going too far with this, having pages open on my phone and bookmarked on my PC of ROBLOX Data Stores, having not found a proper method...

I basically just need the two questions answered.



I need to stop now.


#Sodaghost13
Report Abuse
ParaText is not online. ParaText
Joined: 15 Aug 2016
Total Posts: 799
12 May 2017 07:00 PM
1. No
2. Most likely
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
12 May 2017 07:02 PM
1. No.
2. How would we know? You can if you want.


Report Abuse
sodaghost13 is not online. sodaghost13
Joined: 18 Apr 2014
Total Posts: 49
12 May 2017 07:11 PM
Well, for question two, do you or anyone else you might know?

Anyways I think I'm gonna end up using 20 Data Stores on one game cause I'm done at this point! The data store never saves the values right and then when I rejoin, the tables are all messed up and we have number and string and nil problems.


Thanks anyways.


#Sodaghost13
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
12 May 2017 07:20 PM
Don't blame the wiki for your problems, I understood it fine


Report Abuse
sodaghost13 is not online. sodaghost13
Joined: 18 Apr 2014
Total Posts: 49
12 May 2017 07:28 PM
Could you link the page please?

I can understand the majority of it, but for those who can't...
I've also seen way more efficient ways of doing the scripts they have on there, so I don't understand that anymore.

Anyways, I'm trying a new method here so...


#Sodaghost13
Report Abuse
10MilesWide is not online. 10MilesWide
Joined: 06 Aug 2014
Total Posts: 2220
12 May 2017 07:28 PM
OP is right, the wiki implies that data stores can only hold one value
They use very specific names such as PlayerExperience and don't have an example of saving multiple values in a table

On a side note, rocrap just added recaptcha to the forums
Report Abuse
sodaghost13 is not online. sodaghost13
Joined: 18 Apr 2014
Total Posts: 49
12 May 2017 07:32 PM
Ehh well there's worse things going on right now and... well we just need to calm down maybe. Maybe I'm over reacting about too many things. Maybe it's all just a dream, MAYBE, MAYBE...





Sodaghost13 will turn it all around!


#MakeROBLOXGreatAgain!



#Sodaghost13
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
12 May 2017 07:43 PM
"UpdateAsync is used to change a stored value in a data store. Unlike IncrementAsync, UpdateAsync can be used to change any type of value (such as strings or tables). "
"tables"
"For example, suppose a RPG was saving a player’s data as a table with several fields. The size of the stored table could be checked with the above JSONEncode function"
"player's data as a table"


Report Abuse
hunxrepair is online. hunxrepair
Joined: 07 Aug 2011
Total Posts: 777
12 May 2017 08:59 PM
PM me if you still need help with them
I'll try my best for you to understand it
Report Abuse
framed is online. framed
Joined: 10 Oct 2008
Total Posts: 147
12 May 2017 09:30 PM
Re-read the wiki, and just think of it as a USB in some ways.
Report Abuse
sodaghost13 is not online. sodaghost13
Joined: 18 Apr 2014
Total Posts: 49
13 May 2017 09:11 PM
I managed to get it all fixed, the game is working fine. Just needs lots more to be built and a few things on a UI!

https://www.roblox.com/games/721402207/User-Interface-Menu-Testing2

Thanks to everyone anyways :)




#Sodaghost13
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