Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. title Exile Server Monitor
  3. color 0a
  4. echo ==============================
  5. echo Starting the Exile Dev Server
  6. echo ==============================
  7. echo.
  8.  
  9. set svPath=C:\Gameserver\arma3\server_dev
  10. set svExe=arma3server_x64.exe
  11. set svPort=2302
  12. set svMod=@marma;@ExileServer;@infiSTAR_Exile;
  13. set Mod=@Exile;@ExileExpansion;@PLP_Containers;kart;heli;mark;jets;orange;
  14. set bePath=C:\Gameserver\arma3\server_dev\ServerProfiles\BattlEye
  15. set becPath=C:\Gameserver\arma3\tools\BEC
  16. set becExe=Bec.exe
  17.  
  18. cd %svPath%
  19.  
  20. ::Kill Arma3ExileServer
  21. taskkill /f /fi "status eq not resonding" /im arma3server_x64.exe
  22. taskkill /f /im arma3server_x64.exe
  23.  
  24. echo ==============================
  25. echo Server .exe: %svExe%
  26. echo ==============================
  27. echo.
  28. :: start Arma3ExileServer
  29. start "Arma3ExileServer" "%svExe%" -cfg=basic.cfg -config=config.cfg -profiles=ServerProfiles -noPause -noSound -port=%svPort% -Mod=%Mod% -serverMod=%svMod% -BePath=%bePath% -malloc=tbbmalloc_x64 -enableHT -autoinit -filePatching -world=empty
  30.  
  31. echo ==============================
  32. echo Listening to port: %svPort%
  33. echo ==============================
  34. echo.
  35.  
  36. PING -n 2 127.0.0.1>nul
  37.  
  38. echo ==============================
  39. echo Server Mods: %svMod%
  40. echo Mods: %Mod%
  41. echo ==============================
  42. echo.
  43.  
  44. PING -n 8 127.0.0.1>nul
  45.  
  46. echo ==============================
  47. echo Arma server started!
  48. echo Stating Bec: "%becPath%" now..
  49. echo ==============================
  50. echo
  51.  
  52. cd %becPath%
  53. start "" "%becExe%" -f Config.cfg --dsc
  54.  
  55. echo ==============================
  56. echo Bec is started!
  57. echo Server is running now.
  58. echo ==============================
  59. echo
  60.  
  61. @exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement