Browse Source

fix: pending changes required

pull/4518/head
Cristopfer Luis 1 year ago
parent
commit
f319417504
  1. 1
      lgsm/data/almalinux-8.csv
  2. 1
      lgsm/data/almalinux-9.csv
  3. 1
      lgsm/data/centos-7.csv
  4. 1
      lgsm/data/centos-8.csv
  5. 1
      lgsm/data/centos-9.csv
  6. 1
      lgsm/data/debian-10.csv
  7. 1
      lgsm/data/debian-11.csv
  8. 1
      lgsm/data/debian-12.csv
  9. 1
      lgsm/data/debian-9.csv
  10. 1
      lgsm/data/rhel-7.csv
  11. 1
      lgsm/data/rhel-8.csv
  12. 1
      lgsm/data/rhel-9.csv
  13. 1
      lgsm/data/rocky-8.csv
  14. 1
      lgsm/data/rocky-9.csv
  15. 1
      lgsm/data/ubuntu-16.04.csv
  16. 1
      lgsm/data/ubuntu-18.04.csv
  17. 1
      lgsm/data/ubuntu-20.04.csv
  18. 1
      lgsm/data/ubuntu-22.04.csv
  19. 1
      lgsm/data/ubuntu-23.04.csv
  20. 1
      lgsm/data/ubuntu-23.10.csv
  21. 19
      lgsm/modules/info_game.sh
  22. 11
      lgsm/modules/info_messages.sh
  23. 7
      lgsm/modules/install_config.sh

1
lgsm/data/almalinux-8.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/almalinux-9.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/centos-7.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/centos-8.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/centos-9.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-10.csv

@ -53,6 +53,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 4.

1
lgsm/data/debian-11.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-12.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-9.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rhel-7.csv

@ -55,6 +55,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rhel-8.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rhel-9.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rocky-8.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rocky-9.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,zlib-devel
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-16.04.csv

@ -55,6 +55,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-18.04.csv

@ -55,6 +55,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-20.04.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-22.04.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-23.04.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-23.10.csv

@ -54,6 +54,7 @@ hl2dm
hldm
hldms
hw,lib32z1
hz
ins
inss
ios

Can't render this file because it has a wrong number of fields in line 2.

19
lgsm/modules/info_game.sh

@ -1328,6 +1328,23 @@ fn_info_game_hw() {
creativemode="${creativemode:-"NOT SET"}"
}
# Config Type: ini
# Parameters: true
# Comment: ; or #
# Example: ServerName=SERVERNAME
# Filetype: ini
fn_info_game_hz() {
if [ -f "${servercfgfullpath}" ]; then
fn_info_game_ini "adminpassword" "AdminPassword"
fn_info_game_ini "servername" "ServerName"
fi
adminpass="${adminpassword:-"NOT SET"}"
port="${port:-"0"}"
queryport="${queryport:-"0"}"
rconport="$((port + 2))"
servername="${servername:-"NOT SET"}"
}
# Config Type: parameters
# Parameters: true
# Comment:
@ -2335,6 +2352,8 @@ elif [ "${shortname}" == "fctr" ]; then
fn_info_game_fctr
elif [ "${shortname}" == "hw" ]; then
fn_info_game_hw
elif [ "${shortname}" == "hz" ]; then
fn_info_game_hw
elif [ "${shortname}" == "inss" ]; then
fn_info_game_inss
elif [ "${shortname}" == "jc2" ]; then

11
lgsm/modules/info_messages.sh

@ -1064,6 +1064,15 @@ fn_info_messages_hw() {
} | column -s $'\t' -t
}
fn_info_messages_hz() {
{
fn_port "header"
fn_port "Game" port udp
fn_port "Query" queryport udp
fn_port "RCON" rconport tcp
} | column -s $'\t' -t
}
fn_info_messages_ins() {
{
fn_port "header"
@ -1771,6 +1780,8 @@ fn_info_messages_select_engine() {
fn_info_messages_hcu
elif [ "${shortname}" == "hw" ]; then
fn_info_messages_hw
elif [ "${shortname}" == "hz" ]; then
fn_info_messages_hz
elif [ "${shortname}" == "ins" ]; then
fn_info_messages_ins
elif [ "${shortname}" == "inss" ]; then

7
lgsm/modules/install_config.sh

@ -495,6 +495,13 @@ elif [ "${shortname}" == "hl2dm" ]; then
fn_default_config_remote
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "hz" ]; then
fn_check_cfgdir
array_configs+=(GameUserSettings.ini)
fn_fetch_default_config
fn_default_config_remote
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "ins" ]; then
array_configs+=(server.cfg)
fn_fetch_default_config

Loading…
Cancel
Save