SHOW:
|
|
- or go back to the newest paste.
| 1 | @echo off | |
| 2 | cls | |
| 3 | echo Protecting srcds from crashes... | |
| 4 | echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter. | |
| 5 | title CS Source server watcher | |
| 6 | :srcds | |
| 7 | echo (%time%) srcds started. | |
| 8 | ||
| 9 | echo 240> steam_appid.txt | |
| 10 | - | start /wait srcds.exe -console -steam -game cstrike +map MAP |
| 10 | + | start /wait srcds.exe -console -steam +sv_lan 0 -game cstrike +map MAP |
| 11 | ||
| 12 | echo (%time%) WARNING: srcds closed or crashed, restarting. | |
| 13 | goto srcds |