BNETDocs
S>C 0x3D SID_CREATEACCOUNT2
Message Id:0x3D
Message Name:SID_CREATEACCOUNT2
Direction:Server to Client
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) Status
(STRING) Account name suggestion

Remarks

Account creation result.

Result:
0x00: Account created
0x01: Name is too short
0x02: Name contained invalid characters
0x03: Name contained a banned word
0x04: Account already exists
0x05: Account is still being created
0x06: Name did not contain enough alphanumeric characters
0x07: Name contained adjacent punctuation characters
0x08: Name contained too many punctuation characters
Comments
xpeh

From pvpgn:

define SERVER_CREATEACCTREPLY2_RESULT_OK 0x00000000

define SERVER_CREATEACCTREPLY2_RESULT_SHORT 0x00000001 / Username must be a minimum of 2 characters /

define SERVER_CREATEACCTREPLY2_RESULT_INVALID 0x00000002

define SERVER_CREATEACCTREPLY2_RESULT_BANNED 0x00000003

define SERVER_CREATEACCTREPLY2_RESULT_EXIST 0x00000004

define SERVER_CREATEACCTREPLY2_RESULT_LAST_CREATE_IN_PROGRESS 0x00000005

define SERVER_CREATEACCTREPLY2_RESULT_ALPHANUM 0x00000006

define SERVER_CREATEACCTREPLY2_RESULT_PUNCTUATION 0x00000007

define SERVER_CREATEACCTREPLY2_RESULT_PUNCTUATION2 0x00000008

It's funny that pvpgn itself (at least 1.8.x) only uses 3 codes: 0, 2, 4

Heinermann

Here's some random error names I found while looking at wc3 tft beta, which might contribute to creating better names: NAMEUSED NAMEBLANK NAMEBADCHARS NAMEBADWORD NEEDALPHACHARS ADJACENTPUNCT TOOMANYPUNCT

Caaaaarrrrlll

Added all of these codes to the list.

Caaaaarrrrlll

Received this while creating [email protected]:

0000 ff 3d 0b 00 00 00 00 00 00 00 20 .=........

ff 3d 0b 00 - Packet header 00 00 00 00 - Result success 00 - No name suggestion; string is empty 00 20 - What is this? Extra data similar to one of the other OLS packets (raw memory)?