SID_CDKEY
| Protocol | BNCS |
|---|---|
| Directions | Client → Server and Server → Client |
| Used by | |
| Status | Historical. |
Sends a 13-character CD key unhashed. Only StarCraft Japanese used it.
Client → Server
After SID_REPORTVERSION passes.
| Type | Field | Notes | Confidence |
|---|---|---|---|
UINT32 |
Spawn | 1 for a spawned installation. |
✅ Verified |
STRING |
CD key | The key itself, in plain text. | ✅ Verified |
STRING |
Key owner | ✅ Verified |
Server → Client
| Type | Field | Notes | Confidence |
|---|---|---|---|
UINT32 |
Result | ✅ Verified | |
STRING |
Key owner | Can also carry the special values TOO MANY SPAWNS or NO SPAWNING. |
⚠️ Single source |
Results
| Value | Meaning | Confidence |
|---|---|---|
0x01 | Accepted. | ✅ Verified |
0x02 | Key not valid. | ✅ Verified |
0x03 | Key is for a different game. | ✅ Verified |
0x04 | Key banned. | ✅ Verified |
0x05 | Key in use. | ✅ Verified |
Remarks
Official servers reportedly IP-banned clients that sent a key of any other length through this message.
Appears in
Sources and credits
- BNETDocs Atlas server (MIT): message handler used to cross-check the layout
- BNETDocs, Battle.net Chat Server Protocol Overview: written by Kyro, and edited 11 times since.
- BNETDocs, SID_CDKEY (client to server): documented by the original BNETDocs contributors, and edited 2 times since.
- BNETDocs, SID_CDKEY (server to client): documented by the original BNETDocs contributors, and edited 2 times since.
This page is written in our own words. BNETDocs is credited for its research; none of its text is copied. See Credits.