Dedicated Server – ArmA: Armed Assault

From Bohemia Interactive Community
Jump to navigation Jump to search
 
(91 intermediate revisions by 14 users not shown)
Line 1: Line 1:
==Introduction==
{{TOC|side}}
{{Feature|arma2|For {{arma2}} see [[Arma 2: Dedicated Server]].}}
{{Feature|arma3|For {{arma3}} see [[Arma 3: Dedicated Server]].}}


This article covers some of the aspects of the dedicated server for [[ArmA|Armed Assault]] and [[ArmA_2|Arma 2]]
This article covers some of the aspects of the dedicated server for {{GameCategory|arma1|link= y}}.


Some of the information on this page covers beta versions of the software and documentation.
Some of the information on this page covers beta versions of the software and documentation.


This software is released under end user agreement terms as the original game so you should agree with the terms of the end user agreement of ArmA: Armed Assault/Arma 2 as found in the manual before installing and using this software.
This software is released under end user agreement terms as the original game so you should agree with the terms of the end user agreement of {{arma1}}/{{arma2}}/ {{arma3}} as found in the manual before installing and using this software.


==Installation==
== Installation ==


We recommend using 2 GHz machine, with 512 MB RAM and a 1 Mbps upload network bandwidth.
We recommend using 2 GHz machine, with 512 MB RAM and a 1 Mbps upload network bandwidth.


'''ArmA''': You need either a Microsoft Windows 2000/XP or Linux computer to run an ArmA dedicated server.
You need either a Microsoft Windows 2000/XP or Linux computer to run an {{arma1}} dedicated server.
 
'''Arma 2''': You need a Microsoft Windows XP/2000/Vista/2008/Seven computer to run an Arma 2 dedicated server, yet a version of Linux server is also available.


The rest of this section covers installation on a Windows computer. For installation on a Linux computer see the [[ArmA:_Dedicated_Server#Linux|Linux section]].
The rest of this section covers installation on a Windows computer. For installation on a Linux computer see the [[ArmA:_Dedicated_Server#Linux|Linux section]].


There are two possible ways to install the dedicated server. When you have installed the ArmA game, you can use the main executable (ArmA.exe) with the command line argument [[ArmA: Startup Parameters|–server]] to start a dedicated server. While this is easy, it requires the ArmA DVD to be present in the drive during server operation and also original serial number. (However with the latest patch version 1.05 the DVD is no longer needed.).If you want to run a server without the DVD and serial number, you have to use the standalone dedicated server executable.  
There are two possible ways to install the dedicated server. When you have installed the {{arma}} game, you can use the main executable (ArmA.exe) with the command line argument [[ArmA: Startup Parameters|–server]] to start a dedicated server. While this is easy, it requires the ArmA DVD to be present in the drive during server operation and also original serial number. (However with the latest patch version 1.05 the DVD is no longer needed.).If you want to run a server without the DVD and serial number, you have to use the standalone dedicated server executable.  


The latest version of this executable is always available from the [[ArmA:_Dedicated_Server#Downloads|Downloads section]].
The latest version of this executable is always available from the [[ArmA:_Dedicated_Server#Downloads|Downloads section]].
Line 24: Line 24:
*Install the corresponding version of the game on any machine (you will need ArmA DVD for this)
*Install the corresponding version of the game on any machine (you will need ArmA DVD for this)
*Add the ArmA_Server.exe file to the same directory as ArmA.exe. Copy your already installed ArmA directory on to the server.
*Add the ArmA_Server.exe file to the same directory as ArmA.exe. Copy your already installed ArmA directory on to the server.
*Create a configuration file for your server. See [[server.cfg]] for further information.
*Create a configuration file for your server. See [[Arma 3: Server Config File|server config]] for further information.


==Installing a patch on the dedicated server==
== Installing a patch on the dedicated server ==


To install a patched version on the dedicated server, you can either install the patch on some machine with the full game installed and then transfer the full patched game, or you can download the patch to the dedicated server, make sure there exists a registry entry on the server so that the patch can find the game location, verify the CD key, and apply the patch directly on the server.
To install a patched version on the dedicated server, you can either install the patch on some machine with the full game installed and then transfer the full patched game, or you can download the patch to the dedicated server, make sure there exists a registry entry on the server so that the patch can find the game location, verify the CD key, and apply the patch directly on the server.
Line 45: Line 45:


Windows server 2003 (64bit)
Windows server 2003 (64bit)
<pre>Windows Registry Editor Version 5.00
<syntaxhighlight lang="reg">
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA]
Line 51: Line 52:
"PATH"="C:\\Program files\\Bohemia Interactive\\ArmA"
"PATH"="C:\\Program files\\Bohemia Interactive\\ArmA"
"KEY"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx
"KEY"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx
</pre>
</syntaxhighlight>
 


==Startup Options==
== Startup Options ==


'''Example'''
'''Example'''
Line 59: Line 61:
  "ArmA_Server.exe -config=server.cfg -netlog -port=2302 -mod=hisky"
  "ArmA_Server.exe -config=server.cfg -netlog -port=2302 -mod=hisky"


  -config= <----Specifies the config file to use. See [[server.cfg]]
  -config= <----Specifies the config file to use. See [[Arma 3: Server Config File|server config]]
  -mod=    <----extra command to run folder mods
  -mod=    <----extra command to run folder mods
  -netlog  <----command to record traffic from the game server in BI format (requires 1.02 and above)
  -netlog  <----command to record traffic from the game server in BI format (requires 1.02 and above)
Line 68: Line 70:
  -pid=<filename>      <----specifies a file to write the server's PID (process ID) to. The file is removed automatically when the server is stopped
  -pid=<filename>      <----specifies a file to write the server's PID (process ID) to. The file is removed automatically when the server is stopped


==Server Crashes==


In the event of a server crash, please help [[BI]] to fix the problem by sending the  crash files '''arma.rpt''' and '''arma.bidmap''' files that will be created on each crash. For the location of these files and where to send them to, see [[Crash Files]].
== Server Crashes ==


==Server Security==
In the event of a server crash, please help [[BI]] to fix the problem by sending the  crash files '''arma.rpt''' and '''arma.bidmap''' files that will be created on each crash.
For the location of these files and where to send them to, see [[Crash Files]].


There are several settings you might want to consider which improve the security and integrity of the dedicated server which are found in the [[server.cfg]].


==Server Administration==
== Server Security ==
 
There are several settings you might want to consider which improve the security and integrity of the dedicated server which are found in the [[Arma 3: Server Config File|server config]].
 
 
== Server Administration ==


You can administer the server as a player through various [[Multiplayer Server Commands]].  It is also possible to remotely administer the server through [[BattlEye#RCon|BattlEye's RCon]] administration tool
You can administer the server as a player through various [[Multiplayer Server Commands]].  It is also possible to remotely administer the server through [[BattlEye#RCon|BattlEye's RCon]] administration tool


==Banning==


To ban a user you have to know their unique online ID (called Player  ID). This can be checked in the players overview screen ('P' key) during the game, or with the #userlist command. To ban a user you have to add their Player ID to file ban.txt residing in the main ARMA directory. If there is no such file there, create a new one. The format of ban.txt is a plain ASCII text list of decimal Player IDs delimited with space, tabulator or end-of-line characters.
== Banning ==


==Firewall issues==
To ban a user you have to know their unique online ID (called Player  ID). This can be checked in the players overview screen ('P' key) during the game, or with the #userlist command.
To ban a user you have to add their Player ID to file ban.txt residing in the main ARMA directory. If there is no such file there, create a new one.
The format of ban.txt is a plain ASCII text list of decimal Player IDs delimited with space, tabulator or end-of-line characters.


By default the Armed Assault server is reporting to Gamespy and it also uses the Gamespy server to negotiate a NAT traversal. If this does not work reliably for you (e.g. when running behind very strict firewall), you may need to open and/or forward following incoming ports:
 
== Firewall issues ==
 
By default the {{arma1}} server is reporting to Gamespy and it also uses the Gamespy server to negotiate a NAT traversal.
If this does not work reliably for you (e.g. when running behind very strict firewall, or not UPnPed router), you may need to open and/or forward following incoming ports:


  port  UDP (used for game)
  port  UDP (used for game)
Line 98: Line 109:
Default value of port is '''2302''', but you may change it by -port command line argument.
Default value of port is '''2302''', but you may change it by -port command line argument.


==Proxy issues==


You may enforce proxy server used to download xml squad page etc. Using the value '''"proxy"''' in [[server.cfg]].
== Proxy issues ==


==Performance Tuning Options==
You may enforce proxy server used to download xml squad page etc. Using the value '''"proxy"''' in [[Arma 3: Server Config File|server config]].


Moved to [[basic.cfg|Server Basic Config file]]


==Running Server as a Service==
== Other Windows issues ==


You may also consider running the ArmA server as a service, and enabling automatic restart in case of crash. In this case, you may want to disable DrWatson crash monitoring utility on your computer, as it often prevents ArmA server to shutdown properly (by displaying a message box that requires an operator to confirm application termination).
Make sure you have:
 
1. Network Discovery enabled for your network type (the setting can be found in [Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings]. If you have problem with it is state reset on the interface reopen, check if all of the required for this feature services are running: DNS Client, Function Discovery Resource Publication, SSDP Discovery, UPnP
Device Host; (makes server accessible from internet) (maybe its about the services and not the network discovery)
 
2. Windows Media Player Network Sharing Service enabled (makes server joinable) ;
 
If you can't connect to server trough server browser try to use ''direct connect'', this is client side (doesn't mean other clients will have it too), reason for the issue for now unknown, i can say it is not related to: windows services, windows network settings, network routers,firew..;
 
 
== Performance Tuning Options ==
 
See [[basic.cfg|Server Basic Config file]].
 
 
== Running Server as a Service ==
 
You may also consider running the ArmA server as a service, and enabling automatic restart in case of crash.
In this case, you may want to disable DrWatson crash monitoring utility on your computer, as it often prevents the server to shutdown properly (by displaying a message box that requires an operator to confirm application termination).


A '''HowTo''' for user-defined services can be found at http://support.microsoft.com/kb/137890/en-us.
A '''HowTo''' for user-defined services can be found at http://support.microsoft.com/kb/137890/en-us.


==Linux==
 
== Linux ==


Linux dedicated servers are also supported.  
Linux dedicated servers are also supported.  


A first description of how-to setup an ArmA linuxserver has been posted on the offical BI forums. You may follow these few steps that illustrate a setup on a Debian-based machine:
A first description of how-to setup an ArmA linuxserver has been posted on the official BI forums. You may follow these few steps that illustrate a setup on a Debian-based machine:


1.)  follow all instructions of readme
# follow all instructions of readme
2.)  edit startupfile "armaserver" and change vars, fitting for your system
# edit startupfile "armaserver" and change vars, fitting for your system
3.)  start server manually (command: ./server). Now the player directory should be created.
# start server manually (command: ./server). Now the player directory should be created.
4.)  stop server with ctrl+c
# stop server with ctrl+c
5.)  edit player/player.armaprofile
# edit player/player.armaprofile
6.)  create and edit a arma.cfg (all lowercase! ) in main directory of arma
# create and edit a arma.cfg (all lowercase! ) in main directory of arma
7.)  run server via  ./armaserver start
# run server via  ./armaserver start
8.) have fun!
# have fun!


Please note that you can create other users than the standard ''player'' to configure different quality settings. All you need is an directory named <username> and therein a <username>.armaprofile as the configuration file. Then simply start the server with the optional parameter -name=<username>.
Please note that you can create other users than the standard ''player'' to configure different quality settings.
All you need is an directory named <username> and therein a <username>.armaprofile as the configuration file. Then simply start the server with the optional parameter -name=<username>.




Line 134: Line 163:
For instance Unbuntu hardy 8.04 LTS amd64 (64bit) Desktop:
For instance Unbuntu hardy 8.04 LTS amd64 (64bit) Desktop:


* package build-essential (11.3ubuntu1) and all of it's required packages for the ArmA install script to work
* package build-essential (11.3ubuntu1) and all of it is required packages for the ArmA install script to work
* package ia32-libs (2.2ubuntu11) and all of it is required packages for the Arma 32bit server application to run on the 64bit operation system.


* package ia32-libs (2.2ubuntu11) and all of it's required packages for the ArmA 32bit server application to run on the 64bit operation system.


 
In case your linux distribution does not have a package set of libraries like the ia32-libs are, I managed to get the server running on Archlinux 64bit
In case your linux distribution doesnt have a package set of libraries like the ia32-libs are, I managed to get the server running on Archlinux 64bit
by installing the following packages as 32bit versions:
by installing the following packages as 32bit versions:


Line 151: Line 179:


In case you encounter "Server died, waiting to restart..." instantly after the server was created, you may have SElinux enabled. (Fedora Core)  
In case you encounter "Server died, waiting to restart..." instantly after the server was created, you may have SElinux enabled. (Fedora Core)  


==== Number of open files limit ====
==== Number of open files limit ====
If you are running some mods and/or have a lot of missions on the server, you will hit the limit of open files allowed. This is a Linux/Unix specific issue.
If you are running some mods and/or have a lot of missions on the server, you will hit the limit of open files allowed. This is a Linux/Unix specific issue.
There are diffrent settings you may need to tweak.
There are different settings you may need to tweak.


For once you may need to tweak the system-wide setting for max-files-open (See [http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/]).
For once you may need to tweak the system-wide setting for max-files-open (See {{Link|http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/|link}}).
Then you might still need to allow the individual user that runs the Arma server to open enough files. The standard setting on Ubuntu 11.0 64-Bit was 1024 wich might be too low.
Then you might still need to allow the individual user that runs the Arma server to open enough files. The standard setting on Ubuntu 11.0 64-Bit was 1024 which might be too low.


Solution: Change /etc/security/limits.conf.
Solution: Change /etc/security/limits.conf.
Line 164: Line 191:
To raise this limit for every user put the following in at the bottom and save:
To raise this limit for every user put the following in at the bottom and save:


<code>
<pre>
* soft nofile 4096
* soft nofile 4096
* hard nofile 4096
* hard nofile 4096
</code>
</pre>
 
 
===Remarks on ArmA2===
 
# Follow the "readme.txt"
# To execute "install" the compiler "gcc" plus it's so called "build-essentials" are needed. You can try executing "install". If there are errors like "stdio.h missing etc." then install the package "build-essentials".
# Try "./server" first and read the messages on the command line to get an idea whether the server is running or not. Check the directory for any files like "core.*" and read the "log.*.txt" file to get an idea if there's any problem.
# Edit
## "arma2.cfg", see also [[basic.cfg]]
## "server.cfg" = Config setting in "arma2server", see also [[server.cfg]]
## "player/player.arma2profile", see also [[server.armaprofile]]
 
==Downloads==
 
===ArmA===
 
====Windows====
:Official: [[ArmA_Update_1.14|v1.14.5256]] is available from the [http://www.armedassault.com/dwnl_update.html armedassault.com update page] as part of the [[ArmA_Update_1.14|v1.14 patch]].
:Beta: [[ArmA_Beta_Patch_1.15|v1.15.5268]] is available from [http://www.armedassault.com armedassault.com], [http://www.armedassault.com/downloads/ARMA_BETAPATCH_115.zip ARMA_BETAPATCH_115.zip] (49.7MB, Release: December 23rd 2008)
:Beta: [[ArmA_Beta_Patch_1.16|v1.16.5277]] is available from [http://www.armedassault.com armedassault.com], [http://www.armedassault.com/downloads/ArmA_PublicBeta_Patch116.zip ArmA_PublicBeta_Patch116.zip] (51.6MB, Release: April 24th 2009)
:RC: v1.18.5281 Release Candidate is available from [http://www.armedassault.com armedassault.com], [http://www.armedassault.com/downloads/ARMA_Update118RC.zip ARMA_Update118RC.zip] (132MB, Release: December 15th 2009)
 
====Linux====
:Official: v1.14.5257 is available from armedassault.com [http://www.armedassault.com/downloads/server-1.14.tar.bz2 server-1.14.tar.bz2] (3.95MB, Release: May 22nd 2008)
:RC: v1.18 Release Candidate is available from armedassault.com [http://www.armedassault.com/downloads/arma1server-1.18.tar.bz2 arma1server-1.18.tar.bz2] (3.97MB, Release: December 15th 2009)
 
===Arma 2===
 
====Linux====
 
* '''Beta''': [http://www.arma2.com/downloads/update/arma2_linux_server-1.04.61018.tar.bz2 v1.04.61018] is available from the [http://forums.bistudio.com/showthread.php?t=90565 BI Forums], [http://www.patches-scrolls.de/armed_assault_2.php#104lin The Patches Scrolls] (5.0 MB, Released: Dec 9th 2000)
 
* '''Beta''': v1.04.60159 is available from the [http://forums.bistudio.com/showthread.php?t=90565 BI Forums], [http://www.patches-scrolls.de/armed_assault_2.php#104lin The Patches Scrolls] (5.0MB, Released: Nov 20th 2009)
 
* '''Alpha''': v1.04.59822 is available from the [http://forums.bistudio.com/showthread.php?t=89224 BI Forums] (4.2MB, Released: Oct 27th 2009)
 
* '''Official''': v1.05.62021 is available from [http://www.arma2.com/supply/all-downloads/file/226-arma2server-1-05-62021-tar.html?lang=en Arma2.com] ,[http://www.gameupdates.org/details.php?id=3917 Bittorent]
CRC32: A353E31F
MD5: F5515D415C5365121CE3291A2C57F856
SHA-1: E1A8BFC87CC6BD90AC2E0F9D81A90DBDF0E1D127
 
* '''Beta''': [http://www.arma2.com/downloads/update/a2-server-1.07.71852.tar.bz2 v1.07.71852] is discussed here: [http://forums.bistudio.com/showthread.php?t=101363 Arma 2 Linux Server 1.07 BETA] (5.2 MB, Released: June 30th, 2010)
 
* '''Official''': [ftp://downloads.bistudio.com/arma2.com/update/a2-server-1.08.76257.tar.bz2 v1.08.76257] released here: [http://forums.bistudio.com/showthread.php?t=110793 ArmA 2 Linux Standalone Server 1.08] (5.2 MB, Released: Nov 30th, 2010)
 
* '''Beta''': [ftp://downloads.bistudio.com/arma2.com/update/a2-server-1.09.79146.tar.bz2 v1.09.79146] is discussed here: [http://forums.bistudio.com/showthread.php?t=116412 Arma 2 Linux Server 1.09 BETA] (Released: March 22th, 2011)
 
* '''Official''': v1.10.80666 is available from [http://www.arma2.com/index.php?option=com_rokdownloads&view=file&Itemid=20&id=750%3Aarma-2-linux-standalone-server-1-10&lang=en Arma2.com] is discussed here: [http://forums.bistudio.com/showthread.php?t=121437 ArmA 2 Linux Standalone Server 1.10.80666] (Released: June 23th, 2011)
CRC32: EFF77573
MD5: E34165ACFF4AD90E7AD76BDDF64A2C9F
SHA1: 670BC4776345AE0C435843F13CA3FFCE51E6C142
 
====Windows====
 
:Beta: v1.02.58055 is available from the [http://www.arma2.com Arma2.com], [http://www.arma2.com/support/updates/download/50-arma2server_1_02beta.html ArmA2Server_1_02BETA.zip] (4.2MB, Released: June 19th 2009)
:Official: v1.03.58659 is available from [http://www.arma2.com Arma2.com], [http://www.arma2.com/support/updates/download/182-arma2server_1_03.html ArmA2server_1_03.zip]  ,[http://www.kellys-heroes.eu:9000/Arma2/downloads/patches/ArmA2Server_1.03.rar kellys-heroes.eu] , [http://www.patches-scrolls.de/armed_assault_2.php#ds103 The Patches Scrolls] (4.35MB, Released: August 6th 2009)
:Official: v1.04.59026 is available from [http://www.arma2.com/support/updates/file/211-arma2server_1_04.html?lang=en Arma2.com] , [http://www.arma2.com/support/updates/download/211-arma2server_1_04.html?lang=en ArmA2server_1_04.zip] , [http://www.kellys-heroes.eu:9000/Arma2/downloads/patches/ArmA2Server_1_04.zip kellys-heroes.eu] , [http://www.filefront.com/14537441/ArmA2Server_1_04.zip FileFront.com] , [http://www.patches-scrolls.de/armed_assault_2.php#ds104 The Patches Scrolls]


: From v1.05 and beyond the window dedicated server exe is part of the client patch. Just move the '''arma2server.exe''' with the '''according dta folder contents''' to your server.


=== ArmA 2: Operation Arrowhead ===
== Downloads ==


==== Linux ====
=== Windows ===
:'''Official: v1.54.72898''' is available from [http://www.arma2.com/index.php?option=com_rokdownloads&view=file&Itemid=20&id=353:arma-2-oa-linux-standalone-server-1-54&lang=en here]
:Beta: v1.55.75619 is available from [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.55.75619.tar.bz2 here]
:Beta: v1.56.76188 can be downloaded [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.56.76188.tar.bz2 here]
:'''Official: v1.57.76894''' [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.57.76894.tar.bz2 here]
:Beta: v1.57.76934: [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.57.76934.tar.bz2 here]
:Beta: v1.57.77737: [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.57.77737.tar.bz2 here]
:Beta: v1.58.78554: [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.58.78554.tar.bz2 here]
:'''Official: v1.59.79548''' [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.59.79548.tar.bz2 here]
:Beta: v1.59.84216: [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.59.84216.tar.bz2 here]
:Beta: v1.59.84426: [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.59.84426.tar.bz2 here]
:Beta: v1.59.85663: [ftp://downloads.bistudio.com/arma2.com/update/a2oa-server-1.59.85663.tar.bz2 here]


==== Windows ====
:Official: [[ArmA_Update_1.14|v1.14.5256]] is available from the {{Link|link= http://www.armedassault.com/dwnl_update.html|text= armedassault.com update page}} as part of the [[ArmA_Update_1.14|v1.14 patch]].
:Official: 1.52.71816 is included in the [http://www.arma2.com/supply/game-updates/file/338-a2oa_patch_152.html 1.52 patch]
:Beta: [[ArmA_Beta_Patch_1.15|v1.15.5268]] is available from {{Link|link= http://www.armedassault.com|text= armedassault.com}}, {{Link|link= http://www.armedassault.com/downloads/ARMA_BETAPATCH_115.zip|text= ARMA_BETAPATCH_115.zip}} (49.7MB, Release: December 23rd 2008)
:'''Official: v1.57.76903''' (hotfixed!) [http://www.arma2.com/index.php?option=com_rokdownloads&view=file&Itemid=20&id=449:arma-2-oa-win32-standalone-server-1-57&lang here]
:Beta: [[ArmA_Beta_Patch_1.16|v1.16.5277]] is available from {{Link|link= http://www.armedassault.com|text= armedassault.com}}, {{Link|link= http://www.armedassault.com/downloads/ArmA_PublicBeta_Patch116.zip|text= ArmA_PublicBeta_Patch116.zip}} (51.6MB, Release: April 24th 2009)
:Beta: Newer builds are included in the ArmA II OA beta patches available [http://www.arma2.com/beta-patch.php here].
:RC: v1.18.5281 Release Candidate is available from {{Link|link= http://www.armedassault.com|text= armedassault.com}}, {{Link|link= http://www.armedassault.com/downloads/ARMA_Update118RC.zip|text= ARMA_Update118RC.zip}} (132MB, Release: December 15th 2009)


==See Also==
=== Linux ===


[[ArmA: Server configuration|ArmA Server Configuration]]
:Official: v1.14.5257 is available from armedassault.com {{Link|link= http://www.armedassault.com/downloads/server-1.14.tar.bz2|text= server-1.14.tar.bz2}} (3.95MB, Release: May 22nd 2008)
:RC: v1.18 Release Candidate is available from armedassault.com {{Link|link= http://www.armedassault.com/downloads/arma1server-1.18.tar.bz2|text= arma1server-1.18.tar.bz2}} (3.97MB, Release: December 15th 2009)


[[Multiplayer_Server_Commands|Multiplayer Server Commands]]


[[ArmA:_Community_Tools#Multi Player|ArmA Community Tools]]
== See Also ==


[[ArmA:_Version_History|ArmA Version History]]
* [[ArmA: Server configuration|ArmA Server Configuration]]
* [[Multiplayer_Server_Commands|Multiplayer Server Commands]]
* [[ArmA:_Community_Tools#Multi Player|ArmA Community Tools]]
* [[ArmA:_Version_History|ArmA Version History]]


[[Arma_2:_Version_History|Arma 2 Version History]]


[[Category:ArmA:_Multiplayer|Dedicated Server]]
{{GameCategory|arma1|Multiplayer}}

Latest revision as of 17:23, 26 July 2024

Arma 2
For Arma 2 see Arma 2: Dedicated Server.
Arma 3
For Arma 3 see Arma 3: Dedicated Server.

This article covers some of the aspects of the dedicated server for ArmA: Armed Assault.

Some of the information on this page covers beta versions of the software and documentation.

This software is released under end user agreement terms as the original game so you should agree with the terms of the end user agreement of Armed Assault/Arma 2/ Arma 3 as found in the manual before installing and using this software.

Installation

We recommend using 2 GHz machine, with 512 MB RAM and a 1 Mbps upload network bandwidth.

You need either a Microsoft Windows 2000/XP or Linux computer to run an Armed Assault dedicated server.

The rest of this section covers installation on a Windows computer. For installation on a Linux computer see the Linux section.

There are two possible ways to install the dedicated server. When you have installed the Arma game, you can use the main executable (ArmA.exe) with the command line argument –server to start a dedicated server. While this is easy, it requires the ArmA DVD to be present in the drive during server operation and also original serial number. (However with the latest patch version 1.05 the DVD is no longer needed.).If you want to run a server without the DVD and serial number, you have to use the standalone dedicated server executable.

The latest version of this executable is always available from the Downloads section.

To install a standalone server

  • Install the corresponding version of the game on any machine (you will need ArmA DVD for this)
  • Add the ArmA_Server.exe file to the same directory as ArmA.exe. Copy your already installed ArmA directory on to the server.
  • Create a configuration file for your server. See server config for further information.

Installing a patch on the dedicated server

To install a patched version on the dedicated server, you can either install the patch on some machine with the full game installed and then transfer the full patched game, or you can download the patch to the dedicated server, make sure there exists a registry entry on the server so that the patch can find the game location, verify the CD key, and apply the patch directly on the server.

The registry entry can be created by exporting a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\ArmA from the machine where the game is installed. The file should look like this:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\ArmA]
"KEY"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx
"MAIN"="C:\\Program files\\Bohemia Interactive\\ArmA"


To install updates on Windows Server 2003 (64bit) and all the other options have not worked please try this work around instead you will still need to edit the paths "Main"="C:\\Your\\ArmA\\Path\\ArmA"

  • note: the installer might use PATH instead of default MAIN key, this is unstandard fix and might not work with latest patches

Windows server 2003 (64bit)

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA]
"Main"="C:\\Program files\\Bohemia Interactive\\ArmA"
"PATH"="C:\\Program files\\Bohemia Interactive\\ArmA"
"KEY"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx


Startup Options

Example

"ArmA_Server.exe -config=server.cfg -netlog -port=2302 -mod=hisky"
-config= <----Specifies the config file to use. See server config
-mod=    <----extra command to run folder mods
-netlog  <----command to record traffic from the game server in BI format (requires 1.02 and above)
-port=   <----Port for the server to listen on.
-world=  <----start another default world
-noland  <----unknown functionality (in player mode it removes all land textures and turns it grey)
-ranking=<filename>   <----path for game stats log (new in 1.07)
-pid=<filename>       <----specifies a file to write the server's PID (process ID) to. The file is removed automatically when the server is stopped


Server Crashes

In the event of a server crash, please help BI to fix the problem by sending the crash files arma.rpt and arma.bidmap files that will be created on each crash. For the location of these files and where to send them to, see Crash Files.


Server Security

There are several settings you might want to consider which improve the security and integrity of the dedicated server which are found in the server config.


Server Administration

You can administer the server as a player through various Multiplayer Server Commands. It is also possible to remotely administer the server through BattlEye's RCon administration tool


Banning

To ban a user you have to know their unique online ID (called Player ID). This can be checked in the players overview screen ('P' key) during the game, or with the #userlist command. To ban a user you have to add their Player ID to file ban.txt residing in the main ARMA directory. If there is no such file there, create a new one. The format of ban.txt is a plain ASCII text list of decimal Player IDs delimited with space, tabulator or end-of-line characters.


Firewall issues

By default the Armed Assault server is reporting to Gamespy and it also uses the Gamespy server to negotiate a NAT traversal. If this does not work reliably for you (e.g. when running behind very strict firewall, or not UPnPed router), you may need to open and/or forward following incoming ports:

port  	UDP (used for game)
port+1	UDP (used for server reporting)
port+3	UDP (used for VoN transmissions)

Following outgoing ports need to be open as well:

port 	UDP (used for game)
port+3	UDP (used for VoN transmissions)

Default value of port is 2302, but you may change it by -port command line argument.


Proxy issues

You may enforce proxy server used to download xml squad page etc. Using the value "proxy" in server config.


Other Windows issues

Make sure you have:

1. Network Discovery enabled for your network type (the setting can be found in [Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings]. If you have problem with it is state reset on the interface reopen, check if all of the required for this feature services are running: DNS Client, Function Discovery Resource Publication, SSDP Discovery, UPnP Device Host; (makes server accessible from internet) (maybe its about the services and not the network discovery)

2. Windows Media Player Network Sharing Service enabled (makes server joinable) ;

If you can't connect to server trough server browser try to use direct connect, this is client side (doesn't mean other clients will have it too), reason for the issue for now unknown, i can say it is not related to: windows services, windows network settings, network routers,firew..;


Performance Tuning Options

See Server Basic Config file.


Running Server as a Service

You may also consider running the ArmA server as a service, and enabling automatic restart in case of crash. In this case, you may want to disable DrWatson crash monitoring utility on your computer, as it often prevents the server to shutdown properly (by displaying a message box that requires an operator to confirm application termination).

A HowTo for user-defined services can be found at http://support.microsoft.com/kb/137890/en-us.


Linux

Linux dedicated servers are also supported.

A first description of how-to setup an ArmA linuxserver has been posted on the official BI forums. You may follow these few steps that illustrate a setup on a Debian-based machine:

  1. follow all instructions of readme
  2. edit startupfile "armaserver" and change vars, fitting for your system
  3. start server manually (command: ./server). Now the player directory should be created.
  4. stop server with ctrl+c
  5. edit player/player.armaprofile
  6. create and edit a arma.cfg (all lowercase! ) in main directory of arma
  7. run server via ./armaserver start
  8. have fun!

Please note that you can create other users than the standard player to configure different quality settings. All you need is an directory named <username> and therein a <username>.armaprofile as the configuration file. Then simply start the server with the optional parameter -name=<username>.


When you're a Linux beginner and encounter problems without adequate error messages, then your distribution is probably missing necessary packages.

For instance Unbuntu hardy 8.04 LTS amd64 (64bit) Desktop:

  • package build-essential (11.3ubuntu1) and all of it is required packages for the ArmA install script to work
  • package ia32-libs (2.2ubuntu11) and all of it is required packages for the Arma 32bit server application to run on the 64bit operation system.


In case your linux distribution does not have a package set of libraries like the ia32-libs are, I managed to get the server running on Archlinux 64bit by installing the following packages as 32bit versions:

- glibc

- gcc-libs

- libstdc++5

- zlib

In case you encounter "Server died, waiting to restart..." instantly after the server was created, you may have SElinux enabled. (Fedora Core)

Number of open files limit

If you are running some mods and/or have a lot of missions on the server, you will hit the limit of open files allowed. This is a Linux/Unix specific issue. There are different settings you may need to tweak.

For once you may need to tweak the system-wide setting for max-files-open (See link). Then you might still need to allow the individual user that runs the Arma server to open enough files. The standard setting on Ubuntu 11.0 64-Bit was 1024 which might be too low.

Solution: Change /etc/security/limits.conf.

To raise this limit for every user put the following in at the bottom and save:

* soft nofile 4096
* hard nofile 4096


Downloads

Windows

Official: v1.14.5256 is available from the armedassault.com update page (dead link) as part of the v1.14 patch.
Beta: v1.15.5268 is available from armedassault.com (dead link), ARMA_BETAPATCH_115.zip (dead link) (49.7MB, Release: December 23rd 2008)
Beta: v1.16.5277 is available from armedassault.com (dead link), ArmA_PublicBeta_Patch116.zip (dead link) (51.6MB, Release: April 24th 2009)
RC: v1.18.5281 Release Candidate is available from armedassault.com (dead link), ARMA_Update118RC.zip (dead link) (132MB, Release: December 15th 2009)

Linux

Official: v1.14.5257 is available from armedassault.com server-1.14.tar.bz2 (dead link) (3.95MB, Release: May 22nd 2008)
RC: v1.18 Release Candidate is available from armedassault.com arma1server-1.18.tar.bz2 (dead link) (3.97MB, Release: December 15th 2009)


See Also