Thread Rating:
  • 0 balsis - 0 vidēji
  • 1
  • 2
  • 3
  • 4
  • 5
Arma Reforger dedicated server
#1
SAITE AR ARMA 4
Arma Reforger ir pirmais solis Enfusion dzinēja iespēju demonstrēšanā un ir patstāvīga spēle pati par sevi.
Tomēr daudzas vides sistēmas, resursi, vēsturiskais konteksts, kā arī modifikāciju veidošanas rīki un funkcijas no Arma Reforger tiks izmantoti arī nākamajā Arma sērijas daļā, kopā ar virkni papildu satura.
Arma 4 tomēr tiks izdota kā neatkarīgs nosaukums un balstīsies uz visām mācībām, kas gūtas no Arma Reforger.

Kā uzstādīt Arma Reforger dedicated server uz linux'a
https://community.bistudio.com/wiki/Arma...er_Hosting

Kods:
Install SteamCMD - for the latest documentation, see https://developer.valvesoftware.com/wiki/SteamCMD
Download and install it (link on the SteamCMD page) - it will auto-update to the latest version
Set the install path with the force_install_dir command (otherwise the default location will be used, home/<username>/.steam/steam/steamcmd)
You can name the folder arma-reforger, armaR, armarserver, armarexpserver and etc
Login as anonymous - type in login anonymous
Download and install the server app_update 1874900
1890870 for experimental version
Quit SteamCMD quit


Configuring your server
Now comes the fun part, setting up your Arma Reforger game server to your liking.

To modify game server settings you will need to create the following json file

server.json

You can create these files in your exit folder

Edit the following to your liking
Kods:
{ "dedicatedServerId": "ar-gm-%profilename", "region": "EU", "gameHostBindAddress": "YOUR SERVER IP", "gameHostBindPort": 2001, "gameHostRegisterBindAddress": "YOUR SERVER IP", "gameHostRegisterPort": 2001, "adminPassword" : "YOUR ADMIN PASSWORD", "game": { "name": "YOUR SERVER NAME", "scenarioId": "{59AD59368755F41A}Missions/21_GM_Eden.conf", "playerCountLimit": 16, "visible": true, "password" : "YOUR SERVER PASSWORD maybe?", "gameMode": "", "supportedGameClientTypes": [ "PLATFORM_PC" ], "gameProperties": { "serverMaxViewDistance": 1600, "battleEye": true, "fastValidation": true }, "mods": [ ] } }

The IP will be what your PC is or the dedicated server you are running this on.

Add an incoming rule to your Windows Firewall to allow TCP/UDP port (game port) 27015, (Steam query port) 27016 (or whichever ports you decide to use)
"Kā cilvēks, kam trūkst pašcieņas, nav dīdzējs, bet nīcējs, tā arī tauta, kurai nav pašapziņas." K.Mīlenbahs
Atbilde
#2
Tā sakot, pirmais vakars beidzās ar dalēju neveiksmi - līdz spēlei netiku. Sevi ieraudzīju spēles sarakstos, bet pieslegties nespēju.

Tagad koncentrēsimies uz nepieciešamajiem pieslēgumiem:

https://community.bistudio.com/wiki/Arma...ver_Config
Default ports to be opened for hosting:
Port - Protocol - Optional - Reason
2001 - UDP - x - Public port
17777 -  UDP- V - A2S port
19999 - UDP - V- RCON port

A2S - https://developer.valvesoftware.com/wiki/Server_queries

A2S is a popular UDP-based game server query protocol that Valve Software maintains as a part of the Steam SDK. Many game engines support A2S natively, but if yours doesn’t, you can add support for A2S manually by using one of the A2S libraries for your preferred language (e.g., go-a2s for Golang, QueryMaster for C#).

Visit the Valve Software wiki page for server queries to learn more about the technical details of the A2S protocol, including the protocol specification, response body format, and a list of implementations in various languages.

To integrate a manual A2S implementation with Clanforge, you must configure at least the following variables:

Players

Max players

Map

Server name

It’s important to ensure that the values reported for Players and Max. Players in A2S_INFO responses are accurate. Clanforge uses these values to calculate and monitor resource usages on the machine. If the values are inaccurate or invalid (that is, in the wrong format), we won’t be able to manage resources properly, which could cause errors, game server crashes, or sub-optimal performance. We recommend that you also provide accurate maptype data, which allows us to report crashes by maptype.

You can use QStat to retrieve information from your game servers once you’ve added support for A2S (or another supported query protocol).
"Kā cilvēks, kam trūkst pašcieņas, nav dīdzējs, bet nīcējs, tā arī tauta, kurai nav pašapziņas." K.Mīlenbahs
Atbilde
« Vecāks | Jaunāks »


Pārlēkt uz:


Users browsing this thread: 1 Guest(s)