How to run a dedicated server

From Overthrow
Jump to: navigation, search

Please Note: This guide assumes at least a basic knowledge in running Arma 3 dedicated servers. Please refer to the Arma 3 documentation at https://community.bistudio.com/wiki/Arma_3_Dedicated_Server for more information.

Installation

With your dedicated server already setup (with APEX) and running a vanilla installation, you simply need to copy the following folders from your Arma 3 root folder (or "!Workshop" folder within that root):

  • @CBA_A3
  • @ace
  • @Overthrow

Copy these folders as is to your server's root folder.

Command Line

You need to load all 3 mods on your server using the "-mod" commandline parameter in this order:

-mod=@CBA_A3;@ace;@Overthrow;

MPMissions?

You DO NOT need anything in your mpmissions folder, all Overthrow missions are included with the mod, simply use the mission voting screen or put the following in your server.cfg:

class Missions
{
	class Overthrown
	{
		template = "OverthrowTanoaMP.Tanoa";
		difficulty = "custom";
	};
};

Server keys

Copy the key signatures to your server's "Keys" folder as you would for any other mod. Each of those 3 folders contains a "keys" folder, copy all of the ".bikey" files from them to your server's own "/Keys" folder.

Updating

You need to ensure your server is always up to date with the latest versions or players that have already updated via steam will be kicked off. Make sure to repeat the "server keys" step above, and clear out older .bikey files as you do.

The Persistent Save is located in a different location to the mod, so you are free to delete the @Overthrow folder and replace it.

Recommended Difficulty Settings (Custom)

Put the following in username.Arma3Profile (ie /A3DS/Profiles/Users/SYSTEM/SYSTEM.Arma3Profile). Choose "Custom" difficulty when voting for the mission.

class DifficultyPresets
{
	class CustomDifficulty
	{
		class Options
		{
			groupIndicators=2;
			friendlyTags=2;
			enemyTags=0;
			detectedMines=2;
			commands=2;
			waypoints=2;
			weaponInfo=2;
			stanceIndicator=2;
			reducedDamage=1;
			staminaBar=1;
			weaponCrosshair=0;
			visionAid=0;
			thirdPersonView=1;
			cameraShake=1;
			scoreTable=0;
			deathMessages=0;
			vonID=1;
			mapContent=1;
			autoReport=1;
			multipleSaves=1;
			squadRadar=0;
		};
		aiLevelPreset=0;
	};
};


Headless clients

A headless client is another copy of the game running on a separate computer to reduce AI load on a server and regain FPS on both the server and all connected clients. Overthrow supports up to 4 headless clients but feel free to add more if you know how. Headless clients do not need a GPU, just a decent CPU (hence the term 'headless').

To run a headless client on Windows you need another licensed copy of Arma 3 + APEX. Then copy the 3 required mods into your Arma 3 root folder and put the following in a .bat file (changing parameters as required).

cd /D "C:\Program Files (x86)\Steam\steamapps\common\Arma 3"
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3server.exe" -client -connect=43.245.163.150 -port=2502 -mod=@CBA_A3;@ace;@Overthrow;

Double click the .bat file and it should connect to your server as "headlessclient" and begin taking load when you next spawn in any units.

Please note: Recruited units/squads currently remain local to their owner. This can cause undue load on your system if you have a lot of them (even when running a headless client). This will be revisited but be aware for now.

FAQ

What happens when no one is online?

Time will still pass at the same rate. NATO will not begin any attacks. Criminal gangs will not be created but existing ones will remain. Radio towers and police stations will NOT affect stability.

What happens when I disconnect/reconnect (or crash)?

Your recruited AI will remain doing whatever it was they were doing, you will regain control of them when you reconnect. The loadout you had at disconnection will be re-applied on connection. Your money, owned buildings and all character progress etc will all be retained per server.

Why can't I vote for the Overthrow mission once I start my ARMA client?

You may need to set these parameters in your server.cfg: voteMissionPlayers = 1; voteThreshold = 0.33;

How do I load my persistent save?

Restart your server and select the mission again (or use the #restart admin command) then choose "Load Persistent Save".