Server configuration – ArmA: Armed Assault
Lou Montana (talk | contribs) m (Text replacement - "^=+ * " to "") |
Lou Montana (talk | contribs) m (Text replacement - "[[server.cfg|" to "[[Arma 3: Server Config File|") |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
* [[Arma 2: Startup Parameters]] | * [[Arma 2: Startup Parameters]] | ||
* [[basic.cfg|Server Basic Config file]] | * [[basic.cfg|Server Basic Config file]] | ||
* [[ | * [[Arma 3: Server Config File|Server Config File]] | ||
* [[server.armaprofile|Server Difficulty Settings File]] | * [[server.armaprofile|Server Difficulty Settings File]] | ||
Line 22: | Line 20: | ||
* Put your [[basic.cfg|Server Basic Config file]] to "D:\ArmA\basic.cfg" | * Put your [[basic.cfg|Server Basic Config file]] to "D:\ArmA\basic.cfg" | ||
* Put your [[ | * Put your [[Arma 3: Server Config File|Server Config File]] to "D:\ArmA\server.cfg" | ||
* Put your [[server.armaprofile|Server Difficulty Settings File]] to "D:\ArmA\Users\server\server.armaprofile" | * Put your [[server.armaprofile|Server Difficulty Settings File]] to "D:\ArmA\Users\server\server.armaprofile" | ||
Line 54: | Line 52: | ||
* Put your [[basic.cfg|Server Basic Config file]] to "/usr/home/arma-server/basic.cfg" | * Put your [[basic.cfg|Server Basic Config file]] to "/usr/home/arma-server/basic.cfg" | ||
* Put your [[ | * Put your [[Arma 3: Server Config File|Server Config File]] to "/usr/home/arma-server/server.cfg" | ||
* Put your [[server.armaprofile|Server Difficulty Settings File]] to "/usr/home/arma-server/server/server.armaprofile" | * Put your [[server.armaprofile|Server Difficulty Settings File]] to "/usr/home/arma-server/server/server.armaprofile" | ||
Line 71: | Line 69: | ||
== Links == | == Links == | ||
[http://sir-hc.gbks.net/files/index.php?dir=Armed+Assault%2FDedicatedServer%2F Example Setups at sir_hC] | [http://sir-hc.gbks.net/files/index.php?dir{{=}}Armed+Assault%2FDedicatedServer%2F Example Setups at sir_hC] | ||
{{Link|link= http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?act=ST;f=73;t=63934|text= Detailed forums discussion from CodeSkyWolf}} | |||
== See Also == | == See Also == | ||
Line 78: | Line 76: | ||
*[[ArmA: Startup Parameters]] | *[[ArmA: Startup Parameters]] | ||
*[[basic.cfg|Server Basic Config file]] | *[[basic.cfg|Server Basic Config file]] | ||
*[[ | *[[Arma 3: Server Config File|Server Config File]] | ||
*[[server.armaprofile|Server Difficulty Settings File]] | *[[server.armaprofile|Server Difficulty Settings File]] | ||
*[[Multiplayer_Server_Commands|Multiplayer Server Commands]] | *[[Multiplayer_Server_Commands|Multiplayer Server Commands]] | ||
Line 84: | Line 82: | ||
*[[ArmA: Version History]] | *[[ArmA: Version History]] | ||
{{GameCategory|arma1| Multiplayer}} | {{GameCategory|arma1|Multiplayer}} | ||
{{GameCategory|arma2|Multiplayer}} | {{GameCategory|arma2|Multiplayer}} | ||
Latest revision as of 13:36, 17 May 2024
Setting up a server is not easy and is not that obvious to do.
Basically, the server configuration consists of four elements:
Example Setups
Windows
Let's assume that ArmA is installed to "D:\Arma" and the Start in: property of the Windows shortcut is set to: "D:\Arma".
- Put your Server Basic Config file to "D:\ArmA\basic.cfg"
- Put your Server Config File to "D:\ArmA\server.cfg"
- Put your Server Difficulty Settings File to "D:\ArmA\Users\server\server.armaprofile"
- Command line / link target:
D:\ArmA\arma_server.exe -cfg=basic.cfg -config=server.cfg -profiles=D:\ArmA\Users\server -name=server -mod=@mod1;@mod2
The parameter requires the explicit path to the directory containing the "server.armaprofile" file and the default location for this is "Drive:\Documents and Settings\UserName\My Documents\ArmA Other Profiles". You may find the required command is longer than that permissible in the Windows Shortcut Target: option.
If so, simply create a batch command file to start ArmA_Server and point the Shortcut to it:-
Shortcut properties (following the convention above where ArmA is installed to "D:\Arma", but this time the server profile is in the default "D:\Documents and Settings\%UserName%\My Documents\Arma" location): Target: D:\Batch\ArmA_Server.cmd Start in: "D:\ArmA"
Note that the batch file name can be anything you wish, "ArmA_Server.cmd" is used in this example (the .cmd extension should be maintained). Batch file: ArmA_Server.cmd
Contents:
D:\ArmA\arma_server.exe -cfg=basic.cfg -config=server.cfg -profiles="D:\Documents and Settings\%UserName%\My Documents\ArmA" -mod=@mod1;@mod2
If you are troubleshooting a public server or want analyze detailed network log, you may enable logging using the parameter: -netlog (due to performance hit do not use otherwise). This will record to a netlog file in %localppdata% (in Arma 3, previously in the Arma directory) with very detailed information about network traffic.
Linux
Let's assume that ArmA is installed to "/usr/home/arma-server".
- Put your Server Basic Config file to "/usr/home/arma-server/basic.cfg"
- Put your Server Config File to "/usr/home/arma-server/server.cfg"
- Put your Server Difficulty Settings File to "/usr/home/arma-server/server/server.armaprofile"
- Command line / link target:
/usr/home/arma-server/server -cfg=basic.cfg -config=server.cfg -name=server -mod=@mod1\;@mod2\;@mod3
NOTE: this line is only for debugging. When you want to run the server permanently, edit and use the provided script "armaserver" that comes with the linux server files.
NOTE 2: the ';' denotes a line-end in Linux. So you have to put a backslash '\' in front of it to use multiple mods. Same if you use spaces in your directories: write 'my\ files'
NOTE 3: as alternative put the modline in quotes: "-mod=@mod1;@mod2;@mod3"
Links
Example Setups at sir_hC Detailed forums discussion from CodeSkyWolf (dead link)