Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @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 Phonebooth MK1 Match Server
- :srcds
- echo (%time%) Using HldsUpdateTool to check for updates.
- start /wait steamcmd +runscript tf2_ds.txt
- echo (%time%) srcds started.
- start /wait tf2\srcds.exe -console -game tf -autoupdate +sv_pure 1 +maxplayers 20 +tv_port 27020
- echo (%time%) WARNING: srcds closed or crashed, restarting.
- goto srcds
- tf2_ds.txt contains
- @ShutdownOnFailedCommand 1
- @NoPromptForPassword 1
- login anonymous
- force_install_dir c:\steamcmd\tf2
- app_update 232250 validate
- quit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement