AOS REVIVALJoin Discord
Packet ID0870x57
Deployables // wire record

PlaceMG

Requests placement of a type-7 mounted machine gun. The server owns yaw, team, health, occupancy, and join persistence after validation.

C→SHandledLive-verified14 bytes
Exact field order

Packet 87 wire layout

The first byte is the application packet ID. The rows after it appear in decode order. Sizes exclude ENet headers, the outer wrapper prefix, LZF chunk framing, and compression effects.

Packet 87 PlaceMG fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 87 (0x57).
1loop_counti32 LE4Simulation-loop stamp used for ordering, prediction, or reconciliation.
2player_idu81Compact player-slot identifier.
3position3 × u16 LE6Raw X, Y, and Z voxel coordinates.
4yawsign-magnitude fixed16 LE (1/64)2yaw value.
Protocol convention

How to read this layout

  • LE means least-significant byte first.
  • fixed16 is two-byte sign-magnitude at 1/64 precision.
  • orientation16 uses the measured 1/8192 orientation mapping.
  • NUL strings consume their encoded byte length plus one 00 terminator.
  • Counted arrays repeat immediately in the order shown.