Master server written in Python. Replacement for HLMaster
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
355 B

class MasterProtocol:
# Client To Master
clientQuery = b'1'
# Server To Master
challengeRequest = b'q\xFF'
addServer = b'0\n'
removeServer = b'\x62\x0A'
# Master To Client
# queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a'
queryPacketHeader = b'\xff\xff\xff\xff\x7f\x0a'
# Master To Server
challengePacketHeader = b'\xff\xff\xff\xff\x73\x0a'