Game Opcodes:Set Actor Icon (ChangeActorExtraStat)

From FFXIV Classic Wiki
Jump to: navigation, search

Changes the LUA player object's NetStatUser and NetStatSystem values. Used to set the AFK, Disconnecting, and GM icons. The way the booleans are structured is a bit confusing; but we don't have to figure it out as all values are known.

Opcode - 0x145
Source - Server
Data Size - 0x8 bytes
Requirements - None

Data

Offset Data Type Length Variable Description
0x02 byte 1 Bytes flagA First flag.
0x03 byte 1 Bytes flagB Second flag.

Values

Flag A Flag B Result
0x00 0x00 Cleared
0x00 0x01 Disconnecting
0x00 0x02 GM
0x01 0x00 AFK

Visual Layout

Packet Data layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x00 00 flagA flagB 00 00 00 00 00