All Packets #2938
MB::GlobalStorageComponentReplicatedState
We know its format and the Azoth server already uses it.
Keeps your shared storage in sync: the items in it, how many are over the limit, the total weight and how many slots each town has.
Activity: Inventory & gear
We already have this packet in a recording. You only need to record it again if you want to help check it.
- Log in and write down the time you enter the world.
- Open your storage in a settlement and look through it.
- Deposit one item and withdraw another. Write down the time of each.
- If you can, fill the storage past its limit or check another town's storage.
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 the local player (component key 77) with the contents of a storage it has opened. For a creature's loot bag the client asks for the contents when the player aims at the bag, and the server answers with one entry in a delta; when the bag is emptied the entry is removed again. It also carries the player's own storage, as a long item list, when the client asks for it. Everything is in group 0 (mask bit 0x01).
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_globalItemMap | structured |
— | A map from a 16-byte key to a list of items (the key is never shown here; for a loot bag it is the bag's entity id). 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, when the mask bit is set, the value; a clear bit removes the entry). A value is the item count followed by that many items. Each item is: one packed 64-bit number (current durability, the item's index in the client's item table (20 bits), the position in the container (501 = none), a sync reason (6 bits) and the quantity), eight more numbers (the first is the maximum durability, the third the gear score and the last five perk ids; the second has no known meaning), four dye bytes, the 16-byte instance id, a flag byte (bit 0 = bound to the character, bit 1 = locked) and the transmog appearance id with its four dye bytes. A full state only adds or replaces entries; it never removes the ones it leaves out, so removing needs a delta. |
+ 12 more sub-values in the API
|
| — | m_overflowItemCount | unknown |
— | — | not seen in the recordings |
| — | m_weightMap | unknown |
— | — | not decoded yet |
| — | m_slotCountMap | unknown |
— | — | not seen in the recordings |