benilla-re systems structs docs

RealmConnection::HandleCharacterLoginFailed

function · net · orchestration

Address
0x5b45f0 · 39 bytes, up to 0x5b4616
Signature
uint32_t __thiscall (RealmConnection *this, uint32_t opcode, uint32_t arg, CDataStore *msg)
Meaning
Reads the character login failure byte and passes it to its own slot 0x4c
Confidence
verified, proof two
Finding
net/connection#character-login

Finding: Character login in net: connection

0x5aae20(guid) begins operation 8 and sends CMSG_PLAYER_LOGIN (0x3d) with the guid through 0x5b4700, then stores 1 at +0x1b04; without a link it fails with code 4. The reply that refuses is SMSG_CHARACTER_LOGIN_FAILED (0x41): 0x5b45f0 reads one byte and calls slot 19, 0x5aad70. That function clears +0x1b04, leaves the world through 0x401ee0(1, 1, 1) when it is the current connection, and completes the operation as failed with a code chosen by the byte: 1 CHAR_LOGIN_NO_WORLD (0x3e), 2 CHAR_LOGIN_DUPLICATE_CHARACTER (0x3f), 3 CHAR_LOGIN_NO_INSTANCES (0x40), 4 CHAR_LOGIN_DISABLED (0x42), 5 CHAR_LOGIN_NO_CHARACTER (0x43), 6 CHAR_LOGIN_LOCKED_FOR_TRANSFER (0x44), and CHAR_LOGIN_FAILED (0x41) for 0 and every byte from 7 up. The connection stays open.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.