diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh index 133365fd8..24d9c0c68 100644 --- a/lgsm/functions/info_parms.sh +++ b/lgsm/functions/info_parms.sh @@ -77,6 +77,7 @@ fn_info_parms_projectzomboid(){ fn_info_parms_quakeworld(){ port=${port:-"0"} + queryport=${port} } fn_info_parms_quake2(){ diff --git a/lgsm/functions/query_gamedig.sh b/lgsm/functions/query_gamedig.sh index 8fa8d1b45..affef935c 100644 --- a/lgsm/functions/query_gamedig.sh +++ b/lgsm/functions/query_gamedig.sh @@ -30,6 +30,14 @@ if [ "$(command -v gamedig 2>/dev/null)" ]&&[ "$(command -v jq 2>/dev/null)" ]; fi done + local engine_query_array=( quake ) + for engine_query in "${engine_query_array[@]}" + do + if [ "${engine_query}" == "${engine}" ]; then + gamedigengine="protocol-quake1" + fi + done + local engine_query_array=( idtech2 iw2.0 ) for engine_query in "${engine_query_array[@]}" do @@ -38,7 +46,7 @@ if [ "$(command -v gamedig 2>/dev/null)" ]&&[ "$(command -v jq 2>/dev/null)" ]; fi done - local engine_query_array=( idtech3 quake iw3.0 ) + local engine_query_array=( idtech3 iw3.0 ) for engine_query in "${engine_query_array[@]}" do if [ "${engine_query}" == "${engine}" ]; then diff --git a/lgsm/functions/query_gsquery.py b/lgsm/functions/query_gsquery.py index 3f8ec590b..e5dd40463 100644 --- a/lgsm/functions/query_gsquery.py +++ b/lgsm/functions/query_gsquery.py @@ -18,8 +18,8 @@ class gsquery: self.default_buffer_length = 1024 # sourcequery=[ 'avalanche3.0','madness','quakelive','realvirtuality','refractor','source','goldsource','spark','starbound','unity3d', 'unreal4', 'wurm' ] - idtech3query=['idtech3','quake','iw3.0'] - idtech2query=['idtech2','iw2.0'] + idtech3query=['idtech3','iw3.0'] + idtech2query=['idtech2','quake','iw2.0'] minecraftquery=['minecraft','lwjgl2'] if self.option.engine in sourcequery: self.query_prompt_string = b'\xFF\xFF\xFF\xFFTSource Engine Query\0'