MsgAccount

This client message is sent to the account server to request authentication. There have been multiple message types over the years for handling authentication requests from the client. MsgAccount is the first, but was later replaced by MsgAccountSRP6 and MsgAccountSRP6Ex in versions 5532+.

In this message, the player's password is encrypted using RC5.

⚠️ WARNING

The password in this message is encrypted using a static key in earlier versions of the client. Although later versions start to use a generated key, that key is exchanged using MsgEncryptCode and does not protect against proxies employing a man-in-the-middle attack. This was patched in version 5532 with the use of SRP6, which also added additional complexity for clientless bot creation.

Table of Contents

Patch 4267

Message Definition

☑️ Assumed (Observed) - CoFuture + Soul

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message52
2UInt16MsgTypeType of message1051
4Char[16]AccountFixed string of the usernamePlayer
20Char[16]PasswordEncrypted buffer containing the passwordRC5(Password)
36Char[16]ServerFixed string of the game serverMeteor

Patch 5165

Message Definition

✅ Verified (Client)

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message276
2UInt16MsgTypeType of message1086
4Char[128]AccountFixed string of the usernamePlayer
132Char[128]PasswordEncrypted buffer containing the passwordRC5(Password)
260Char[16]ServerFixed string of the game serverMeteor