Browse Source

refactor(av): update querymode in avserver config

The querymode value in the avserver config file has been changed from 5 to 1. TCP query done on rcon port which may not be on
pull/4288/head
Daniel Gibbs 2 years ago
parent
commit
1ea6ebb4ee
  1. 2
      lgsm/config-default/config-lgsm/avserver/_default.cfg
  2. 5
      lgsm/modules/info_game.sh

2
lgsm/config-default/config-lgsm/avserver/_default.cfg

@ -137,7 +137,7 @@ stopmode="10"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="5" querymode="1"
querytype="" querytype=""
## Console type ## Console type

5
lgsm/modules/info_game.sh

@ -323,9 +323,8 @@ fn_info_game_av() {
rconenabled="${rconenabled:-"false"}" rconenabled="${rconenabled:-"false"}"
rconpassword="${rconpassword:-"NOT SET"}" rconpassword="${rconpassword:-"NOT SET"}"
rconport="${rconport:-"0"}" rconport="${rconport:-"0"}"
# queryport is port + 3 # queryport doesnt respond to any queries, using session only.
# this doesnt respond to any queries, using tcp query on rconport instead. queryport=""$((port + 3))""
queryport="${rconport:-"0"}"
servername="${servername:-"NOT SET"}" servername="${servername:-"NOT SET"}"
serverpassword="${serverpassword:-"NOT SET"}" serverpassword="${serverpassword:-"NOT SET"}"
steamport="$((port + 21))" steamport="$((port + 21))"

Loading…
Cancel
Save