Closed Mickroz closed 12 years ago
You can update the server with your crontab like the example in the README. If the server is started, the update option stop the server, perform the update and restart. For the -autoupdate option on srcds_run we have to wait a patch from steam. Btw, what is your Linux distrib. ?
yeah, spoke too soon, the update works, the crontab too, but yesterday my servers updated at 0:15, later that day an update came, so no one could join the server, had to do it manually run the update script. I thought the -autoupdate line, would auto update the server when a new patch comes out? Im on CentOS 6.
Yes exactly but for now we have to used my update option + crontab as workaround.
Ok, maybe you can build in the -autoupdate option? the server spams "Your server needs to be restarted in order to receive the latest update." or "Your server will be restarted on map change." in the logs whenever there is a update available, but if the server is empty, it will not restart, so maybe it can start the update option when text is "Your server needs to be restarted in order to receive the latest update" or "Your server will be restarted on map change." and players equals 0 ?
Good suggestion, I will make some changes in my script and do some testing. Moreover, it is written on the Valve Developer Community page that the update process can only be done by SteamCMD for now : https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Downloading_the_CS:GO_Dedicated_Server
Nice, if you want me to test it also, just post here then :D
I'm going to push an update of the script today ;)
cool :D
I have added the -autoupdate option in the PARAM_START var. Valve has added the -autoupdate option support to srcds_run the 2012/08/22. The option perform the update without the validate option to start the server quickly. I kept the update option in my script for a full and validate update of the game. For more info : http://store.steampowered.com/news/8702/ Keep me informed ;)
uploaded and waiting for an update :D just removed my cron so it will not update by script
Works :D servers are updated automaticly :D
Ok nice :)
Is there any way to let the server autoupdate with this? its quite anoying to have to update the servers manually everytime. I made a cronjob for it, but sometimes the update gets done after the cronjob time, so then no one can log in and i have to do it manually.