0x05 SID_CLIENTID

ProtocolBNCS
DirectionsClient → Server and Server → Client
Used bySSHRJSTRDRTLDSHRW2BN
StatusHistorical. Only the older logon uses it, and the registration fields are no longer used.

The client's first message in the oldest logon: registration numbers and the computer's LAN names.

Client → Server

Sent right after the protocol byte by StarCraft Shareware and StarCraft Japanese. Diablo and Warcraft II send SID_CLIENTID2 instead.

TypeFieldNotesConfidence
UINT32 Registration version No longer used. May be 0. Verified
UINT32 Registration authority No longer used. May be 0. Verified
UINT32 Account number No longer used. May be 0. Verified
UINT32 Registration token No longer used. May be 0. Verified
STRING LAN computer name The Windows computer name. Verified
STRING LAN user name The name of the Windows user who is logged in. Verified

Server → Client

Sent in reply to SID_CLIENTID or SID_CLIENTID2, before SID_LOGONCHALLENGE or SID_LOGONCHALLENGEEX.

TypeFieldNotesConfidence
UINT32 Registration version 0. Verified
UINT32 Registration authority 0. Verified
UINT32 Account number 0. Verified
UINT32 Registration token 0. Verified

Remarks

Early Battle.net used these fields to hand out and check registration numbers for each copy of the game. The server once replied with new numbers when the client's were invalid. Today every registration field is zero in both directions, and only the two LAN names still carry data.

Appears in

Sources and credits

This page is written in our own words. BNETDocs is credited for its research; none of its text is copied. See Credits.

Last edited September 16, 2026 by John Leighow.
Edit on GitHub | Page history