Hey,
Any way to restart the Garrysmod 13 Server if it crashed automatic?
We using Windows Server 2008.
[code]
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds, close the srcds window and type Y depending on your language followed by Enter.
title Server Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
[/code]
Make a batch file containing this and use that file to start your srcds.
More documentation (at the bottom) [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb076.html[/url]
Sorry, you need to Log In to post a reply to this thread.