Difference between revisions of "Game Opcodes:Set Actor Icon (ChangeActorExtraStat)"
From FFXIV Classic Wiki
(Created page with "Changes the LUA player object's <code>NetStatSystem</code> values. Used to set the AFK and GM icons. :; Opcode - 0x145 :; Source - Server :; Data Size - 0x8 bytes :; Requirem...") |
(→Visual Layout) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Changes the LUA player object's <code>NetStatSystem</code> values. Used to set the AFK and GM icons. | + | Changes the LUA player object's <code>NetStatUser</code> and <code>NetStatSystem</code> 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 | :; Opcode - 0x145 | ||
Line 15: | Line 15: | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
|- | |- | ||
− | | 0x03 || byte || 1 Bytes || | + | | 0x02 || byte || 1 Bytes || flagA || First flag. |
+ | |- | ||
+ | | 0x03 || byte || 1 Bytes || flagB || Second flag. | ||
+ | |} | ||
+ | |||
+ | == Values == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | ! width="50px" style="text-align: center; font-size: 14px;" | Flag A | ||
+ | ! width="60px" style="text-align: center; font-size: 14px;" | Flag B | ||
+ | ! width="60px" style="text-align: center; font-size: 14px;" | Result | ||
+ | |- | ||
+ | | 0x00 || 0x00 || Cleared | ||
+ | |- | ||
+ | | 0x00 || 0x01 || Disconnecting | ||
+ | |- | ||
+ | | 0x00 || 0x02 || GM | ||
+ | |- | ||
+ | | 0x01 || 0x00 || AFK | ||
|} | |} | ||
Line 27: | Line 45: | ||
|- | |- | ||
! 0x00 | ! 0x00 | ||
− | | 00 || | + | | 00 |
− | | colspan="1" style="background:#8FA6E8" | ''' | + | | colspan="1" style="background:#8FA6E8" | '''flagA''' |
− | | 00 || 00 || 00 || 00 | + | | colspan="1" style="background:#8FA6E8" | '''flagB''' |
+ | | 00 || 00 || 00 || 00 || 00 | ||
|} | |} | ||
[[Category:Unfinished]] | [[Category:Unfinished]] |
Latest revision as of 14:50, 3 August 2018
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 |