|
Message ID: |
0x05 |
Message Name: |
SID_CLIENTID
|
Direction: |
Client -> Server (Sent) |
Used By: |
Starcraft Shareware, Starcraft Japanese, Diablo Shareware, Diablo I, Warcraft II |
Format: Help
Hint: Field names highlighted in blue will display a definition if you hover over the text. |
(DWORD) Registration Version
(DWORD) Registration Authority
(DWORD) Account Number
(DWORD) Registration Token
(STRING) LAN Computer Name
(STRING) LAN Username |
Remarks: |
This packet was used to ensure that the client's account number was valid. All but the last two fields in this message are now ignored, and may be set to zero. The 'LAN Computer Name' field is the NetBOIS name of the computer. It can be retrieved using the GetComputerName API. The 'Lan Username' field is the name of the currently logged on user, and may be retrieved using the GetUsername API.
The following information is historical:
The client would supply this data as issued by a Battle.net server. If the Registration Version, Registration Authority, and Client Token values equated to the account number supplied (Client ID), as determined by an unknown formula, the server would respond with the same values. If they were invalid, the server would assign new values. Registration Version was always 1, Authority was the ip address of the server that issued the account number. Thus, the Client Token was the secret value, used to prove that the client really owned the account in question. |
Related Links: |
[S>0x05] SID_CLIENTID
|
|
Printable Version
|
User Comments:
Posted by raylu on 03/06/05 11:30 |
"Used By: Starcraft Shareware, Starcraft Japanese, Diablo Shareware, Diablo I, Warcraft II"
It's not used by SC.
|
#306 |
Posted by Prophet. on 13/08/03 03:03 |
Could you give me an example of this packet using starcraft (RATS)?
|
#114 |
|
|
|