From fda09fb22e22466362d2c35ae0a79d9aa518802a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 14 Oct 2016 22:34:09 +0100 Subject: [PATCH] changed Quake Live engine to idtech3_ql Quake live uses modified version of idtech3 that has config and query differences. --- QuakeLive/qlserver | 2 +- lgsm/functions/command_details.sh | 2 +- lgsm/functions/monitor_gsquery.sh | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/QuakeLive/qlserver b/QuakeLive/qlserver index f1283d2a0..accf6aadf 100755 --- a/QuakeLive/qlserver +++ b/QuakeLive/qlserver @@ -67,7 +67,7 @@ branch="" # Server Details servicename="ql-server" gamename="Quake Live" -engine="idtech3" +engine="idtech3_ql" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" diff --git a/lgsm/functions/command_details.sh b/lgsm/functions/command_details.sh index 60f244407..539b57c48 100644 --- a/lgsm/functions/command_details.sh +++ b/lgsm/functions/command_details.sh @@ -290,7 +290,7 @@ fn_details_ports(){ parmslocation="${red}UNKNOWN${default}" # engines that require editing in the config file - local ports_edit_array=( "avalanche" "dontstarve" "idtech3" "lwjgl2" "projectzomboid" "refractor" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "TeamSpeak 3" "Mumble" "7 Days To Die" ) + local ports_edit_array=( "avalanche" "dontstarve" "idtech3" "lwjgl2" "projectzomboid" "idtech3_ql" "refractor" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "TeamSpeak 3" "Mumble" "7 Days To Die" ) for port_edit in "${ports_edit_array[@]}" do if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then diff --git a/lgsm/functions/monitor_gsquery.sh b/lgsm/functions/monitor_gsquery.sh index 02ce17ab4..2c8b2902b 100644 --- a/lgsm/functions/monitor_gsquery.sh +++ b/lgsm/functions/monitor_gsquery.sh @@ -29,6 +29,8 @@ if [ "${gsquery}" == "yes" ]; then port=$((port + 1)) elif [ "${engine}" == "spark" ]; then port=$((port + 1)) + elif [ "${engine}" == "idtech3_ql" ]; then + engine="quakelive" fi if [ -n "${queryport}" ]; then