Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  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 Phonebooth MK1 Match Server
  6. :srcds
  7. echo (%time%) Using HldsUpdateTool to check for updates.
  8. start /wait steamcmd +runscript tf2_ds.txt
  9. echo (%time%) srcds started.
  10. start /wait tf2\srcds.exe -console -game tf -autoupdate +sv_pure 1 +maxplayers 20 +tv_port 27020
  11. echo (%time%) WARNING: srcds closed or crashed, restarting.
  12. goto srcds
  13.  
  14. tf2_ds.txt contains
  15. @ShutdownOnFailedCommand 1
  16. @NoPromptForPassword 1
  17. login anonymous
  18. force_install_dir c:\steamcmd\tf2
  19. app_update 232250 validate
  20. quit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement