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
folder G:\TF_Server\orangebox contains
As soon as in the server console there will be a text:
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
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.
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