Jump to content
mail@borisk.biz

How can i start 2 DayZ server on one root?

Recommended Posts

With the same files but again you would need to contact DayZ Staff as the second server would need a new instance id generated along with a new mission file.

Share this post


Link to post
Share on other sites

Everything can be the same except for your

-mission file as stated by Xandrah above you would need to apply for a new instanceID.

-server.bat so that you can change the -BEPath [http://community.bistudio.com/wiki/BattlEye#The_-bepath_location] and server*****.cfg

Modified in the .bat file

-battleye needs to have its own instance per server.

-server*****.cfg your name and mission file would need to be different.

Share this post


Link to post
Share on other sites

i have two instance ids

"C:\Program Files (x86)\Steam\SteamApps\common\arma 2 operation arrowhead\Expansion\beta\arma2oaserver.exe" -mod=Expansion\beta;Expansion\beta\expansion;ca;@dayz;@hive -name=cfgdayz -config=cfgdayz\server_fdsf5sd45.cfg -cfg=cfgdayz\arma2.cfg -profiles=cfgdayz -ip=84.200.192.41 -port=2302 -world=Chernarus -cpuCount=4 -exThreads=1

"C:\Program Files (x86)\Steam\SteamApps\common\arma 2 operation arrowhead\Expansion\beta\arma2oaserver.exe" -mod=Expansion\beta;Expansion\beta\expansion;ca;@dayz;@hive -name=cfgdayz -config=cfgdayz\server_fds4f5ds4f56.cfg -cfg=cfgdayz\arma2.cfg -profiles=cfgdayz -ip=84.200.192.41 -port=2301 -world=Chernarus -cpuCount=4 -exThreads=1

This is ok so? But where is the BEPath?

Share this post


Link to post
Share on other sites

Arma uses 3 ports, standard port, standard port + 1 and standard port + 3.

So if your port is 2302 it uses 2302, 2303 and 2305.

For more instances your next available port is 2306.

So set serverport #1: 2302 and serverport #2: 2306.

Share this post


Link to post
Share on other sites

Sorry I failed to mention the ports. Good catch stice

BEPath is set in the command line options I offered a link to the wiki where it is explained.

Server 1 -BEpath=c:\yourServerDirectory\cfgDayZ\Battleye

Server 2 -BEpath=c:\yourServerDirectory\cfgDayZ\Battleye2

You will need to copy your first Battleye folder and paste it next to the original and rename it to something worthwhile.

You could also just copy and paste the cfgDayZ folder and paste it next to the original rename it and modify your commandline for the second server to the correct paths.

Share this post


Link to post
Share on other sites

In order to run two servers you will need to separate mission files, instance IDs, location IDs, and two separate cfgdayz folders/files. Then specify in your start up parameters which is which. Also for the port increase you should use 2302 and 2402 to make your life easier. Ports are exlpained here:

http://support.dayzmod.com/knowledgebase.php?action=displayarticle&id=11

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×