Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(newserver): Arma Reforger #3871

Merged
merged 11 commits into from
Jun 2, 2022
10 changes: 6 additions & 4 deletions lgsm/functions/info_game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,24 @@ fn_info_game_arma3(){

fn_info_game_armar(){
if [ -f "${servercfgfullpath}" ]; then
adminpassword=$(jq -r '.adminPassword' "${servercfgfullpath}")
configip=$(jq -r '.gameHostBindAddress' "${servercfgfullpath}")
maxplayers=$(jq -r '.game.playerCountLimit' "${servercfgfullpath}")
port=$(jq -r '.gameHostBindPort' "${servercfgfullpath}")
queryport=$(jq -r '.steamQueryPort' "${servercfgfullpath}")
servername=$(jq -r '.game.name' "${servercfgfullpath}")
serverpassword=$(jq -r '.game.password' "${servercfgfullpath}")
maxplayers=$(jq -r '.game.playerCountLimit' "${servercfgfullpath}")
adminpassword=$(jq -r '.adminPassword' "${servercfgfullpath}")
battleeyeport=1376
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't confirm that 1376 is a BattlEye port. I don't found any information about this in official documentation. On official Arma discord this port is call "unknown" and can be close.

Copy link
Contributor

@FliesWithWind FliesWithWind Jun 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BattlEye port can be set by creating BEServer_x64.cfg in battleye folder.

RConIP 192.168.99.99
RConPort 9999
RConPassword rcon_password

Copy link
Contributor

@Marcin648 Marcin648 Jun 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and no. BattlEye RCON port is not the same that be client port. For example in Arma3 if BE is enabled, they listen on game port + 4 UDP, but if is disabled they don't. In armar always listen on port 1376. ¯\(ツ)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.



# Not set
adminpassword=${adminpassword:-"NOT SET"}
configip=${configip:-"0.0.0.0"}
maxplayers=${maxplayers:-"0"}
port=${port:-"0"}
queryport=${queryport:-"0"}
servername=${servername:-"NOT SET"}
serverpassword=${serverpassword:-"NOT SET"}
maxplayers=${maxplayers:-"0"}
adminpassword=${adminpassword:-"NOT SET"}
else
port=${port:-"0"}
servername="${unavailable}"
Expand Down
1 change: 1 addition & 0 deletions lgsm/functions/info_messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,7 @@ fn_info_message_armar(){
fn_port "header"
fn_port "Game" port udp
fn_port "Steam Query" queryport udp
fn_port "BattleEye" battleeyeport udp
} | column -s $'\t' -t
}

Expand Down