1111import sys
1212
1313engine_types = ('protocol-valve' , 'protocol-quake2' , 'protocol-quake3' , 'protocol-gamespy1' ,
14- 'protocol-unreal2' , 'ut3' , 'minecraft' , 'minecraftbe' , 'jc2mp ' , 'mumbleping' , 'soldat' , 'teeworlds' )
14+ 'protocol-unreal2' , 'ut3' , 'minecraft' , 'minecraftbe' , 'jc2m ' , 'mumbleping' , 'soldat' , 'teeworlds' )
1515
1616
1717class gsquery :
@@ -23,7 +23,7 @@ class gsquery:
2323 idtech3query = ('protocol-quake3' , 'iw3.0' , 'ioquake3' , 'qfusion' )
2424 minecraftquery = ('minecraft' , 'lwjgl2' )
2525 minecraftbequery = ('minecraftbe' )
26- jc2mpquery = ('jc2mp ' )
26+ jc2mquery = ('jc2m ' )
2727 mumblequery = ('mumbleping' )
2828 soldatquery = ('soldat' )
2929 twquery = ('teeworlds' )
@@ -40,7 +40,7 @@ def __init__(self, arguments):
4040 self .query_prompt_string = b'\xff \xff \xff \xff status\x00 '
4141 elif self .argument .engine in self .idtech3query :
4242 self .query_prompt_string = b'\xff \xff \xff \xff getstatus'
43- elif self .argument .engine in self .jc2mpquery :
43+ elif self .argument .engine in self .jc2mquery :
4444 self .query_prompt_string = b'\xFE \xFD \x09 \x10 \x20 \x30 \x40 '
4545 elif self .argument .engine in self .minecraftquery :
4646 self .query_prompt_string = b'\xFE \xFD \x09 \x3d \x54 \x1f \x93 '
0 commit comments