Transport Layer:Transmission Control Protocol (TCP)
Application Layer:BNLS Messages (BNLS)
Message Id:0x13
Direction:Client to Server
Used By:Warcraft III Reign of Chaos, Warcraft III The Frozen Throne
Message Format:
(does not include protocol header)
(UINT32) Slot index
(UINT32) NLS revision number
(UINT32) [16] Data from account database
(UINT32) [8] Data client's SID_AUTH_ACCOUNTLOGON (0x53) request


This message initializes a new logon checking session and calculates the values needed for the server's reply to SID_AUTH_ACCOUNTLOGON (0x53).
BNLS_RESERVESERVERSLOTS(0x12) must be sent before this message to reserve slots for logon checking sessions.

Both the slot indicies and the NLS revision number follow their respective conventions covered in this documentation. The account database data is first received from the client's SID_AUTH_ACCOUNTCREATE (0x04) message. This information must be stored by the server's account database for logon checking. If the account database data is invalid, then the logon checking session will not succeed.
This message initializes a slot with all the information required for it to operate, including the NLS revision. Although BNLS supports switching the NLS revision of a given slot, it can respond to requests slightly faster if the same NLS revision is used for the same slots in a given connection.



no one has commented yet.