Probier es mal mit diesem Code:
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +map flatgrass +maxplayers 12 -tickrate 66
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
+map etc. ändern
Das alles in eine .bat (Name z. B. server_starter.bat) datei, welche dann in den ordner kommt wo die scrds.exe ist -> C:\srcds\orangebox\server_starter.bat
Dann einfach auf die .bat datei klicken und sehen was passiert. Wenns nicht geht dann bitte nochmal posten.