Browse Source

fix jc2mp query name

pull/4740/head
Daniel Gibbs 3 months ago
parent
commit
ab2018e4ed
  1. 2
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  2. 2
      lgsm/modules/query_gsquery.py

2
lgsm/config-default/config-lgsm/jc2server/_default.cfg

@ -134,7 +134,7 @@ stopmode="2"
# 4: gsquery
# 5: tcp
querymode="2"
querytype="jc2m"
querytype="jc2mp"
## Console type
consoleverbose="yes"

2
lgsm/modules/query_gsquery.py

@ -40,7 +40,7 @@ class gsquery:
self.query_prompt_string = b'\xff\xff\xff\xffstatus\x00'
elif self.argument.engine in self.idtech3query:
self.query_prompt_string = b'\xff\xff\xff\xffgetstatus'
elif self.argument.engine in self.jc2mquery:
elif self.argument.engine in self.jc2mpquery:
self.query_prompt_string = b'\xFE\xFD\x09\x10\x20\x30\x40'
elif self.argument.engine in self.minecraftquery:
self.query_prompt_string = b'\xFE\xFD\x09\x3d\x54\x1f\x93'

Loading…
Cancel
Save