Просмотр исходного кода

changed Quake Live engine to idtech3_ql

Quake live uses modified version of idtech3 that has config and query
differences.
Daniel Gibbs 9 лет назад
Родитель
Сommit
fda09fb22e
3 измененных файлов с 4 добавлено и 2 удалено
  1. 1 1
      QuakeLive/qlserver
  2. 1 1
      lgsm/functions/command_details.sh
  3. 2 0
      lgsm/functions/monitor_gsquery.sh

+ 1 - 1
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]}"))"

+ 1 - 1
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

+ 2 - 0
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