<filename>bnls/packets.py<gh_stars>1-10

# Standard BNLS packet constants
BNLS_NULL = 0x00
BNLS_CDKEY = 0x01
BNLS_LOGONCHALLENGE = 0x02
BNLS_LOGONPROOF = 0x03
BNLS_CREATEACCOUNT = 0x04
BNLS_CHANGECHALLENGE = 0x05
BNLS_CHANGEPROOF = 0x06
BNLS_UPGRADECHALLENGE = 0x07
BNLS_UPGRADEPROOF = 0x08
BNLS_VERSIONCHECK = 0x09
BNLS_CONFIRMLOGON = 0x0A
BNLS_HASHDATA = 0x0B
BNLS_CDKEY_EX = 0x0C
BNLS_CHOOSENLSREVISION = 0x0D
BNLS_AUTHORIZE = 0x0E
BNLS_AUTHORIZEPROOF = 0x0F
BNLS_REQUESTVERSIONBYTE = 0x10
BNLS_VERIFYSERVER = 0x11

BNLS_RESERVESERVERSLOTS = 0x12
BNLS_SERVERLOGONCHALLENGE = 0x13
BNLS_SERVERLOGONPROOF = 0x14
BNLS_VERSIONCHECKEX = 0x18
BNLS_VERSIONCHECKEX2 = 0x1A

# Non-standard packets (may not be supported on all servers)
BNLS_WARDEN = 0x7D
BNLS_IPBAN = 0xFF

<filename>bnls/packets.py<gh_stars>1-10

# Standard BNLS packet constants
BNLS_NULL = 0x00
BNLS_CDKEY = 0x01
BNLS_LOGONCHALLENGE = 0x02
BNLS_LOGONPROOF = 0x03
BNLS_CREATEACCOUNT = 0x04
BNLS_CHANGECHALLENGE = 0x05
BNLS_CHANGEPROOF = 0x06
BNLS_UPGRADECHALLENGE = 0x07
BNLS_UPGRADEPROOF = 0x08
BNLS_VERSIONCHECK = 0x09
BNLS_CONFIRMLOGON = 0x0A
BNLS_HASHDATA = 0x0B
BNLS_CDKEY_EX = 0x0C
BNLS_CHOOSENLSREVISION = 0x0D
BNLS_AUTHORIZE = 0x0E
BNLS_AUTHORIZEPROOF = 0x0F
BNLS_REQUESTVERSIONBYTE = 0x10
BNLS_VERIFYSERVER = 0x11

BNLS_RESERVESERVERSLOTS = 0x12
BNLS_SERVERLOGONCHALLENGE = 0x13
BNLS_SERVERLOGONPROOF = 0x14
BNLS_VERSIONCHECKEX = 0x18
BNLS_VERSIONCHECKEX2 = 0x1A

# Non-standard packets (may not be supported on all servers)
BNLS_WARDEN = 0x7D
BNLS_IPBAN = 0xFF

# Standard BNLS packet constants # Non-standard packets (may not be supported on all servers)