Sign in to follow this  
MrNaxeros

How do I force dedicated server to auto-update?

Recommended Posts

MrNaxeros    482

This is basicaly a continuation of Starting a server on friend's physical server thread, but I figured making another one with more specific question would attract more attention.

So here's the issue. I have a dedicated server on a physical server. I don't really have access to it outside of in-game console and the physical server is in friend's place. This means that I have to constantly pester my friend whenever server updates or stops showing up in server browser.

We tried the typical script lines to force the auto-update but they don't work. They were used separately:

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit
steamcmd +login anonymous +force_install_dir D:\Servers\DST\ +app_update 343050 validate +quit

Of course, the directories are different since the server doesn't have a Documents folder.

Any idea on what we could do to force the server to auto-update?

Share this post


Link to post
Share on other sites
CarlZalph    3,466

If you have a watchdog script running to ensure the server restarts after crashing, then that could work for your startup parameters.

As it stands there's nothing really for automagically updating the bins from steamcmd without using external utilities to manage it.

Share this post


Link to post
Share on other sites
MrNaxeros    482

Watchdog is there, although the server never really crashed, so I can't say if it's working.

Also what do you mean that there isn't a way for Steamcmd to update without external utilities? Does that mean that every admin needs to manualy update their servers? I am confused. :(

I am also running mods on this server. Is it possible that one of them could prevent the server from updating?
Dedicated_server_mods_setup:

--#Scythes
ServerModSetup("537902048")
--#Global_Pause
ServerModSetup("758532836")
--#No_Container_Blocking
ServerModSetup("1573330993")
--#Show_Me_Origin
ServerModSetup("666155465")
--#API_Gem_Core
ServerModSetup("1378549454")
--#Less_Hungry_Critters
ServerModSetup("1119335494")
--#Epic_Healthbar
ServerModSetup("1185229307")
--#Extended_Map_Icons
ServerModSetup("812723897")
--#Fix_Beards_Wilson
ServerModSetup("1379703510")
--#Force_Reed_Trap
ServerModSetup("928691537")
--#Maxwells_Phonograph
ServerModSetup("704495354")
--#Health_Info
ServerModSetup("375859599")
--#Long_Pig
ServerModSetup("353933777")


 

Edited by MrNaxeros

Share this post


Link to post
Share on other sites
Daniel86268    382

The mods don't do anything with the update of the server itself. Make sure your steamcmd call is pointing to a correct location of steamcmd.

(aka, make sure that this exists: "c:\steamcmd\steamcmd.exe")

Share this post


Link to post
Share on other sites
MrNaxeros    482

It should be pointing to the right location. Every time the script is launched manualy the server updates without an issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this