Steam Avatar
You aren't signed in

Auto Saver

3 KB, 14 years ago, submitted by Zack0Wack0

Server-sided Auto Saver
Information:
Saves the server bricks every certain amount of minutes. Using RTB server control (or global variables you can find at the start of the server.cs file) you can control the following things:
"File name": The name of the file to save as.
"Loop time": The time interval that the server will save (in minutes)
"Save ownership": Whether or not the auto saver should save ownership.
"Save events": Whether or not the auto saver should save events.
To start the auto saver type /startautosaver and to stop it type /stopautosaver.
Credits:
Randy - for his awesome dedicated saving function, thanks heaps.
Everyone who supports me.

Demian
Win!
McTwist
I intended to create it first, but I knew that somebody else would. Good job!
Epic_Cookie
The Cookie is pleased. 5/5
Penguin/Person
Cookie for you, ma'am. But not an Epic cookie. (those are disgusting)
Metal
The Epic Cookie tastes like feet.
Wentworth
Hey, great add-on, however I have encountered a bug. When saving a brick's events, it does a perfect job for saving the parameter data in text boxes and numbers etc, but it fails to save datablocks in the event parameters. For example if you have:
onActivate -> self -> Spawn Item -> [Gun]
...after you dedi-save and load that event will become...
onActivate -> self -> Spawn Item -> [Hammer]

Similar things happen with sound events (anything with a datablock int he o
HellKnight
whenever i activate it, the server starts lagging and getting choppy...
any way to fix this?
Zack0Wack0
Raise the save interval.
chase9
love it but i have the same problem with saving events
Nickyellow100
It was good at first but now it bugs me.
XxxSaitekxxX
Thnx. I keep forgetting to save my Builds. :P i once lost a supa big massive collosal big big big massive castle. It had 20,987 bricks and I left without saving -_-
halosos
can you awnser me this: it doesnt save my bricks, i set it to save every 30mins but it dont work. also ill probly never look at this post again so PM me in blockland useing IRC please, my user name- Metallic Block 810-CK
Master2112
Will it save to the Host[player]'s comp or the actual hosting comp in a dedicated server?
and if its to the hosting comp, how can i load it via the CMD window?
Gamefandan
Very useful!
CrazeSpot
my zerver keeps crashing so imma set 4 one min.! YAY!!!!
Zack0Wack0
I've pmed Randy about the datablock saving issue.

As for the time beign incorrect issue, I honestly have no idea atm what is causing this.
Eagle Strike
Nice! Keep it up destiny! 5/5
doonlord13
ty sooooooooooooooooo much man ty 5/5 and if it was possibaly a 1000000/1000000
Luke C
this is awesome i love it i don't have to worry when my computer crashes 5/5
JavaSkeptre
well,it is very good 5/5 gj!
Skill4Life
It's kind of broken for me, i randomly own bricks.
Alxetora
This made me lose alot of builds... Why do you do this to me.
BoShet
I randomly own people's bricks. Fix this and I will rate it a 4/5
AnArmedMan
If only there was a rating of 6/5. Then i would be happy, sadly there isn't so i gave you a 1/1.....
Seems to work great in most cases. It has problems with some sounds, particles, and projectiles though.
This error for example seems to come up a lot:

Code:
Add-Ons/Server_AutoSaver/server.cs (94): Unknown command getDataBlock.
  Object contentError(1954) AudioProfile -> SimDataBlock -> SimObject

It also says it saved to "Add-Ons/Print_2x2f_Default/prints" even though it did
Reinforcements
Doesn't save datablocks correctly, 2 stars...
Block_cop
On dedicated servers it saves but it just does this just cheap flashing lag. 1/5
Moby1997
All the events and shit get messed up. -_-
Moby1997
-2000/5
Clarke
This is Bull- >:(
-5000/5
Even it doesent load just a save.
Evilmatt555
Hate it. but its a good idea? 2/10
swimmer
Its not loading all of the things i made sure that it saved, then i restarted my server, and loaded the autosave and some of the builds where missing
4/5
Jorgur
This would be great if you would just fix the saving errors. I sometimes lose events like playSound (or the sound changes).
Hawkclaw
This shouldn't automatically start when you begin a server. Or, at least, it should have a toggleable autostart.
Bobby the Ice Elf
I think the autosave should be toggle enabled/disabled as well :3
The Epic Man
AWESOME! Now i dont have to save evrytime i leave. it saves for me. 5/5
CroinJohnGold
I like the idea, but it doesn't really work for me..

3/5
edwardd5
Your a life saver! I always crash due to my fucked up pc.

5/5!
applesauce
YOU ARE A LIFE SAVER
<3
Jshotgun
THIS GUY DESERVES TO BE A MODERATOR
newspeed12
this guys my hero. yesterday i made an awesome map and forgot to say so it went poo:(f
Blockster101
This guy is the best Guy in blockland
Drake2001
It works awesome :3
Aperture Science
I love you, I have needed this for so long
Montak
I NEED THIS. I ALWAYS FORGET TO SAVE!!!!!
Montak
Can you mkae it so it automatically saves on quit? incase you build something and quit befor it autosaves
Montak
I take back what i said about neding this. It doesnt turn off when you leave, so if youre playing on something else it overwrites it and you lose the entire save. Thanks alot.