Advertisement
Guest User

Untitled

a guest
May 27th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.32 KB | None | 0 0
  1. @echo off
  2.  
  3. :: THIS IS WHERE WE KILL THE ARMA3SERVER
  4.  
  5. echo ------------------------------
  6. echo Stopping Arma3Server
  7. echo Stopping Arma3Server
  8. echo Stopping Arma3Server
  9. echo ------------------------------
  10.  
  11. taskkill /f /fi "status eq not responding" /im arma3server.exe
  12.  
  13. taskkill /f /im arma3server.exe
  14.  
  15. echo ------------------------------
  16. echo Arma3Server Stopped
  17. echo Arma3Server Stopped
  18. echo Arma3Server Stopped
  19. echo ------------------------------
  20.  
  21. timeout 5
  22.  
  23. :: THIS IS WHERE WE KILL THE BATTLEYE BULLSHIT
  24.  
  25. echo ------------------------------
  26. echo Stopping BEC
  27. echo Stopping BEC
  28. echo Stopping BEC
  29. echo ------------------------------
  30.  
  31. cd C:\Bec
  32.  
  33. taskkill /im Bec.exe
  34.  
  35. echo ------------------------------
  36. echo BEC Stopped
  37. echo BEC Stopped
  38. echo BEC Stopped
  39. echo ------------------------------
  40.  
  41. timeoute 5
  42.  
  43. ::RESTARTING BATTLEYE
  44.  
  45. echo ------------------------------
  46. echo Starting BEC
  47. echo Starting BEC
  48. echo Starting BEC
  49. echo ------------------------------
  50.  
  51. cd C:\Bec
  52.  
  53. start "" /min "Bec.exe" -f Config.cfg
  54.  
  55. echo ------------------------------
  56. echo BEC Started
  57. echo BEC Started
  58. echo BEC Started
  59. echo ------------------------------
  60.  
  61. timeout 5
  62.  
  63. ::RESTARTING THE ARMA 3 SERVER
  64.  
  65. echo ------------------------------
  66. echo Starting Arma3Server
  67. echo Starting Arma3Server
  68. echo Starting Arma3Server
  69. echo ------------------------------
  70.  
  71. cd C:\Steam\steamapps\common\Arma 3 Server
  72.  
  73. start "arma3" /min /high "arma3server.exe" -port=2302 "-config=C:\Steam\steamapps\common\Arma 3 Server\TADST\default\TADST_config.cfg" "-cfg=C:\Steam\steamapps\common\Arma 3 Server\TADST\default\TADST_basic.cfg" "-profiles=C:\Steam\steamapps\common\Arma 3 Server\TADST\default" -name=default "-mod=@life_server;@extDB2" -world=empty -nosplash -noSound -noPause -enableHT -malloc=system
  74.  
  75. echo ------------------------------
  76. echo Arma3Server Started
  77. echo Arma3Server Started
  78. echo Arma3Server Started
  79. echo ------------------------------
  80.  
  81. timeout 5
  82.  
  83. :: Starting up Monitor.bat
  84.  
  85. echo ------------------------------
  86. echo Starting Monitor
  87. echo Starting Monitor
  88. echo Starting Monitor
  89. echo ------------------------------
  90.  
  91. cd C:\Batch Files
  92.  
  93. start "" "Monitor.bat"
  94.  
  95. echo ------------------------------
  96. echo Monitor Started
  97. echo Monitor Started
  98. echo Monitor Started
  99. echo ------------------------------
  100.  
  101. timeout 10
  102.  
  103. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement