1111import sys
1212
1313engine_types = ('protocol-valve' , 'protocol-quake2' , 'protocol-quake3' , 'protocol-gamespy1' ,
14- 'protocol-unreal2' , 'ut3' , 'minecraft' , 'minecraftbe' , 'jc2m ' , 'mumbleping' , 'soldat' , 'teeworlds' )
14+ 'protocol-unreal2' , 'ut3' , 'minecraft' , 'minecraftbe' , 'jc2mp ' , 'mumbleping' , 'soldat' , 'teeworlds' )
1515
1616
1717class gsquery :
@@ -22,11 +22,11 @@ class gsquery:
2222 idtech2query = ('protocol-quake2' , 'idtech2' , 'quake' , 'iw2.0' )
2323 idtech3query = ('protocol-quake3' , 'iw3.0' , 'ioquake3' , 'qfusion' )
2424 minecraftquery = ('minecraft' , 'lwjgl2' )
25- minecraftbequery = ('minecraftbe' , )
26- jc2mquery = ('jc2m' , )
27- mumblequery = ('mumbleping' , )
28- soldatquery = ('soldat' , )
29- twquery = ('teeworlds' , )
25+ minecraftbequery = ('minecraftbe' )
26+ jc2mpquery = ('jc2mp' )
27+ mumblequery = ('mumbleping' )
28+ soldatquery = ('soldat' )
29+ twquery = ('teeworlds' )
3030 unrealquery = ('protocol-gamespy1' , 'unreal' )
3131 unreal2query = ('protocol-unreal2' , 'unreal2' )
3232 unreal3query = ('ut3' , 'unreal3' )
@@ -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 .jc2mquery :
43+ elif self .argument .engine in self .jc2mpquery :
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