From b94e1adbe4e35c32bb338287ef2572afeac24fe4 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Mon, 21 Dec 2015 01:11:51 +0100 Subject: [PATCH] added hwunity3d matching the name in fn_monitor_query and hwserver as the serverport number isn't found into "${servercfgfullpath}" like for sdtd --- GameServerQuery/gsquery.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GameServerQuery/gsquery.py b/GameServerQuery/gsquery.py index a1380a5a7..70eb08951 100644 --- a/GameServerQuery/gsquery.py +++ b/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',