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: Data-Persistence

Previous Thread :: Next Thread 
chris1989 is not online. chris1989
Joined: 30 Nov 2007
Total Posts: 2520
04 Aug 2012 01:37 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=74533398

I've been away a long time and have never used it but i believe this should work and it dont so somone come help me out please.
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
04 Aug 2012 01:37 PM
Can't use DP in a local script.
Report Abuse
chris1989 is not online. chris1989
Joined: 30 Nov 2007
Total Posts: 2520
04 Aug 2012 01:39 PM
Its not local its a gui with a normal script
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
04 Aug 2012 01:40 PM
>gui
>normal script

wut
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
04 Aug 2012 01:41 PM
Gui Service runs all scripts client-side, meaning locally, which means you can't do that. What you could do is use StringValues and ObjectValues and ChildAdded events and put stuff you want to save as those value objects in a script in Workspace that saves it.
Report Abuse
chris1989 is not online. chris1989
Joined: 30 Nov 2007
Total Posts: 2520
04 Aug 2012 01:42 PM
Ahh ok ill go try that
Report Abuse
KillerRice is not online. KillerRice
Joined: 26 Feb 2012
Total Posts: 216
04 Aug 2012 01:43 PM
Simple Term, GUI only works for that player = GUI is a local script.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
04 Aug 2012 01:43 PM
Lucas, you are wrong. I can load data from a normal script in a GUI. I have done it before with some haxy stuff to make it communicate with the LocalScript.

Lol, I just saw an advert that says:

Sorry, but the World Wide Web has shut down.
What you can try:
Nothing
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
04 Aug 2012 01:45 PM
=OOOO

I must test naow


WAIT THE WORLD WIDE WEB SHUT DOWN

NOOOOOOOOOOOOOOOOOOO
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
04 Aug 2012 01:47 PM
http://www.roblox.com/The-Collapse-0-3-8-place?id=66541608

I made the GUI in that place and it uses the system I described.
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
04 Aug 2012 01:48 PM
OMG client update


I was wondering why Roblox Studio didn't force me to wait before updating o3o

Completely seperate now, awesome.
Report Abuse
chris1989 is not online. chris1989
Joined: 30 Nov 2007
Total Posts: 2520
04 Aug 2012 01:58 PM
Ok made it create scripts in workspace and used an ObjectValue to find player but it still returns all 0's even after i save with values that arent 0
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
04 Aug 2012 02:19 PM
1. User clicks Gui save button
2. Gui save script puts what it wants to save in StringValues or NumberValues,
3. script in Gui puts those values in an ObjectValue that points to the Player.
4. Gui script puts the ObjectValue in a script in Workspace
5. Script in Workspace saves the data for that player using the Values
6. ???
7. Profit
Report Abuse
chris1989 is not online. chris1989
Joined: 30 Nov 2007
Total Posts: 2520
04 Aug 2012 02:21 PM
Thats basically it says saved succesfully but when i load it returns all 0's its extremely frustrating.
Report Abuse
chris1989 is not online. chris1989
Joined: 30 Nov 2007
Total Posts: 2520
04 Aug 2012 03:56 PM
Bumpz, Still returning 0's how does anyone get this to work cause i looked at the wiki tried doing it automatically with playeradded and playerremoveing and its still returning 0's looked at scripts in free models mine looks better than all of them yet nothing is different and it still wont work
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
04 Aug 2012 07:28 PM
Object Values suck, because roblox engine sucks, because the guys who made it su- You know what I mean.
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