Azoth Central — MB::SpellComponentReplicatedState

All Packets #2912

MB::SpellComponentReplicatedState

SolvedCaptured ✓

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

What it doesVery likely

Keeps track of spells and projectiles in the world, such as where they start, where they fly and who cast them.

Activity: Combat

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. Head to an open area or a town with a friend.
  2. Have your friend stand a short distance away and watch.
  3. Cast spells and shoot arrows (a staff, gauntlet or bow) ten times each.
  4. Write down the time of each step.

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)
spllDtId
strtpos
strtrot
chldpos
chldrot
prevAttch
attch
casterId
spawnTime
numSpwn
m_aoeRadiusScaling
How to capture