فهرست منبع

Added unreal4 query

Daniel Gibbs 8 سال پیش
والد
کامیت
58c8aa6a36
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      lgsm/functions/command_monitor.sh
  2. 1 1
      lgsm/functions/gsquery.py

+ 1 - 1
lgsm/functions/command_monitor.sh

@@ -79,7 +79,7 @@ fn_monitor_tmux(){
 		fn_print_ok_eol_nl
 		fn_print_ok_eol_nl
 		fn_script_log_pass "Checking session: OK"
 		fn_script_log_pass "Checking session: OK"
 		# runs gsquery check on game with specific engines.
 		# runs gsquery check on game with specific engines.
-		local allowed_engines_array=( avalanche2.0 avalanche3.0 goldsource idtech2 idtech3 idtech3_ql iw2.0 iw3.0 madness quake refractor realvirtuality source spark starbound unity3d unreal unreal2 )
+		local allowed_engines_array=( avalanche2.0 avalanche3.0 goldsource idtech2 idtech3 idtech3_ql iw2.0 iw3.0 madness quake refractor realvirtuality source spark starbound unity3d unreal unreal2 unreal4 )
 		for allowed_engine in "${allowed_engines_array[@]}"
 		for allowed_engine in "${allowed_engines_array[@]}"
 		do
 		do
 			if [ "${allowed_engine}" == "starbound" ]; then
 			if [ "${allowed_engine}" == "starbound" ]; then

+ 1 - 1
lgsm/functions/gsquery.py

@@ -17,7 +17,7 @@ class PythonGSQ:
         self.server_response_timeout = 5
         self.server_response_timeout = 5
         self.default_buffer_length = 1024
         self.default_buffer_length = 1024
         #
         #
-        sourcequery=[ 'avalanche3.0','madness','quakelive','realvirtuality','refractor','source','goldsource','spark','starbound','unity3d']
+        sourcequery=[ 'avalanche3.0','madness','quakelive','realvirtuality','refractor','source','goldsource','spark','starbound','unity3d', 'unreal4' ]
         idtech3query=['idtech3','quake','iw3.0']
         idtech3query=['idtech3','quake','iw3.0']
         idtech2query=['idtech2','iw2.0']
         idtech2query=['idtech2','iw2.0']
         if self.option.engine in sourcequery:
         if self.option.engine in sourcequery: