MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
Auto update server
SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto update server
#1
I wrote a program which check the server console for message "MasterRequestRestart
Your server is out of date. Please update and restart." and reboot a server for update

for install u need have this structure of folder:

for example server folder on disk G: with name TF_Server

folder G:\TF_Server contains
Code:
hl2
orangebox
ClientRegistry.blob

cycle.cmd

HldsUpdateTool.exe
HldsUpdateTool_35.mst
InstallRecord.blob

folder G:\TF_Server\orangebox contains
Code:
bin
config
hl2
platform
tf
hlds_steamgames.vdf
srcds.exe
steam_appid.txt

tfstart.dll
tfstart.exe

As soon as in the server console there will be a text:
Code:
MasterRequestRestart
Your server is out of date.  Please update and restart.
program will write to console "say Update request recived. 5 min left for restart." and wait 5 min.
after 5 min program will write "say Starting server update. Wait 10 min.", create file "need_update.txt" in orangebox folder and write "exit" in console. file need_update.txt is trigger for command file cycle.cmd
starting cycle.cmd for run the server
download
Reply


Messages In This Thread
Auto update server - Aizek - 07-31-2009, 02:19 PM
RE: Auto update server - realchamp - 07-31-2009, 03:22 PM
RE: Auto update server - Aizek - 07-31-2009, 03:39 PM
RE: Auto update server - realchamp - 07-31-2009, 04:28 PM
RE: Auto update server - Aizek - 07-31-2009, 05:45 PM
RE: Auto update server - realchamp - 07-31-2009, 06:02 PM
RE: Auto update server - Aizek - 07-31-2009, 06:42 PM
RE: Auto update server - realchamp - 08-01-2009, 07:10 AM
RE: Auto update server - Aizek - 08-18-2009, 01:08 AM
RE: Auto update server - Fragmaster - 07-30-2011, 12:50 PM

Forum Jump:


Users browsing this thread: