Skip to main content
integer
required
The current tick as the agent knows it. A mismatch fails with AWP_TICK_MISMATCH and nothing advances (AWP-TIM-011).
integer
Advances to perform, ≥ 1. Default 1.
awp:tick
Only valid in lockstep sessions. For each advance the world sends, before starting the next, every action.status and world.event produced by the advance on the control channel, then one frame carrying the new tick on every subscribed per-tick channel (AWP-TIM-003). The result is sent after the last advance, and the agent treats the advance as complete when it holds the result and a frame with that tick on every per-tick channel:
awp:tick-result
Staged actions (admitted since the previous advance) begin executing at the first advance (AWP-TIM-010). With tick_authority: "barrier" the call records the session’s readiness for count advances: the world advances while every bound non-observer lockstep session has advances left, all sessions receive the same advances, and each call is answered after its last one. No admin grant is needed. A session has one pending call at a time; a lost connection discards it, and a reset, a restore, a close, or a transfer ends it with an error (AWP-TIM-014). Under any_session on a world that may bind several lockstep sessions, the caller needs the tick admin grant (AWP-TIM-012, AWP-MA-005). A call retried after a lost result carries a stale expected_tick and is rejected, so time never advances twice:
awp:error
Errors: 2003 (AWP_SESSION_EXPIRED: the session is closing or closed while its barrier call waited, AWP-SES-011, AWP-TIM-014), 3002 (AWP_BUSY: another barrier call of the session is pending, AWP-TIM-014), 3006 (AWP_TICK_NOT_AUTHORIZED), 3009 (AWP_TICK_MISMATCH, also for a barrier call a reset or restore overtook).