Azoth Central — MB::InteractReplicatedState

All Packets #2930

MB::InteractReplicatedState

SolvedCaptured ✓

We know its format and the Azoth server already uses it.

What it doesVery likely

Keeps in sync whether an object in the world can be used, whether someone is using it and its cooldowns.

Activity: Other

How to capture

We already have this packet in a recording. You only need to record it again if you want to help check it.

  1. Walk through a town and stand next to usable objects: crafting stations, doors, chests and the trading post.
  2. Use each one for a short time, then walk away.
  3. Also use a gathering spot (tree, ore or herb) and wait for it to come back.
  4. Write down the time of each use.

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.

Format

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.

group mask bit 0 (0x01)
Enabled
HasInteractors
CooldownUpdates
How to capture