Tutorial: How to run ArmA3 -server on a dedicated server

Démarré par Cirav, 06 Mars 2013 à 12:48:06

« précédent - suivant »

0 Membres et 1 Invité sur ce sujet

Cirav

Tutorial: How to run ArmA3 -server on a dedicated server

http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server


There is no DEDICATED SERVER.exe for Windows or Linux YET
This is a temporary workaround until the Dedicated Server executables are available


You can use the same ArmA 3 key/Steam Account to run a -server on a remote box and then connect to it and play online using that same account version of ArmA 3 on a client install
This is how you do it.


  • (This is a quick and dirty tutorial, if anyone wants to go into more specifics then please feel free to add content)
  • Download and install steam and ArmA 3 Alpha on your client
  • Download and install steam / ArmA 3 Alpha on the dedicated server
  • Make sure you save the login details for steam on the server
  • Create a shortcut for the ArmA3.exe on the server desktop
  • Add the following parameters to the Target Line in the shortcut tab of the newly created desktop shortcut
  • -server -config=A3TestServer.cfg
  • so it looks something similar to the following
    "C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\arma3.exe" -server -config=A3Testserver.cfg
  • Add firewall rules for the UDP ports inbound 2302 etc
  • Create a simple Notepad document called "A3TestServer.cfg" and save it to the root folder of your ArmA3 install on the server (See below for content of that file)
  • Then set your Steam account on the server to OFFLINE Mode
  • Then start up your shortcut
  • Start up your client steam version of A3 and you should then be able to see and join your server and play on it




Once you have it up and running then you can start adding bandwidth definitions etc




What cannot be done


  • AFAIK you cannot run a -server version and a client version on the same machine at the same time. Steam will not allow this
  • AFAIK it is also not possible to run 2 instances of -server on the same machine at the same time because of steam. (I'm sure this will not be the case when the dedicated files are made available)




A3TestServer.cfg

Code:
// GLOBAL SETTINGS
hostname         = "ADD YOUR SERVER NAME HERE";        // The name of the server that shall be displayed in the public server list
//password         = "PasswordToGetOnTheServer";                // Password for joining, eg connecting to the server
passwordAdmin         = "AdminLoginPassword";                // Password to become server admin.


// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed at all but are only for increasing the interval

motd[] = {

    "whatever you want to say to guests as they log on",
    "",
    "and some more lines",
    "",
    ""
};
motdInterval = 5;                         // Time interval (in seconds) between each message

// JOINING RULES

maxPlayers          = 30;                // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.

// VOTING
voteMissionPlayers     = 1;             // Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold         = 0.33;          // 33% or more players need to vote for something, for example an admin or a new map, to become effective

// INGAME SETTINGS
disableVoN         = 0;                   // If set to 1, Voice over Net will not be available
vonCodecQuality     = 8;             // Quality from 1 to 10
persistent         = 1;                    // If 1, missions still run on even after the last player disconnected.


Daedalus