Quote:
Originally Posted by iGANGNAM
Can anyone share some useful bash scripts? I use forked server as well seDirector doesn't want to support it tho.
|
PHP Code:
@echo off
cls
title CSGO SERVER
:update
c:\STEAM_CMD_dir\steamcmd.exe +runscript C:\STEAM_CMD_dir\script.txt
goto srcds
:srcds
echo (%time%) srcds started.
start /wait srcds.exe --parameters
goto update
I wrote simple script,
This script will do update server every server restart/crash.
Just send quit or _restart command via SteamWorks_RestartRequested forward in SteamWorks.
Then that is auto update, Seems -autoupdate and -steamcmd_dir parameters are not work in Windows environment.
But this isn't auto restart when appear dialog such as No free editcs or precache related error box.
__________________