BreeOge Apr 13, 2019 @ 11:34am
Auto Update servers
How are people auto updating the dedicated servers? I have tried everything under the https://developer.valvesoftware.com/wiki/SteamCMD section, and none of them work. For instance I am trying to Auto Update "The Isle" When a new patch comes out. one of the scripts checks this http://api.steampowered.com/ISteamUserStats/GetSchemaForGame/v2/?key=XXXXXXXXXXXXXXXX&appid=39120 and all it returns is {"game":{}} not a single bit of info, and it is looking for Game_Version! I have tried the other route of querying the store and it too gives a lot of info but the version number! So i have a question, tons of dedicated servers out there, how and heck do they get them to auto update every patch! I am pulling my hair out.

Yes i have tried https://github.com/C0nw0nk/SteamCMD-AutoUpdate-Any-Gameserver and no it does not work due to the no info problem.

Thank you
< >
Showing 1-15 of 15 comments
ARİGATO Apr 13, 2019 @ 1:39pm 
ok
ok
ok
ok
ok
ok
Blaquicat Apr 14, 2019 @ 3:30pm 
why bother with auto-update?
Just do a regular update every time a patch comes out..
BreeOge Apr 14, 2019 @ 6:41pm 
If I am working, and not at home, then the server is down till i get too it.. I have people texting me and telling me they can not see the server.. that is why..
Sepp Apr 14, 2019 @ 10:22pm 
Maybe this specific game doesn't support auto-update?
https://github.com/C0nw0nk/SteamCMD-AutoUpdate-Any-Gameserver/issues/18

On source engine based games it works like this.
Create a text file with the needed stuff (in this example the name is script-csgo.txt):

login anonymous
force_install_dir /home/user/ds-csgo
app_update 740
exit

Now add -autoupdate -steamcmd_script /home/user/script-csgo.txt to your startup commandline and your done.

This is for linux but it should work the same on windows as well.
BreeOge Apr 16, 2019 @ 7:07pm 
I will have to play with the -autoupdate, however the SteamCMD docs says "Autoupdate the game. Requires -steam_dir and -steamcmd_script to be set (Linux/Unix only)" So I don't know if it means that Autoupdate is only for Linux, or if you have to set the dir and script only for linux.

As for the game, it supports it, the problem is where C0nw0nk gets the update info from, its not in a lot of the newer games in the API, and its looking for a certain list that requires game_ver or something to that effect. but the api returns nothing at all on a lot of games now.
BreeOge Apr 18, 2019 @ 8:49pm 
Well I got mad, and just made my own update script out to Powershell If anyone is interested I will put a link to it..
Zeromix Apr 21, 2019 @ 3:53am 
I´ve a script, which i lunch everytime an update is out, this script works for my gmod server:
start steamcmd.exe +login anonymous +force_install_dir ./gmod-Dedicated/ +app_update 4020 validate

This Batch file is in my root server directory, and my server is of course in "root/gmod-Dedicated" I hope that´s helps you a bit. :)
BreeOge Apr 23, 2019 @ 10:06pm 
The script I made checks steam for updates, then if an update does exist, will then close the program, update it and restart it. All done by a Powershell script and Task Sched. Works for any game. Dont even have to check, it does it all for me. I log in and its updated already.
BreeOge Apr 23, 2019 @ 10:06pm 
I am trying to make it more user friendly then I will release it to everyone.
Aemp May 13, 2020 @ 10:15am 
Any news?



Originally posted by BreeOge:
I am trying to make it more user friendly then I will release it to everyone.
Cats Jan 14, 2021 @ 10:16pm 
Hello, curious if you wouldn't mind proviidng your Powershell script. I wouldn't mind if it is messy. Thanks in advance!
respecto Jan 17, 2021 @ 7:57pm 
haha
Thebradoflife Sep 27, 2022 @ 11:54pm 
Originally posted by BreeOge:
I am trying to make it more user friendly then I will release it to everyone.
dont mean to necro this form but i would love to take a look at that powershell script you made
BAD *Man Sep 29, 2022 @ 11:10pm 
just create a cronjob to update the server everytime you start the job (for example once a day)
scouseindahouse Oct 1, 2022 @ 10:15am 
i;ve been trying to find the update myself i dont really know whats going about to be honest/
still struggleing
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Apr 13, 2019 @ 11:34am
Posts: 15