← Back to Index

MovementEffectPacket (318)

These packets are sent to the client to update specific MovementEffects
These MovementEffects can be client-predicted. Ex: Fireworks Rockets used while gliding send this packet to the client so they know the exact duration of the GLIDE_BOOST MovementEffect.
Field Name Type Field Index Description
Target Runtime ID (Required) ActorRuntimeID 0

ActorRuntimeID

Field Name Type Field Index Description
Actor Runtime ID (Required) varuint64 0
Effect ID (Required) varint32 1
Enum Values:
Index Value
0 GLIDE_BOOST
1 DOLPHIN_BOOST
Effect Duration (Required) varint32 2
Tick (Required) PlayerInputTick 3 If this packet is referring to the player or a client predicted vehicle they are in control of, this should be the most recently processed PlayerInputTick from their PlayerAuthInputPacket. Otherwise zero.

PlayerInputTick

Field Name Type Field Index Description
Input tick (Required) varuint64 0 In server authoritative movement mode the client supplies this in PlayerAuthInputPacket. For any client-bound packets containing a tick, the server should supply the tick value corresponding to the most recently processed PlayerAuthInputPacket. This allows the client to adjust any client predictions made while the packet was in flight. If the packet is being sent to the client but not relating to data of the player or a client-predicted vehicle, it can be zero. It is also acceptable to specify zero for players, although this may lead to minor visual flickers and less smooth application of CorrectPlayerMovePredictionPacket.