Browse Source

fix(unt): incorrect query port (#3654)

* Release v21.4.0

* fix queryport for Unturned

* fix queryport

remove +1 variable from queryport

* Revert "fix queryport for Unturned"

This reverts commit 3c1ccf21d7.

* add steamport port+1

Co-authored-by: Daniel Gibbs <[email protected]>
pull/3657/head
johnoclockdk 3 years ago
committed by GitHub
parent
commit
7ac60f2366
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lgsm/functions/info_game.sh
  2. 3
      lgsm/functions/info_messages.sh

3
lgsm/functions/info_game.sh

@ -1943,7 +1943,8 @@ fn_info_game_unt(){
# Parameters
servername=${selfname:-"NOT SET"}
port=${port:-"0"}
queryport=$((port+1))
queryport=${port}
steamport=$((port+1))
}
fn_info_game_ut(){

3
lgsm/functions/info_messages.sh

@ -800,7 +800,7 @@ fn_info_message_arma3(){
fn_port "header"
fn_port "Game" port udp
fn_port "Voice" voiceport udp
fn_port "Query Steam" queryport udp
fn_port "Query" queryport udp
fn_port "Steam Master" steammasterport udp
fn_port "Voice (unused)" voiceunusedport udp
fn_port "BattleEye" battleeyeport udp
@ -1517,6 +1517,7 @@ fn_info_message_unt(){
fn_port "header"
fn_port "Game" port udp
fn_port "Query" queryport udp
fn_port "Steam" steamport udp
} | column -s $'\t' -t
}

Loading…
Cancel
Save