BNETDocs
S>C 0x0D BOTNET_ACCOUNT
Message Id:0x0D
Message Name:BOTNET_ACCOUNT
Direction:Server to Client
Used By:Diablo II, Diablo II Lord of Destruction
Format:

(UINT32) Subcommand
(UINT32) Result

Remarks

Log on to, create, or modify account.

This message is supported as of server revision 2.

Subcommand:

Possible values:

  • 0x00: Log on
  • 0x01: Change passowrd
  • 0x02: Create

Other values are reserved.

Result:

Possible values:

  • 0x00: Failed
  • 0x01: Succeeded

Account names are restricted to alphanumeric characters, brackets, underscores, and dashes, A-Za-z0-9[]_-. Invalid characters result in failure to create and to log on to the account.

This account name appears in S>C 0x06 BOTNET_USER when you successfully log on. Users who are not logged on appear with the string "No Account" which is not a valid account name.

The server ensures that there is never more than one user online using a given account name. When a client logs on with a second connection using the same account, the other user is changed to no longer be on an account.

| Edited:
Comments

no one has commented yet.