Service Closed
This service will be unavailable from March 1st 2014, please download anything you wish to keep before this date.
                        

 
Details 
Title: Server-Sided Saving
Summary: Save ALL the bricks server-sided
Authors: Chrono, Randy and Ephialtes
Submitted By: Chrono
Date Submitted: Tue Feb 21, 2012 8:38 pm
Description: Note: Credited Randy & Ephi for the duplicator code I stole.

What does this do?

Well, simple, it saves every brick, ghosted or not, server-sided. Which also means this will work on a dedicated server.

Usage:

ServerSave(saveName,ownership,events);
example: ServerSave("My Freebuild",1,1);
ServerLoad(saveName);
example: ServerLoad("My Freebuild");
Optional: ServerLoad(saveName,Ownership,Map name,color method,silent);
saveName = the name of your save
ownership = Whether ownership saves/loads or not
events = Determines whether or not brick names and events will save
Map name = That dropdown box that shows up when you load bricks, all slate edits usually use slate
color method = 1 tries to add the missing colors to the end of the current colorset which will most likely fail in all cases you try to use it, 2 just uses the color ID, 3 is the default way of loading which tries to find the closest matches for colors


If there's any bugs, don't just rate it down and post rude comments. Tell me the problem and I'll fix it.

If you found a problem and fixed it yourself already, send it to me so I can update this.

And lastly, feel free to use this as a resource without giving any credit. I believe in allowing people to learn by looking at others work without the hassle of having to figure out who they learned from.
 

File Information 
Version: v2 (View Changes)
Filesize: 2.89 kB
Filename: Server_Save.zip
Last Modified: Thu Jul 05, 2012 7:45 pm
Total Downloads: 458
File Rating:
Rating: 4.34 (3 ratings submitted)Rating: 4.34 (3 ratings submitted)Rating: 4.34 (3 ratings submitted)Rating: 4.34 (3 ratings submitted)Rating: 4.34 (3 ratings submitted) 3 Ratings
 

  
This file has been approved by our moderators.
This means it appears to be safe to use.
Download Server-Sided Saving
 
 


Comments 
Author Message

Comments: 19
Blockland ID: 32796
 Posted: Tue Feb 04, 2014 8:24 pm

On dedicated servers, when i tried to put the Public line, it doesnt work

Profile

Comments: 12
Blockland ID: 2972
 Posted: Fri Jun 22, 2012 11:23 pm

Wtf! Does not save most of the output event parameters!

Profile

Comments: 48
Blockland ID: 18097
 Posted: Tue Mar 13, 2012 12:26 am

Good job Chrono, very useful.

Profile

Comments: 73
Blockland ID: 15335
 Posted: Mon Feb 27, 2012 4:41 am

@Zantigo: It's server sided. This is so a server can save bricks. When you join a server, you are a client. You have no access to this function. Even if you did, it will not send any information to you.

Profile

Comments: 259
Blockland ID: 19597
 Posted: Mon Feb 27, 2012 2:20 am

So... this lets you save builds without loading? seems like its only making build stealing easier. THANKS :D

Profile
Banned

Comments: 81
Blockland ID: 19524
 Posted: Mon Feb 27, 2012 12:47 am

cool

Profile

Comments: 88
Blockland ID: 26552
 Posted: Sat Feb 25, 2012 3:13 am

You're soooo nice, your not a judgemental freak.
ONTOPIC: Nice. Useful.

Profile

Comments: 73
Blockland ID: 15335
 Posted: Sat Feb 25, 2012 12:45 am

The funny part is, there's already a server-sided loading function built into the game.

serverDirectSaveFileLoad(filename, colormethod, directory name, do ownership, silent)

Also what do you mean by NOEDIT? There is an edit button.

Profile
Banned

Comments: 10
Blockland ID: 23618
 Posted: Fri Feb 24, 2012 4:01 pm

NOEDIT: Just read it through and it doesn't seem to be supported. IMO, that'd make it much "nicer" to use (now you either have to download it from the server or copy the save around to load it).

Profile
Banned

Comments: 10
Blockland ID: 23618
 Posted: Fri Feb 24, 2012 3:57 pm

To be honest, the only thing that seems unclear is whether it supports loading it again afterwards, and in that case, how.

Profile

Comments: 73
Blockland ID: 15335
 Posted: Fri Feb 24, 2012 12:11 pm

If you don't understand what this does then you don't understand the game itself very well.

Profile

Comments: 68
Blockland ID: 18087
 Posted: Fri Feb 24, 2012 3:42 am

@west this saves everything. normally on other servers, you only save everything you've seen, meaning if there are other bricks you haven't looked at, they won't save.

Profile

Comments: 30
Blockland ID: 22717
 Posted: Fri Feb 24, 2012 1:55 am

i still dont get it -_-

Profile

Comments: 113
Blockland ID: 14511
 Posted: Fri Feb 24, 2012 1:21 am

@Gredd:
Normally, save bricks button only saves everything you've seen so far, including if you're the host of a dedicated server.
This will save everything that exists, meaning you don't have to walk around and look at everything to save.

Profile

Comments: 7
Blockland ID: 25658
 Posted: Thu Feb 23, 2012 4:34 pm

This Dose... What?

Profile

Comments: 145
Blockland ID: 21614
 Posted: Wed Feb 22, 2012 11:32 pm

Very useful!

Profile
 
 
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin and modified by RTB.