How-To Create A DayZ SA Server

One nice thing about DayZ SA (I’ll just call it DayZ from now on) is that setting up a server is very easy. DayZ is self-contained and doesn’t need an external database

  1. Download DayZ Server from Steam -> Library -> Tools [Note that DayZ Server Experimental is a separate download and can be installed similarly]
    • By default, the files will be in  c:\Program Files (x86)\Steam\steamapps\common\DayZServer
    • Copy that directory to C:\dayzserver\ for simplicity
  2. Edit C:\dayzserver\DayZServer\serverDZ.cfg
    • change hostname
    • set password if needed
    • [Game_port is set on the command line. For this example, I’ll use 2302]
    • Add a line for steamQueryPort = 2303;
      • Use whatever number you want, I generally use game_port+1
      • The default steam query port is 27016, but better to explicitly set the port
  3. Open and port forward the game_port (2302) and steamqueryport (2303) [UDP Protocol]
  4. Run server via this command “C:\Windows\System32\cmd.exe ” /C start “DayZSA” C:\dayzserver\DayZServer_x64.exe -config=C:\dayzserver\serverDZ.cfg -port=2302 -profiles=C:\dayzserver\profile -BEPath=C:\dayzserver\battleye -dologs -adminlog
  5. The -profiles directory will contain log files *.RPT, *.ADM, *LOG
    1. It is where many mods keep their configuration files

 

TROUBLESHOOTING

  • XAPOFX1_5.dll is missing

 

TODO : Tools discussion for start/restart/log rotate.

Advertisements

2 thoughts on “How-To Create A DayZ SA Server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s