Author Topic: VCE Autosaver  (Read 831 times)

a script that saves your client/player VCE variables when you leave, and reloads them when you connect.

For RPGs and such, to remove the save/load button and the "OH forget FORGOT TO SAVE" moments.

posted this here just to get more attention for anyone who wants to make it. You'll be lovey if you do.

I think there is something like this on RTB.

So, like VCE_save/loadVariable, but automatic?

So, like VCE_save/loadVariable, but automatic?
When you disconnect/connect to the server, yes.
and you can chose whether or not to make it save all variables you currently have/variables you chose.



Most RPGs have minigames, so use minigame events.

onMinigameJoin > Client > Load
onMinigameLeave > Client > Save

Most RPGs have minigames, so use minigame events.

onMinigameJoin > Client > Load
onMinigameLeave > Client > Save
I use a stuff ton of variables for my RPG, most i don't remember. It's really annoying remembering all of them.
and last time i tried the minigame join/leave events didn't work for me.

Most RPGs have minigames, so use minigame events.

onMinigameJoin > Client > Load
onMinigameLeave > Client > Save
If you did that, you would need to event the variable to save for ever client that joined, and that's more trouble than it's worth.

If you did that, you would need to event the variable to save for ever client that joined, and that's more trouble than it's worth.
What? That event is called when ANY player joins or leaves the minigame it's in.

What? That event is called when ANY player joins or leaves the minigame it's in.
and targets them

What? That event is called when ANY player joins or leaves the minigame it's in.
It's too late for me to making sense out of things :/

Bump. I like this idea.

It's too late for me to making sense out of things :/
Actually, that woudn't even work. The client's variables go away after they leave, if the person leaves the server and the vars are saved to the client, the vars would be gone, which brings me back to my first point
If you did that, you would need to event the variable to save for ever client that joined, and that's more trouble than it's worth.
You would have to event it like
Onmingamejoin>client>ifvalue>[<var:cl:bl_id>]==[whatever]
Onvariabletrue>client>setvar>blah blah blah
Onvariabletrue>client>setvar>blah blah blah
blah blah blah
Onminigameleave>client>ifvalue>[var:cl:bl_id>]==[blah blah blah]
Onvariabletrue>namedbrick>setvar>blah blah blah
Onvariabletrue>namedbrick>setvar>blah blah blah
blah blah blah

And do that for every client that joined the server.