Jump to content

How to properly update a dedicated server(?)


Warpavp2

Recommended Posts

Just curious about how to properly update a Server without losing everything?

 

Do you copy/paste any files?

Do you do a fresh reinstall?

Or is it one simple command?>

 

On linux, I make a backup of the configuration file and then update the installation via steam. That's pretty much it for a vanilla server.

 

After the update, check and adapt the new configuration file to reflect your old configuration plus whatever new/changed options are available in the new version.

 

For the latest stable the steam commands I use are:

login anonymous

force_install_dir /home/your_user/server_directory

app_update 294420

quit

 

If you want to run an experimental build or specific branch on your server, you can do so as well:

login anonymous

force_install_dir /home/your_user/server_directory

app_update 294420 -beta latest_experimental

quit

Link to comment
Share on other sites

  • 3 weeks later...

Generally speaking the serverconfig is usually the same for each build but NOT always and it's important to examine the update notes and see what has changed.

 

For each update I typically validate the server files from Steam and afterwards I make a backup of any files that I will edit, which generally are the entityclass, entitygroup, and block.xml.

 

The entityclass I edit is generally to perform my own balancing and/or block damage, and the entitygroup to eliminate certain annoying entities such as the vultures.

 

Lastly I use a third party app entitled ExamDiff to quickly see if the file matches and if there are no differences then I know I can just redeploy the prior file.

 

Hope this helps. 😀

Link to comment
Share on other sites

Is there a possible way to transfer an old base into a new server? Like the region or cell? Sorry and thank you this is all helpful. I normally just manually edit everything in every .xml over again so the new files stay fresh. Tedious, but do able.

 

I just want to know if the base I made on A16 can be transferred into A17 before I comitt to an entire new server!

Link to comment
Share on other sites

@warpavp2: I haven't tried just copying over region, but I highly doubt it would work going from A16.4 to A17. You'd probably be best to use creative menu, spawn in the stuff you need, and start from scratch.

 

As far as copying over the same seed: Let the server build the new map using your seed name, then shutdown the server, copy your old game files back.. might work, unless you're trying to go from A16.4 map to A17.

 

Also: I suggest you do NOT use the default serverconfig.xml filename as is.. change it to something else, such as serverconfigWarpavp2.xml... because every update re-writes the default serverconfig.xml file.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...