of     10   
chevron_rightchevron_rightchevron_right

crazypotato4
#43527807Sunday, March 06, 2011 12:19 AM GMT

As some of you know, there is a new feature coming out called Data Persistence, or DP for short. Data Persistence consists of a bunch of methods in the Player object, that allows you to save objects, numbers, strings, and booleans into the player. The problem is, it only works when you have access to the Player object. If you wanted to add a player to a list (or remove them from one), or do anything else with their data while the player wasn't in the game, you'd have no good way to do it as far as I know. So my suggestion is to add some stuff to Data Persistence. Workspace:SaveModel(instance Model) the SaveModel method of Workspace would allow you to save an existing Model in Workspace to your game, so next time a server starts, or next time you go into edit or build mode in the game, the model will appear there just like it does in the server that you saved it to. The limitations of this would be that the new model wouldn't appear in currently existing servers, 'cause that might mess stuff up. getfenv():SaveVariable(int/float/string/table ThingToSave) This'd allow you to save a variable to the environment of a function. For all of you who don't know what getfenv() does, it basically gives you a table full of all the variables you have access to in the function that you give it. For example: function a() end print(table.concat(getfenv(a)) >functions, tables, etc. that function a has access to For all of you non-scripters out there, this just means that we can save stuff to our scripts. =============TL;DR============= There should be stuff added to the new data saving feature that allows you to save models into Workspace and stuff into your script. If this is all you read, then I pity you for not being able to read such a short post :U ============================== Discuss.
crazypotato4
#43529456Sunday, March 06, 2011 12:46 AM GMT

Seriously, no replies???
cheeseslime
#43529794Sunday, March 06, 2011 12:51 AM GMT

Crazy, we need to recruit more S&I'ers.... This forum is dying....
crazypotato4
#43529881Sunday, March 06, 2011 12:53 AM GMT

There's too many newbs here, not enough experienced forumers. They probably all quit because Roblox is getting to be such a bad game. They probably went and got craftmine instead :P
cheeseslime
#43529951Sunday, March 06, 2011 12:54 AM GMT

Craftmine? You're kidding right. I played it for a week. It's so incredibly boring. You couldn't pay me a billion dollars to play it.
sethixzonsalt
#43529968Sunday, March 06, 2011 12:54 AM GMT

[ Content Deleted ]
sethixzonsalt
#43530017Sunday, March 06, 2011 12:55 AM GMT

[ Content Deleted ]
cheeseslime
#43530084Sunday, March 06, 2011 12:56 AM GMT

I'm not talking about LandBlock, but that is true.... I speak of Craftmine.
RevolutionGG
#43530090Sunday, March 06, 2011 12:56 AM GMT

Craftmine is NOT, boring. AND it is a fact: It's better than this. But I still play this game. Anyway, support.
crazypotato4
#43530149Sunday, March 06, 2011 12:57 AM GMT

@seth: Data Persistence is already in testing, certain people are using it in their places, but the only functions for it are members of the Player. This'd be a good feature to have. And I said crinemaft. I'm not using the correct name 'cause the filters don't like it. @cheese: It's an example. And I kinda like it :)
crazypotato4
#43530179Sunday, March 06, 2011 12:58 AM GMT

@Revo: Thanks :D
cheeseslime
#43530234Sunday, March 06, 2011 12:59 AM GMT

Rev, here is ROBLOX.... Build anything! Buy cool things to make your character look better. Have lots of fun. Craftmine.... Spend hours and hours slowly collecting parts, only to have a zombie attack you and take it all.
sethixzonsalt
#43530255Sunday, March 06, 2011 12:59 AM GMT

[ Content Deleted ]
RevolutionGG
#43531243Sunday, March 06, 2011 1:14 AM GMT

@cheese: And why would you get any idea that this game is related to 'building' when there's tons of rants about BC only stuff? Craftmine has a far better community. Far smoother gameplay. Far interesting maps. And no scripting required. ROBLOX has an advantage over its uniqueness of building stuff. But Craftmine has more advantages than this.
coolSmillybob
#43531319Sunday, March 06, 2011 1:15 AM GMT

@seth How in the flip did that get passed through the filters?!
thefireandflames
#43531461Sunday, March 06, 2011 1:17 AM GMT

ROBLOX, Craftmine, and LandBLock are all three great games Roblox for the abilty to create ANYTHING LandBLock for DMs CraftMine for RPGness..
crazypotato4
#43531554Sunday, March 06, 2011 1:18 AM GMT

Okay, we've determined that all three games have qualities that make them good and bad, and that they are all different from each other. I kinda prefer craftmine, just my opinion. Now can we get back to the idea??
superflee
#43532338Sunday, March 06, 2011 1:28 AM GMT

If this works. You would need to specify which player it saves to. Or else it need to be in a hopperbin or something.
crazypotato4
#43533285Sunday, March 06, 2011 1:42 AM GMT

@super: Wha? There is already stuff to save data to the Player object, this is suggesting to add stuff so you can save Objects in Workspace and values in scripts :U
peter99
#43533673Sunday, March 06, 2011 1:48 AM GMT

Isn't Data Persistence admin only now? Anyway, I see no reason why not to do this. Support.
crazypotato4
#43533855Sunday, March 06, 2011 1:51 AM GMT

DP is being tested by a certain group of people who got chosen by Telamon, the list includes piedude77 (the creator of Epic Mining 2) and mattchewy (some famous scripter person). The admins also have access to it, obviously. But when it is available for the public, I feel like this would be useful. If you used Data Persistence to ban someone from your game, how would you unban them?
peter99
#43534058Sunday, March 06, 2011 1:55 AM GMT

I know how you would. There is a function in Data Persistence that waits a set amount of time(Yes, it can go over a day). You could insert the banning line, then the wait line, then a remove line.
Emess
#43534075Sunday, March 06, 2011 1:55 AM GMT

Saving models? I was talking to Donkeyo4 the other day, and he was thinking about making a building full of offices, with DP. When I told him that there was no such thing as saving models, he told me that he would make a multi-dimensional table full of instance properties. I felt a bit bad for him. :/ I think that this would be a great idea.
crazypotato4
#43534111Sunday, March 06, 2011 1:56 AM GMT

:D
peter99
#43534135Sunday, March 06, 2011 1:56 AM GMT

Now, if you want to know about manually, it's anyones guess.

    of     10   
chevron_rightchevron_rightchevron_right