All Packets #982
MB::LootTrackerComponentReplicatedState
We know its format and the Azoth server already uses it.
Keeps track of what you can loot from creatures: which loot bags are yours, which are locked for you and which you already took.
Activity: Combat
We already have this packet in a recording. You only need to record it again if you want to help check it.
- Start the capture, then log in and choose a character.
- Head to an area with creatures you can fight, such as wolves, boars or bears.
- Defeat a creature and open the loot bag it leaves behind (the interact key, E).
- Do it on at least five creatures, and fight one together with a friend if you can.
- Write down the time of each kill.
Recording tips
- Record one activity per recording.
- Keep each recording under 5 minutes.
- Write down the time of each step.
- Send the ledger.bin file only through /capture on Discord.
Send your recording or use /capture on Discord.
When: Sent by the server to each player (component key 33 of the local player) to say which loot bags that player can see and take. Loot bags are shared objects, but what you may do with one is decided here, per player. Everything is in one group (mask bit 0x01). The map is sent in full (a 0 byte, an optional version, a count and the entries) or as a delta (the number of changes, a mask byte per batch of 8, then key, optional version and the entry, with a clear mask bit removing it).
This state has no fixed offsets. It travels as a member inside the replicated state bundle (packet 8): component key, type, then the body. The body starts with a group mask (one bit per group, see mask_bit), then for each group present a field mask (7 bits per byte, the top bit means another mask byte follows), then only the fields whose bit is set, in order. Fields are matched by name.
| At | Field | Type | Size | Meaning | Example |
|---|---|---|---|---|---|
| — | m_lootDataMap | structured |
— | One entry per loot bag, keyed by the bag's 16-byte entity id (never shown here). After the key an entry has: the state (32-bit), the type (32-bit), the time it resets and the time it was looted (64-bit each, nanoseconds since 1970 in the captures), a flag byte for privileged access, the bag's position (three 32-bit floats), the interaction tag (32-bit) and a last byte that picks the glow colour. A bag with no entry is invisible to that player. |
+ 3 more sub-values in the API
|
| — | m_lootCollectibles | unknown |
— | — | not seen in the recordings |
| — | m_failedRollBonusPercent | unknown |
— | — | not seen in the recordings |
| — | m_slayerScriptDataMap | unknown |
— | — | not seen in the recordings |
| — | m_lootDivertMap | unknown |
— | — | not decoded yet |
| — | m_lootLimitDataMap | unknown |
— | — | not decoded yet |
| — | lootBagState | — | — | Part of every m_lootDataMap entry (its state): what the player may do with the bag.
|
— |
| — | lootBagType | — | — | Part of every m_lootDataMap entry (its type): where the bag came from. Other values appear in the captures and are not decoded.
|
— |
| — | lootBagGlow | — | — | Part of every m_lootDataMap entry (its last byte): the rarity colour of the glow.
|
— |