Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :: note - this should not be used on a server running multiple servers.
- taskkill /im arma2oaserver.exe
- taskkill /im bec.exe
- timeout 1
- :: delay
- timeout 1
- :: start the server..
- cd C:\DayZ\Arma2
- set server=Expansion\beta\arma2oaserver.exe
- set mod=-mod=EXPANSION\beta;EXPANSION\beta\Expansion;EXPANSION;ca;@dayz;@hive
- set cfg=-cfg=cfgdayz\arma2.cfg
- set config=-config=cfgdayz\(config file)
- set profiles=-profiles=cfgdayz
- set ip=-ip=(IP)
- set port=-port=2302
- ::set bepath=-bepath=C:\Beconfig
- set name=-name=(name)
- set world=-world=Chernarus
- set cpucount=-puCount=1
- set exthreads=-exThreads=1
- set nosound=-noSound
- start "" %server% %mod% %ip% %port% %profiles% %config% %cfg% %name% %world% %cpucount% %exthreads% %nosound%
- timeout 3
- :: start bec
- set becpath="C:\DayZ\Arma2\Bec\"
- cd /d %becpath%
- start "" "bec.exe" -f config.cfg
Advertisement
Add Comment
Please, Sign In to add comment