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

added hwunity3d

matching the name in fn_monitor_query and hwserver as the serverport number isn't found into "${servercfgfullpath}" like for sdtd
UltimateByte 10 лет назад
Родитель
Сommit
b94e1adbe4
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      GameServerQuery/gsquery.py

+ 3 - 1
GameServerQuery/gsquery.py

@@ -27,6 +27,8 @@ class GameServer:
 			self.query_prompt_string = '\xFF\xFF\xFF\xFFTSource Engine Query\0'
 		if self.option.engine == 'unity3d':
 			self.query_prompt_string = '\xFF\xFF\xFF\xFFTSource Engine Query\0'
+		if self.option.engine == 'hwunity3d':
+			self.query_prompt_string = '\xFF\xFF\xFF\xFFTSource Engine Query\0'
 		elif self.option.engine == 'unreal':
 			self.query_prompt_string = '\x5C\x69\x6E\x66\x6F\x5C'
 		elif self.option.engine == 'unreal2':
@@ -101,7 +103,7 @@ if __name__ == '__main__':
 		action = 'store',
 		dest = 'engine',
 		default = False,
-		help = 'Engine type: avalanche, goldsource, realvirtuality, spark, source, unity3d, unreal, unreal2.'
+		help = 'Engine type: avalanche, goldsource, realvirtuality, spark, source, unity3d, hwunity3d, unreal, unreal2.'
 	)
 	parser.add_option(
 		'-v', '--verbose',