BNETDocs
C>S 0x2A SID_CREATEACCOUNT
Message Id:0x2A
Message Name:SID_CREATEACCOUNT
Direction:Client to Server
Used By:Diablo II, Diablo II Lord of Destruction
Diablo Retail, Diablo Shareware
Starcraft Japanese, Starcraft Broodwar
Starcraft Shareware, Starcraft Original
Warcraft II BNE
Format:

(UINT32) [5] Hashed password
(STRING) Username

Remarks

Creates an account.

Usernames longer than 15 characters are truncated, and the password is only hashed once (unlike SID_LOGONRESPONSE).

This packet is identical to SID_CREATEACCOUNT2, but the response is limited to success/fail. Developers who wish to provide a reason for account creation failure should use SID_CREATEACCOUNT2.

Currently, SID_CREATEACCOUNT2 may be used with any product, but the protocol-correct packet to use depends on the product you are emulating.

Comments

no one has commented yet.