Guest User

Untitled

a guest
Jul 13th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. @echo off
  2.  
  3. :: note - this should not be used on a server running multiple servers.
  4. taskkill /im arma2oaserver.exe
  5. taskkill /im bec.exe
  6. timeout 1
  7. :: delay
  8. timeout 1
  9. :: start the server..
  10. cd C:\DayZ\Arma2
  11. set server=Expansion\beta\arma2oaserver.exe
  12. set mod=-mod=EXPANSION\beta;EXPANSION\beta\Expansion;EXPANSION;ca;@dayz;@hive
  13. set cfg=-cfg=cfgdayz\arma2.cfg
  14. set config=-config=cfgdayz\(config file)
  15. set profiles=-profiles=cfgdayz
  16. set ip=-ip=(IP)
  17. set port=-port=2302
  18. ::set bepath=-bepath=C:\Beconfig
  19. set name=-name=(name)
  20. set world=-world=Chernarus
  21. set cpucount=-puCount=1
  22. set exthreads=-exThreads=1
  23. set nosound=-noSound
  24. start "" %server% %mod% %ip% %port% %profiles% %config% %cfg% %name% %world% %cpucount% %exthreads% %nosound%
  25.  
  26. timeout 3
  27. :: start bec
  28. set becpath="C:\DayZ\Arma2\Bec\"
  29. cd /d %becpath%
  30. start "" "bec.exe" -f config.cfg
Advertisement
Add Comment
Please, Sign In to add comment