Azoth Central — MB::BuildableControllerReplicatedState

All Packets #1594

MB::BuildableControllerReplicatedState

SolvedCaptured ✓

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

What it doesVery likely

The state of a built structure such as a crafting station, a camp or a town building: whether it is built or upgrading, what materials were added, who owns the territory and whether it is ruined.

Activity: Companies

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. Go to a town and stand next to its crafting stations and the trading post.
  2. If you can, also place a camp somewhere in the world and stand next to it.
  3. Stay near each one for about a minute, then walk away and come back.
  4. Write down the time at each structure.

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)
currentState
checkFoundationEvents
commitedResources
ruinDamageType
territoryOwnerGuildId
upgradeTimePoint
craftingStationTypeCrc
campTierBuildableId
isPvPCamp
How to capture