Browse Source

fix dst

pull/4200/head
Daniel Gibbs 2 years ago
parent
commit
5b6dccca98
  1. 4
      .github/workflows/details-check.yml
  2. 3
      lgsm/modules/command_dev_details.sh
  3. 6
      lgsm/modules/info_game.sh

4
.github/workflows/details-check.yml

@ -31,8 +31,8 @@ jobs:
matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }}
steps:
- name: Install xmllint
run: sudo apt-get install libxml2-utils
- name: Install dependencies
run: sudo apt-get install libxml2-utils jq
- name: Download linuxgsm.sh
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/feature/info_game-refactor/linuxgsm.sh; chmod +x linuxgsm.sh

3
lgsm/modules/command_dev_details.sh

@ -8,6 +8,9 @@
if [ -f "config" ]; then
servercfgfullpath="config"
fi
if [ -f "clusterconfig" ]; then
clustercfgfullpath="clusterconfig"
fi
info_game.sh

6
lgsm/modules/info_game.sh

@ -398,9 +398,9 @@ fn_info_game_dst() {
fn_info_game_ini "configip" "bind_ip" "${clustercfgfullpath}"
fi
if [ -f "${servercfgfullpath}" ]; then
fn_info_game_ini "port" "server_port" "${clustercfgfullpath}"
fn_info_game_ini "steamauthport" "authentication_port" "${clustercfgfullpath}"
fn_info_game_ini "steammasterport" "master_server_port" "${servercfgfullpath}"
fn_info_game_ini "port" "server_port"
fn_info_game_ini "steamauthport" "authentication_port"
fn_info_game_ini "steammasterport" "master_server_port"
fi
cave="${cave:-"NOT SET"}"
cluster="${cluster:-"NOT SET"}"

Loading…
Cancel
Save