Jump to content
  • 0
Sign in to follow this  
DirtySanchez

[DEC2017] Arma 3 EpochMod Server Installation and Setup

Question

Server Installation

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
     

2. Setup a new folder on your drive

  • 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

  • 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


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

 

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×