Jump to content
  • 0

[DEC2017] Arma 3 EpochMod Server Installation and Setup - [NOV2020] FireDaemon Tutorial Link


DirtySanchez

Question

Server Installation

[NOV2020] Thank you @PAL-18 for the DM with a link to your newly updated info for Arma 3 Dedicated Server Setup Under FireDaemon Pro
https://kb.firedaemon.com/support/solutions/articles/4000086687


[DEC2017] Instructions below
Difficulty Level: Medium
Time to invest: Depends upon knowledge of Arma 3 but should be a few hours with 20/20/20 breaks

** 20/20/20: Every 20 minutes, get up and focus on something 20 ft away for at least 20 seconds :wink:

1. Download Arma 3 Server files by going into Steam -> LIBRARY -> TOOLS

  •  This will download to your Steam Library folder. (most likely in program files -> steam -> steamapps -> common) 
  •  OPTIONALLY you can install SteamCMD and download arma 3 server from there
    • Create a folder for SteamCMD (e.g. C:\Servers\SteamCMD)
    • Create a folder for your Server (e.g. C:\Servers\EpochServer)
    • Download SteamCMD: http://media.steampowered.com/installer/steamcmd.zip
    • Paste the SteamCMD.exe into your created SteamCMD folder
    • Create an empty file "Update_Arma.bat" in your SteamCMD folder
    • Open this file with notepad(++) and paste this code into this file:
    • @echo off
      @rem http://media.steampowered.com/installer/steamcmd.zip
      SETLOCAL ENABLEDELAYEDEXPANSION
             :: DEFINE the following variables where applicable to your install
          SET STEAMLOGIN=mylogin mypassword
          SET A3serverBRANCH=233780 -beta
              :: For stable use 233780 -beta
              :: For Dev use 233780 -beta development
                      :: Note, the missing qotation marks, these need to be wrapped around the entire "+app_data......"
                      :: There is no DEV branch data yet for Arma 3 Dedicated Server package !!!
          SET A3serverPath=C:\Servers\EpochServer\
          SET STEAMPATH=C:\Servers\SteamCMD\
      :: _________________________________________________________
      echo.
      echo     You are about to update ArmA 3 server
      echo        Dir: %A3serverPath%
      echo        Branch: %A3serverBRANCH%
      echo.
      echo     Key "ENTER" to proceed
      pause
      %STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %A3serverPath% +"app_update %A3serverBRANCH%" validate +quit
      echo .
      echo     Your ArmA 3 server is now up to date
      echo     key "ENTER" to exit
      pause

       

    • Enter your Steam Login and optional your Server / Steam path (folder)
    • Save this file and run it to install / update your Arma3 Server

2. Setup a new folder on your drive (Skip this when using steamCMD)

  • If only hosting a single server, simply "EpochServer" is fine
  • If needing to install multiple server, you can alternately name this "EpochServers" and make a subfolder "EpochMapName" for the server

    * FOR THE REST OF THIS SETUP WE WILL REFER TO THE SERVER FOLDER AS "EpochServer"


3. Move your Arma 3 Server files over to your new folder to start building your Epoch Server (Skip this when using steamCMD)

  • Copy and Pasting these files will work just fine


4. Copy the Client Files to your Server

  • Copy your @Epoch folder to the "EpochServer"
  • By default it should be located in "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Epoch"
  • Optionally you can download these files also from http://epochmod.com -> Downloads -> Client


5. Copy the Server Files to your Server

  • Download the Server files from here: https://github.com/EpochModTeam/Epoch
    • Click on the green button "Clone or download" and download the Zip file
  • Unzip the downloaded file and go into the Server_Install_Pack folder
  • Copy the contents of the Server_Install_Pack into your "EpochServer" main root


6. Setup your preferences of your epoch server

     A. Location:  "EpochServer"\sc\server.cfg

     B. Location: "EpochServer"\@epochHive\epochAH.hpp

     C. Location: "EpochServer"\@epochHive\epochConfig.hpp

     D. Location: "EpochServer"\@epochHive\epochServer.ini 


7. Setup your database config
    Location: "EpochServer"\DB\redis.conf


8. Setup your preferences of your epoch server
    Location: "EpochServer"\sc\battleye\beserver.cfg or beserver_x64.cfg


9. These below are part of epoch_server_settings.pbo.  The links provided are to the source files on github for example purposes.

    Location: "EpochServer"\@epochHive\epoch_server_settings.pbo\
   A. config.cpp

   B. configs\maps\yourmapname.h

   C. configs\CfgLootTable.h

   D. configs\CfgMainTable.h



10. These below are part of mission file pbo.  The links provided are to the source files on github for example purposes.
    Location:   "EpochServer"\mpmissions\epoch.yourMapName

   A. epoch_configs\Configs\CfgEpochClient.hpp

    B. epoch_configs\Configs\Cfg*.hpp <- refers to all the Cfg hpp files

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

PORTS
    
A lot of people have confusion on ports, there should not be any at all.
ARMA 3 for this example GAME PORT is 2302
Query Port which is for server lists, gametracker, battlemetrics, etc
BE Port which was recently added is dedicated to battleye traffic and will help ease the load on our other ports.
RCON Port this is setup by you and can be several different choices.

Game Port: 2302 (Your Choice)
Query Port: 2303 (A3 Default is Game Port+1)
BE Port: 2306 (A3 Default is Game Port +4)
RCON Port: 2307 (suggested Game Port +5)

EDITS
battleye config: https://github.com/EpochModTeam/Epoch/blob/experimental/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg#L1-L2
 and
epochserver.ini: https://github.com/EpochModTeam/Epoch/blob/experimental/Server_Install_Pack/%40epochhive/EpochServer.ini#L1-L8
 

REDIS DATABASE

Redis database needs to be running for the server to start up properly.
I recommend a relaxed importance on restarting this redis instance.
I restart redis about once every week or two.

EDITS
EpochServer.ini: https://github.com/EpochModTeam/Epoch/blob/experimental/Server_Install_Pack/%40epochhive/EpochServer.ini#L10-L14
 and 
redis.conf: https://github.com/EpochModTeam/Epoch/blob/experimental/Server_Install_Pack/DB/redis.conf

Link to comment
Share on other sites

  • 0

SERVER RESTART, FIREWALL RULES and MONITORING

Restart batch files are an important way to get everything up and running properly.
I have built over the years a nice startup that will handle most hosts needs.
Once the server is started, we can rely on Epoch's built in shutdown timer.
Thus using a monitor will allow for a smooth restart every time and within a few minutes of shutting down.
Firewall rules can be very easy or it can feel very difficult and frustrating.
Its always safe to just open up the Firewall Rules in Windows and just add your new rules.
After a few years I choose to use a firewall toggle within my restart batch files.

Example files(Edit to your needs):
https://github.com/EpochModTeam/Epoch/blob/experimental/Server_Install_Pack/restartserver_x64-example.bat
https://github.com/EpochModTeam/Epoch/blob/experimental/Server_Install_Pack/servermonitor-example.bat

 

LOOT AND VEHICLES CONFIG

By default Epoch will perform as intended with the base Epoch and A3 assets.
If you would like to use a mod Epoch has setup already for compatiblity
These configs are here: 
https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/%40epochhive/epochconfig.hpp#L96-L97
For example if you would like to add CUP weapons and vehicles to your server use this:

forcedVehicleSpawnTable = "allowedVehiclesList_CUP";
forcedLootSpawnTable = "CfgLootTable_CUP";


If you are using another mod/addon with assets for these categories you can customize the lists in these files here:

Vehicles default array:
https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/config.cpp#L100

Loot default array:
https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/configs/CfgLootTable.h
Other Loot default array: <- includes everything else Epoch allows you to loot, ie animals, ambient objects, missions, etc
https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/configs/CfgMainTable.h

Link to comment
Share on other sites

  • 0

NEW BUILDINGS LOOT POSITIONS

This will help get a new map with new buildings into the loot system much easier.

1. Gather all the new buildings without loot positions already added.
https://github.com/EpochModTeam/Epoch/blob/release/Tools/SQF/getBuildingsNotSetupYet.sqf

2. Once you have your list of new buildings, spawn each one in and use this function to get new loot object positions
https://github.com/EpochModTeam/Epoch/blob/release/Tools/SQF/saveLootPositionsVector.sqf

3. Now you have to add your new buildings and positions into your epoch config here:
https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_config/Configs/CfgBuildingLootPos.hpp


Here is a list of EPOCH loot object classnames:
 

Toilet_EPOCH
Filing_EPOCH
Shoebox_EPOCH
ToolRack_EPOCH
ChairRed_EPOCH
Chair_EPOCH
Table_EPOCH
Couch_EPOCH
Bunk_EPOCH
Bed_EPOCH
Pelican_EPOCH
Freezer_EPOCH
Cabinet_EPOCH
Fridge_EPOCH
Shelf_EPOCH
cooker_epoch
locker_epoch
wardrobe_epoch
Tarp_EPOCH

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
  • Discord

×
×
  • Create New...