CS2 Subtick & Netcode

Complete x86-64 Binary Reverse-Engineering Deep Dive + Interactive Duel Simulators + Plain-English Visual Guide for Counter-Strike 2 Patch 1.42.0.1

Analyzed Live Build CS2 Patch 1.42.0.1 (ClientVersion=2000950, SourceRevision=11268945, Nov 23, 2026) via steam.inf
Disassembled Binaries engine2.dll, networksystem.dll, server.dll, and client.dll (Win64 x86-64 RVAs)
Multi-Version Corpus 8 SteamDB Snapshots: Builds 2000243 (2024) → 2000777 (Pre-AG2) → 2000791 (AG2) → 2000837 (May 2026) → 2000950 (Live)
Table of Contents & Quick Jump▾
Interactive Quick-Play Duel Model · Live Engine Math

Try CS2 Subtick, Split UL/DL Ping & Server Stalls Yourself

Drag any slider or click a preset below to test asymmetric 30 ms ping (5↑/25↓ vs. 25↑/5↓), server wakeup stalls flipping winners, and same-tick Slot 0..63 tie-breakers in real time.


Part I · x86-64 Disassembly & Closed-Loop Math

PART I: Full Binary & Mathematical Deep Dive

1. Dual-Clock Client Architecture & Subtick Wire Format#

1.1 Two Independent Margin Clocks Inside engine2.dll#

A foundational architectural change in Source 2 (compared to CS:GO's Source 1 engine) is that a CS2 client does not run on a single network clock. Instead, engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll) maintains two separate closed-loop margin controllers operating in opposite directions:

  1. Downstream Snapshot Clock (cl_clock_recvmargin_*):
    • Controls when the client polls and applies incoming server world snapshots (CSVCMsg_PacketEntities) for entity rendering and interpolation.
    • Targets cl_clock_recvmargin_desired = 5 ms plus cl_clock_buffer_ticks × 15.625 ms (default 0 ticks for players, 2 ticks for spectators via cl_clock_buffer_ticks_spectator = 2).
    • Adjusts client render/snapshot time asymmetrically between 93% (cl_clock_recvmargin_adjust_limit_slowdown = 93, $\tau = 0.3\text{ s}$) and 106% (cl_clock_recvmargin_adjust_limit_speedup = 106, $\tau = 0.6\text{ s}$) over a 4.0 s window (cl_clock_recvmargin_window = 4) so downstream jitter is absorbed rapidly (fast 0.3 s slowdown when snapshots arrive late) and released cautiously (0.6 s speedup when clean).
  2. Upstream UserCmd Pacing Clock (cl_tickpacket_recvmargin_*):
    • Controls when the client generates and transmits outgoing CCLCMsg_Move UDP packets so each UserCmd arrives at the server just before the server needs to simulate that tick.
    • Targets cl_tickpacket_recvmargin_desired = 5 ms plus max(sv_cq_min_queue, cl_tickpacket_desired_queuelength) × 15.625 ms (plus +1 full tick 15.625 ms if cl_async_usercmd_send == 0 at 0x000611fb, or +2 ticks in developer tools mode at 0x000611d4).
    • Adjusts command generation rate symmetrically within ±5% (95% to 105%, cl_tickpacket_recvmargin_adjust_limit = 5, $\tau = 0.4\text{ s}$) over a 4.0 s (256-command) sliding window (cl_tickpacket_recvmargin_window = 4).

1.2 Client-Controlled JIT Async Send & Frame-Bound Subtick Sampling (engine2.dll & client.dll)#

Two client-side subsystems determine how accurately subtick inputs are sampled and when UDP move packets leave the machine:

  1. JIT Async Send Mode (cl_async_usercmd_send = true, engine2.dll + 0x00225e40):
    • Once at least 6 server snapshots have been received (0x00225fc0: cmp dword ptr [rax + 0x230], 6), engine2.dll enters mode = 2 ("CQ enabled, using client-controlled JIT async send mode", 0x00226015).
    • Instead of waiting for a slow render frame to finish before transmitting CCLCMsg_Move, JIT mode dispatches the prepared UserCmd packet asynchronously right on schedule to hit the 5.0 ms server margin. Disabling cl_async_usercmd_send forces GetDesiredRecvMargin (0x000611fb) to add cl_async_usercmd_send_recvmargin_min = 1 full tick (+15.625 ms) of extra margin!
  2. Render-Frame-Bound Input Sampling & > 256 FPS Decimation (CCSGOInput::CreateMove, client.dll + 0x00cff7a0 .. 0x00d00498):
    • Contrary to speculation that CS2 polls mouse/keyboard on a dedicated 1000 Hz or 8000 Hz subtick thread, client.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/client.dll) records input_history entries ([r15 + 0xbd8], 96 bytes per frame) once per rendered client frame!
    • Low FPS / Stutter Impact: If a frame-time spike drops render rate to < 64 FPS (> 15.625 ms frame), input_history contains 0 or 1 sample for the entire tick, degrading subtick view-angle and lag-comp interpolation accuracy directly in proportion to frame time!
    • High FPS (> 256 FPS) Quarter-Tick Decimation (0x00cff95f: cmp ebx, 4): Conversely, if a player renders at 400–600 FPS (6–9 frames per tick), sending every raw CSGOInputHistoryEntryPB would overflow the UDP MTU (~1200–1300 bytes). When frame_count > 4 (> 256 FPS), CreateMove (0x00cffa12 .. 0x00cffc7f) decimates input_history down to quarter-tick (0.25 = 3.906 ms) anchor frames PLUS explicitly pinned attack1_start_history_index and attack2_start_history_index frames, and strips sv_interp0/sv_interp1/cl_interp from non-attack frames (0x00cffe32..0x00cffe50) so click frames retain 100% sub-millisecond precision without bloating packet size!

1.3 Exact Subtick Protobuf Payload (CCLCMsg_Move $\rightarrow$ CSGOUserCmdPB)#

The server still steps the game world at a fixed 64 Hz (15.625 ms per tick). Subtick does not send packets on every mouse movement or run extra server ticks mid-interval. Instead, once per ~15.625 ms client command tick, the client bundles a CSGOUserCmdPB inside CCLCMsg_Move (clc_Move = 20, containing serialized bytes data and uint32 last_command_number):

  • CBaseUserCmdPB (usercmd.proto):
    • client_tick (field 2) & legacy_command_number (field 1): Monotonic client command sequence.
    • prediction_offset_ticks_x256 (field 17): Fixed-point Q8 (× 256) offset between client predicted tick state and the latest acknowledged server snapshot.
    • buttons_pb (CInButtonStatePB, field 3): Three 64-bit bitmasks:
      • buttonstate1: Buttons currently held down at end of tick.
      • buttonstate2: Buttons pressed (rising edge) during this tick.
      • buttonstate3: Buttons released (falling edge) during this tick.
    • repeated CSubtickMoveStep subtick_moves (field 18): Ordered sub-tick movement transitions captured at render-frame / raw-input resolution:
      • uint64 button, bool pressed
      • float when $\in [0.0, 1.0)$: Exact normalized time fraction inside the 15.625 ms tick (when = 0.0 is tick start; when = 0.5 is +7.8125 ms).
      • analog_forward_delta, analog_left_delta, pitch_delta, yaw_delta: Continuous WASD/analog/view deltas across the sub-step.
  • CSGOUserCmdPB (cs_usercmd.proto):
    • repeated CSGOInputHistoryEntryPB input_history (field 2): Per-render-frame input samples containing:
      • CMsgQAngle view_angles (field 2): Exact crosshair angles at that render frame.
      • player_tick_count (field 6) & player_tick_fraction (field 7): Exact shooter simulation timestamp [tick + frac].
      • sv_interp0 (field 13) & sv_interp1 (field 14): Two CSGOInterpolationInfoPB structs (src_tick, dst_tick, frac) recording the exact two server snapshot brackets being interpolated on the shooter's client.
      • cl_interp (field 12): CSGOInterpolationInfoPB_CL { float frac } — the exact sub-frame blend weight between sv_interp0 and sv_interp1 at that render frame.
      • Diagnostic/verification fields (frame_number = 64, target_ent_index = 65, shoot_position = 66, target_head_pos_check = 67).
    • attack1_start_history_index (field 6), attack2_start_history_index (field 7): Indices into input_history pinpointing the exact render frame where primary (Mouse1) or secondary (Mouse2) fire began (-1 if not fired).
    • is_predicting_body_shot_fx (11), is_predicting_head_shot_fx (12), is_predicting_kill_ragdolls (13): Flags telling the server whether the client already played predicted hit/kill effects locally.

2. Server Packet Intake, sv_clockcorrection_msecs Myth & DOA Stripping#

CS2 Packet Pipeline and Receive Margin Mechanics 🔍 Click to Zoom 220-DPI (3300×2090)
Figure 1 End-to-end CS2 v1.42.0.1 subtick packet pipeline (client.dll → engine2.dll → server.dll) and why 4.0-second P0 upstream jitter inflates median receive margin across all 256 commands.
Open Raw PNG ↗

2.1 Debunking the sv_clockcorrection_msecs = 30 Speculation (server.dll + 0x00b64080)#

Since CS2's launch, one of the most widespread community theories has been that sv_clockcorrection_msecs (which still exists in DumpSource2/convars.txt with default value 30) forces a 30 ms server buffer or grants 30 ms of artificial clock-drift leeway to high-ping players.

Disassembling CBasePlayerController::OnSimulateUserCommands in server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll) (RVA 0x00b64080 .. 0x00b647eb) and CCommandQueue::OnSimulateUserCommands (0x00ecc6e0) disproves this completely:

  1. At 0x00b64104, CBasePlayerController::OnSimulateUserCommands calls m_pCommandQueue->OnSimulateUserCommands() (0x00ecc6e0) first.
  2. Inside 0x00ecc6e0 (0x00ecc6f5..0x00ecc720), the server checks two conditions:
    • cq_enable == true (a developmentonly | replicated | defensive ConVar locked to true in retail CS2), and
    • !(pController->m_fFlags & FL_FAKECLIENT) (0x100, i.e., the player is a real human client, not a server AI bot).
  3. For every human player, CCommandQueue::OnSimulateUserCommands executes the Command Queue logic and returns al = 1 (true).
  4. Back in 0x00b64109, the instruction test al, al; jne 0xb647d9 jumps straight to the function epilogue, completely skipping 0x00b64134: call 0x00b43d00 (AdjustPlayerTimeBase, the sole consumer of sv_clockcorrection_msecs)! sv_clockcorrection_msecs only runs for bots or if cq_enable were disabled in an internal developer build.

2.2 Engine Intake (CServerSideClient::ProcessMove, engine2.dll + 0x000b9540)#

When a client UDP packet arrives on the server:

  1. Anti-Batching Check: CServerSideClient::ProcessMove increments [this + 0xee8] (count of CCLCMsg_Move messages inside the current UDP packet). If [this + 0xee8] > 1, the engine immediately rejects the packet and disconnects the client (NETWORK_DISCONNECT_USERCMD). Thus, a client cannot stuff multiple move messages into one UDP datagram.
  2. Fractional net_margin Measurement: The engine queries the exact real-time remaining duration (net_margin, in seconds) until the next scheduled 64 Hz server simulation tick (15.625 ms cadence):
    • If the packet arrived 4.2 ms before the server wakes up to run Tick $T$, net_margin = +0.0042f.
    • If the packet arrived 1.1 ms after Tick $T$ already started, net_margin = -0.0011f (missed deadline!).
  3. Dispatch to Game DLL: The engine scopes gpGlobals->frametime = 0.015625f and calls CBasePlayerController::ProcessUsercmds (server.dll + 0x00b65d60).

2.3 Server Intake (CBasePlayerController::ProcessUsercmds, server.dll + 0x00b65d60)#

Inside 0x00b65d60, every incoming packet passes through four exact stages:

Stage A: Immediate Dead-on-Arrival (DOA) Button Stripping (0x00b65ecb .. 0x00b65f05)

Before queuing a single command, the server resolves m_hPawn ([rbx + 0x4e0]) and invokes pPawn->IsAlive() (vtable + 0xc28 at 0x00b65ecb).

  • If IsAlive() returns 0 (false — meaning an enemy already killed this player on an earlier server tick!), the server sets bDeadOnArrival = 1 (dil = 1) and iterates over every CUserCmd in the packet (stride = 0x98), calling ClearButtonEdges (0x00687cb0):
    Reconstructed C++
    // Reconstructed from server.dll + 0x00687cb0
    void ClearButtonEdges(CInButtonState* buttons) {
        buttons->buttonstate2 = 0; // Zero all RISING edges (pressed this tick, e.g. IN_ATTACK!)
        buttons->buttonstate3 = 0; // Zero all FALLING edges (released this tick)
        // Marked dirty in protobuf has_bits if backed by CInButtonStatePB
    }
  • Because weapon firing triggers on attack transitions/history tied to an alive pawn, any shot predicted on the player's own screen whose UDP packet reaches the server even 0.1 ms after the player's server death is stripped right here on intake (DOA).

Stage B: Total Receive Margin Calculation (0x00b65fa6 .. 0x00b65fd3)

For each UserCmd in the packet (remembering that a CCLCMsg_Move packet normally carries the newest UserCmd plus backup copies of recent commands up to cl_usercmd_max_per_movemsg = 4 to survive single-packet loss):

  1. Let cmd_num (ebp) be [pCmd + 0x8], and last_executed (edx) be m_pCommandQueue->GetLastCommandExecuted() (vtable + 0x20).
  2. The server computes the queue depth $q$ (r15d) ahead of this command:
    $$q = \min\bigl(\text{cmd\_num} - \text{last\_executed} - 1,\ \text{max\_backlog}\bigr)$$
  3. If net_margin < 0.0f (comiss xmm8, xmm7 where xmm8 = 0.0f), total margin is set to -1e30f (0xf149f2ca, signaling LATE).
  4. Otherwise, total margin in seconds (xmm6) is:
    $$m_{\text{total}} = m_{\text{net}} + q \times 0.015625$$
    Logged when RecvMargin channel is enabled (0x00b660aa):
    "%sRecv usercmd %d. Margin:%5.1fms net +%2d queue =%5.1f total\n"

Stage C: Q12 Fixed-Point Encoding (EncodeCmdRecvStatus, 0x00b4c1f0)

For the final (newest) UserCmd in the packet (0x00b66155..0x00b66175), if net_margin >= 0, the server encodes $m_{\text{total}}$ via 0x00b4c1f0 into a 16-Entry ring buffer ([rbx + rdi*8 + 0x654]):

  • Clamps $m_{\text{total}}$ to $[-15.999756,\ +15.999756]\text{ s}$.
  • Multiplies by 4096.0f ($2^{12}$ ticks per second $\Rightarrow$ 0.24414 ms per LSB), rounds to nearest signed integer, and transmits the packed array back to the client in CSVCMsg_PacketEntities.cmd_recv_status (field 22).
  • Special out-of-band sentinel integers (> 65535) encode non-margin states:
    • 0x10040: Skipped/gap command slot (packet loss before backfill).
    • 0x10080: Non-terminal command in a multi-command CCLCMsg_Move bundle.
    • 0x10081: Late command (net_margin < 0).

3. How Ping & Jitter Affect Subtick Margin (10 ms vs. 30 ms Deep Dive)#

Closed-Loop Client UserCmd Margin Pacing (engine2.dll + 0x00061380)
flowchart TD
    A["Server Sends CSVCMsg_PacketEntities"] --> B["Client Unpacks cmd_recv_status (÷ 4096.0s)"]
    B --> C["Sliding 4.0s Window (256 UserCmds, min 10 samples)"]
    C --> D["Find Worst Single Sample: M_min = min(margin[0..255])"]
    D --> E["Target M_desired = 5.0 ms + 15.625 ms * buffer_ticks"]
    E --> F{"Compare M_min vs M_desired"}
    F -- "M_min < 5.0 ms (Spike / Late!)" --> G["Speed Up Cmd Clock (up to +5%, τ = 0.4s)"]
    F -- "M_min > 5.0 ms (Excess Margin)" --> H["Slow Down Cmd Clock (down to -5%, τ = 0.4s)"]
    G --> I["Steady State: Worst Spike = 5.0 ms | Median = 5.0 ms + J_peak"]
    H --> I

3.1 Disassembling the Client Pacing Loop (engine2.dll + 0x000611a0 & 0x00061380)#

Let's trace the exact floating-point math in engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll):

  1. Target Desired Margin (0x000611a0):
    $$M_{\text{desired}} = 0.001 \times \text{cl\_tickpacket\_recvmargin\_desired} + 0.015625 \times \max\bigl(\text{sv\_cq\_min\_queue},\ \text{cl\_tickpacket\_desired\_queuelength}\bigr)$$
    With standard settings (cl_tickpacket_recvmargin_desired = 5, cl_net_buffer_ticks = 0 $\Rightarrow$ cl_tickpacket_desired_queuelength = 0, sv_cq_min_queue = 0):
    $$M_{\text{desired}} = 5.0\text{ ms}$$
    Crucial Proof: There is no RTT / ping term anywhere in GetDesiredRecvMargin or UpdateUserCmdRecvMarginPacing.
  2. Sliding-Window P0 Minimum Projection (0x00061500 .. 0x000615d2):
    • Over the past cl_tickpacket_recvmargin_window = 4.0 s (256 commands), for each recorded command $k$ with server-reported margin $m_k$, the client adjusts $m_k$ for any clock-pacing shifts already applied since command $k$ was sent, yielding the projected margin $\hat{m}_k$.
    • Instruction 0x000615be: minss xmm6, xmm0 tracks the strict minimum (0th percentile, P0) across all 256 samples:
      $$M_{\min} = \min_{k \in [t - 4\text{s},\, t]} \hat{m}_k$$
    • It caps maximum bloat adjustment via cq_buffer_bloat_msecs_max = 150 ms (0x00061634) and drives $M_{\min} \to M_{\text{desired}}$ (5.0 ms) using first-order exponential smoothing (V_expf(-dt / 0.4f)) clamped to [0.95, 1.05] (±5% command clock dilation).

3.2 Comparing 10 ms Ping vs. 30 ms Ping: Clean Fiber vs. Real-World Jitter#

Why, then, do players consistently observe and feel margin differences between 10 ms and 30+ ms connections? Because two distinct physical effects stack on top of each other:

Effect 1: Pure Propagation Lead Time (Even with 0 ms Jitter)

Suppose Player A (10 ms RTT $\Rightarrow$ 5 ms one-way upstream delay) and Player B (30 ms RTT $\Rightarrow$ 15 ms one-way upstream delay) both have rock-solid fiber with ±1 ms jitter:

  • Both players' server receive margins converge to the same ~5.0–6.0 ms (queue = 0). Neither player has extra commands sitting in the server queue!
  • However, to arrive 5.0 ms before Server Tick $T$, Player A's client must generate and send Tick $T$'s UserCmd 10.0 ms before Server Tick $T$ executes (5 ms margin + 5 ms flight time), whereas Player B's client must generate and send Tick $T$'s UserCmd 20.0 ms before Server Tick $T$ executes (5 ms margin + 15 ms flight time)!
  • Therefore, at any given instant of real wall-clock time $t_{\text{real}}$, Player B's client command number is running 10 ms further ahead of the server than Player A's, and any mouse click Player B makes takes 10 ms longer to reach a server tick execution boundary!

Effect 2: The 4-Second P0 Jitter Amplifier (Why 30–60 ms Routes Gain Extra Queue Margin)

Higher ping routes traverse more ISP hops and peering links, where upstream micro-bursts (8–18 ms queuing spikes once every few seconds) are common—and Wi-Fi / cable DOCSIS connections routinely exhibit 10–20 ms upstream jitter spikes.

  • Because 0x000615be pins the single worst packet in every 256-packet (4.0 s) window to +5.0 ms:
    • If a 10 ms fiber player has 0.8 ms peak 4s jitter, their median total margin is 5.0 + 0.8 = 5.8 ms (queue = 0).
    • If a 30 ms cable/multi-hop player has even one 12.0 ms upstream delay spike every 4 seconds, the client speeds up its command clock (up to +5%) until that 12.0 ms late packet lands at +5.0 ms. Consequently, the other 255 normal packets in that 4-second window arrive 17.0 ms early:
      $$m_{\text{total}} = 1.375\text{ ms net} + 1 \times 15.625\text{ ms queue} = 17.0\text{ ms total}$$
    • That single spike silently pushes the 30 ms player into queue = 1 (an extra buffered server tick), increasing their total input-to-server-execution latency from 21.0 ms (clean 30ms) to 32.0 ms—more than 3× the 10.8 ms input-to-execution latency of the 10 ms fiber player!

3.3 Server Command Queue Starvation & Bloat Mechanics (server.dll + 0x00ecc6e0)#

What happens when network jitter changes faster than the ±5% client clock controller can adapt?

  1. Queue Starvation (queue == 0 when Tick $T$ runs, 0x00ecc420):
    • If a sudden upstream lag spike exceeds the player's current margin ($J > M_{\text{current}}$), the player's CPlayerCommandQueue is empty when Tick $T$ executes.
    • Up to cq_max_starved_substitute_commands = 4 consecutive ticks (62.5 ms), GenerateStarvedSubstituteCommand (0x00ecc420 $\rightarrow$ 0x00b4eb70) synthesizes a substitute UserCmd cloned from the last executed command:
      • Preserves analog velocity and view angles so the player doesn't freeze mid-stride for observers.
      • Calls ClearButtonEdges (0x00687cb0), empties subtick_moves, and sets attack1_start_history_index = -1 and attack2_start_history_index = -1 (substitute ticks can NEVER fire a weapon or start a jump).
    • Late Command Condensation (0x00ecd083 .. 0x00ecd2aa): When the delayed real packet finally arrives (provided it is < 60 ticks old and the player is still alive), the server catches up by setting cmd_flags |= 0x40, condensing missed button-press edges onto the next simulated tick—meaning your shot fires 1+ ticks late (with potentially mismatched movement/recoil state) rather than on Tick $T$.
  2. Queue Bloat Trimming (total_margin > 150 ms, 0x00ecc933):
    • If a network stall flushes a burst of > 10 commands (round(150 ms × 64 / 1000) via cq_buffer_bloat_msecs_max = 150), the server trims the queue down to min_queue + sv_cq_trim_bloat_remainder (1), discarding intermediate commands and incrementing cq_discarded_command_ticks.

3.4 Asymmetric Upload vs. Download Latency & Dual-Jitter Effects (0x00ece821 & 0x00ed6b37)#

Scoreboard ping only shows round-trip time ($\text{RTT} = \text{OWD}_{\uparrow} + \text{OWD}_{\downarrow}$), hiding upload/download routing asymmetry (common on DOCSIS cable, cellular, and asymmetric BGP return paths). Because CS2's dual clocks decouple upload from download, two players with the exact same 30 ms RTT experience opposite combat mechanics:

  1. Upload Latency ($\text{OWD}_{\uparrow}$) + Upload P0 Jitter ($J_{\uparrow, P0}$) Govern Shot Execution & DOA:
    • Outgoing UserCmd lead time is strictly $\Delta t_{\text{cmd}} = \text{OWD}_{\uparrow} + 5.0\text{ ms} + J_{\uparrow, P0}$ (engine2.dll + 0x000615be, unfiltered 0th-percentile minss).
    • A 30 ms RTT player with 5 ms Upload / 25 ms Download lands shots on server ticks just as fast as a 10 ms LAN/fiber player, easily beating a 30 ms RTT opponent with 25 ms Upload / 5 ms Download (20 ms faster packet arrival $\Rightarrow$ 1–2 ticks earlier execution, stripping the 25 ms-upload player DOA)!
  2. Download Latency ($\text{OWD}_{\downarrow}$) + Download P3.125 Jitter ($J_{\downarrow, P3.125}$) Govern Sight Delay & LagComp Bracket Validation:
    • Incoming snapshot/render age is $\Delta t_{\text{render}} = \text{OWD}_{\downarrow} + 5.0\text{ ms} + J_{\downarrow, P3.125} + T_{\text{interp}}$ (engine2.dll + 0x00068780, sorted 3.125th-percentile sar eax, 5). High Download Latency makes you see peekers later (worse Peeker's Advantage against you) and die deeper behind walls when un-peeking.
    • Lag-Compensation Bracket Override (server.dll + 0x00ece821 .. 0x00ed6b6e): In ComputeTargetLagCompInterpBrackets / StartLagCompensation, the server queries INetChannelInfo engine_latency (vtable + 0x50) and net_latency (vtable + 0x58), checking that the shooter's sv_interp0 / sv_interp1 / cl_interp sits within ±1.0 tick (15.625 ms) of sv_tick - engine_latency_ticks - (player_lerp_ticks + 1.0). Because client-local cl_clock_recvmargin inflation from Download Jitter is not part of wire RTT, sustained Download Jitter > 15.625 ms trips 0x00ed6b37 ("sv: Lag comp - full interp info doesn't match target time, using target time instead"), overriding your sub-frame hitbox brackets on moving targets!

4. Server Subtick Simulation, 32-Slot Eye Interpolation & 2-Bracket Lag Comp#

When Tick $T$ pops a valid CSGOUserCmd for an alive player (CPlayer_MovementServices::OnPawnProcessCommand, server.dll + 0x00c77eb0), the server executes three subtick-aware subsystems in exact sequence:

4.1 Subtick Movement Physics Slicing (CPlayer_MovementServices::DoMovement, 0x00c6c180)#

Instead of integrating movement once with dt = 0.015625 s, DoMovement splits the tick across all N entries in subtick_moves (plus any forced transitions in m_arrForceSubtickMoveWhen[4]):

  1. Initializes prev_when = 0.0f.
  2. For each step $i = 0 \dots N-1$ with when $w_i \in [0.0, 1.0]$:
    • Computes sub-slice frame time:
      $$\Delta t_i = (w_i - \text{prev\_when}) \times 0.015625\text{ s}$$
    • Temporarily overrides gpGlobals->frametime = dt_i and gpGlobals->curtime = tick_start + prev_when * 0.015625f.
    • Applies the exact button state transition (pressed / released) and, because sv_subtick_movement_view_angles = true, rotates movement wish-vectors using the sub-step pitch_delta / yaw_delta.
    • Executes full Source 2 humanoid physics (WalkMove / AirMove / Friction / CategorizePosition) for $\Delta t_i$.
    • Sets prev_when = w_i.
  3. Runs one final movement slice for the remainder $(1.0 - \text{prev\_when}) \times 0.015625\text{ s}$ and restores gpGlobals.

Why This Matters (Counter-Strafe Friction & Jump Spam Penalty):

  • If you release A and tap D to counter-strafe at when = 0.25 (3.9 ms into the tick) and click Mouse1 at when = 0.85 (13.3 ms into the tick), your pawn has already decelerated for 9.4 ms inside that same tick, tracked across tick boundaries via m_bUseFrictionStashedSpeed and m_flUseFrictionStashedSpeedUntilFrac.
  • Meanwhile, subtick jumping (CCSPlayerModernJump, sv_jump_precision_enable = true, m_flLastJumpFrac 6-bit fraction) enforces sv_jump_spam_penalty_time = 0.015625 (server.dll + 0x000c97d0: "For subtick jumps, if this much time or less has elapsed since the last time the user has pressed the jump key, pretend they hadn't pressed it"), throttling scroll-wheel bunnyhop inputs spaced <= 15.625 ms apart!

4.2 Server-Authoritative Shoot Position, Subtick RPM & Spread Re-Rolls (0x009f5c80 & 0x00b05090)#

After DoMovement finishes, CBasePlayerPawn::PostThink (0x00cff5b0) invokes ItemPostFrame() $\rightarrow$ CSBaseGunFire (0x009f5c80):

  1. Exact Subtick Weapon Fire-Rate (GetWeaponAttackTime, 0x009f6b20 .. 0x009f6d86):
    • On initial trigger press (attack1_start_history_index >= 0), CSBaseGunFire uses mode 0 ("exact" attack time at 0x009f5f00).
    • Crucially, weapon cooldowns do not round to whole 64 Hz ticks! [rdi + 0xeb0] and [rdi + 0xeb4] store m_nNextPrimaryAttackTick (int32) + m_flNextPrimaryAttackTickRatio (float32) (and similarly m_nPostponeFireReadyTicks + m_flPostponeFireReadyFrac for the R8 Revolver at 0x00a0d13d..0x00a0d191). Thus, a 600 RPM AK-47 (0.100 s = 6.40 ticks/shot) advances its subtick fire ratio continuously (0.40 -> 0.80 -> 0.20 -> 0.60 -> 0.00) across held full-auto sprays, using mode 1 ("interpolated" at 0x009f5f0c) to interpolate crosshair angles across input_history at each exact fractional bullet timestamp (falling back to "last history" / "no history" only if low client FPS failed to supply bracketing frames).
  2. Server Eye-Origin Ring Buffer (0x00b05090 .. 0x00b054d8):
    • Notice that CSGOInputHistoryEntryPB contains a client-sent shoot_position field (tag 66), which the server NEVER uses for actual bullet ray origins (preventing teleport/wallbang origin cheats; in FX_FireBullets at 0x002a29ff, it is only compared when developer debug ConVars are enabled: "Server old: %f %f new: %f %f").
    • Instead, CCSPlayer_WeaponServices records a 32-entry circular history buffer of server-computed eye positions ([this + 0xe8 .. 0x368], indexed modulo 32 via and ecx, 0x8000001f, 20 bytes per entry: int32 tick, float32 frac, Vector eyePos).
    • GetInterpolatedShootPosition locates the two bracketing server eye-position samples $E_0, E_1$ around [player_tick_count + player_tick_fraction] with interpolation weight $\alpha \in [0, 1]$ ([rsp + 0x158]) and computes (0x00b05326..0x00b05377):
      $$\vec{P}_{\text{shoot}} = (1 - \alpha)\,\vec{E}_0 + \alpha\,\vec{E}_1$$
  3. Spread Seed Sync, suspicious_hit_strategy SHA1 Re-Roll & Client Hit-Prediction Desync (0x000565f0 & 0x002a30b0):
    • Inside FX_FireBullets (0x002a30b0), normal random bullet inaccuracy is decoupled from client prediction via sv_usercmd_custom_random_seed (m_bFireBulletsSeedSynchronized), AND if anti-tamper heuristics flag an anomalous hit, ConVar suspicious_hit_strategy (0x000565f0: "0: Nothing. 1: Skip the bullet. 2: Skip the bullet and re-roll a new bullet") hashes Plat_FloatTime() + RandomInt() through SHA1 to re-roll bullet spread server-side!
    • Even without spread randomness, client hit-FX prediction (cl_predict_body_shot_fx / cl_predict_head_shot_fx, disabled by default) can false-positive ("fake dink") whenever an unacknowledged server velocity tag (m_flVelocityModifier), m_unpredictableBaseAngle aimpunch, or DOA death occurs in the 1 × RTT window before the server simulates the shot.

4.3 Two-Bracket Sub-Frame Lag Compensation (StartLagCompensation, 0x00ed65d0)#

Before FX_FireBullets (0x002a28f0) casts its hitscan ray, 0x002a2e49 calls CLagCompensationManager::StartLagCompensation (0x00ed65d0) with LAG_COMPENSATE_HITBOXES_ALONG_RAY (2) and weapon m_flRange:

  1. Anti-Exploit Timestamp Validation (ComputeTargetLagCompInterpBrackets, 0x00ece720 & 0x00ed6b37):
    • Computes server-expected target render time: cmd_time - (player_lerp_ticks + 1.0).
    • Checks that the client's reported sv_interp0, sv_interp1, and cl_interp fall within ±1.0 tick (15.625 ms) of server-expected interpolation time (0x00ed6b37). If outside tolerance, the server overrides the client's brackets!
    • Clamps total rewind age against sv_maxunlag (1.0 s engine ceiling; sv_maxunlag_player optional human-pawn override).
  2. Exact Sub-Frame Pose Reconstruction:
    • In CS:GO, lag compensation rewound hitboxes to a single discrete tick (or simple 2-tick lerp). In CS2, because client rendering blends across snapshot arrival jitter, StartLagCompensation reconstructs two full AnimGraph 2 skeleton poses from CLagCompensationManager's bone/pose history:
      $$\text{Pose}_0 = \text{Blend}\bigl(\text{Snapshot}[\text{sv0.src}],\ \text{Snapshot}[\text{sv0.dst}],\ \text{sv0.frac}\bigr)$$
      $$\text{Pose}_1 = \text{Blend}\bigl(\text{Snapshot}[\text{sv1.src}],\ \text{Snapshot}[\text{sv1.dst}],\ \text{sv1.frac}\bigr)$$
    • Finally, it blends $\text{Pose}_0$ and $\text{Pose}_1$ by cl_interp.frac so the server's lag-compensated hitboxes match the exact sub-frame pixel pose rendered on the shooter's monitor when they clicked!

5. Duel Resolution Proof: Who Gets The Kill & Why Shots Disappear#

CS2 Duel Resolution Matrix 🔍 Click to Zoom 220-DPI (3300×2244)
Figure 2 Cross-tick Dead-on-Arrival (DOA) button stripping vs. the Same-Tick Player Slot (0..63) execution loop and 2-bracket AnimGraph 2 lag compensation.
Open Raw PNG ↗

When two players fire lethal shots at nearly the same instant, CS2 resolves the duel through two completely different rules depending on whether their UserCmd packets land on different server ticks or the exact same server tick.

5.1 Scenario A: Different Server Ticks (Tick T vs. Tick T+1) — Lower Ping / Lower Jitter Wins#

Suppose Server Tick $T-1$ ran at $t = 0.0\text{ ms}$ and Server Tick $T$'s deadline is $t = 15.625\text{ ms}$:

  • Player B (30 ms ping $\Rightarrow$ 15.0 ms OWD) clicks Mouse1 first in real physical time at $t = 2.0\text{ ms}$. Adding 15.0 ms one-way transit (even assuming immediate tick-end dispatch), Player B's UDP packet reaches the server at $t = 17.0\text{ ms}$—missing Tick $T$ by 1.375 ms, placing it on Tick $T+1$ (31.25 ms).
  • Player A (10 ms ping $\Rightarrow$ 5.0 ms OWD) clicks Mouse1 6.0 ms later in real physical time at $t = 8.0\text{ ms}$. Adding 5.0 ms one-way transit, Player A's UDP packet reaches the server at $t = 13.0\text{ ms}$—arriving with +2.625 ms margin before Tick $T$!
  • Exact Binary Execution:
    1. At $t = 15.625\text{ ms}$ (Tick $T$), Player A's UserCmd executes FX_FireBullets $\rightarrow$ FireBullet $\rightarrow$ CBaseEntity::TakeDamage (0x00a767aa), reducing Player B's health to 0 (IsAlive() == false).
    2. At $t = 17.0\text{ ms}$, Player B's UDP packet arrives in CBasePlayerController::ProcessUsercmds (0x00b65d60). At 0x00b65ecb, pPawn->IsAlive() returns 0, and 0x00b65ef3 calls ClearButtonEdges (0x00687cb0), wiping Player B's IN_ATTACK press (DOA).
    3. Result: Even though Player B pulled the trigger 6.0 ms earlier in reality, Player A gets the kill cleanly with 100 HP, while Player B sees/hears a local gunshot that never existed on the server!

5.2 Scenario B: The Same-Tick Subtick Paradox (Tick T vs. Tick T) — Player Slot Index (0..63) Wins!#

Now suppose both Player A's and Player B's CCLCMsg_Move packets arrive on time before Server Tick $T$ (15.625 ms):

  • Player B occupies Server Slot 5 and clicked at when = 0.10 (1.56 ms into Tick $T$).
  • Player A occupies Server Slot 0 and clicked at when = 0.90 (14.06 ms into Tick $T$ — 12.5 ms later inside the exact same tick!).

Intuitively, players assume "subtick" means the server compares when = 0.10 against when = 0.90 and lets Player B shoot first. The compiled server.dll binary does NOT do this.

In GameFrame / SimulateEntities (server.dll + 0x005b2d89 .. 0x005b2e28), the server executes all player controllers in a simple ascending for loop from slot = 0 to gpGlobals->maxClients - 1:

x86-64 Disassembly
; server.dll + 0x005b2d89 (SimulateEntities player controller loop)
0x005b2d90: xor  r15d, r15d               ; slot = 0
0x005b2d93: mov  ebx, r15d
...
0x005b2df0: cmp  ebx, edi                 ; while (slot < gpGlobals->maxClients)
0x005b2df2: je   0x5b2e28
0x005b2df4: mov  rax, qword ptr [rsi]
0x005b2df7: mov  rcx, rsi                 ; rcx = CBasePlayerController* at `slot`
0x005b2dfa: call qword ptr [rax + 0x508]  ; -> CBasePlayerController::SimulateUserCommands (0x00b64bb0)
...
0x005b2e11: inc  ebx                      ; slot++
0x005b2e19: call 0xcb4900                 ; UTIL_ControllerBySlot(slot)
0x005b2e26: jmp  0x5b2df0

Trace what happens inside that single microsecond CPU loop on Tick $T$:

  1. ebx = 0 (Player A, Slot 0, when = 0.90) runs FIRST:
    • SimulateUserCommands $\rightarrow$ DoMovement $\rightarrow$ CBasePlayerPawn::PostThink (0x00cff5b0).
    • At 0x00cff6af, pPawn->IsAlive() returns 1. At 0x00cff721, ItemPostFrame() fires Player A's rifle (FX_FireBullets $\rightarrow$ FireBullet).
    • At 0x00a767aa inside FireBullet, victim->TakeDamage() executes synchronously, killing Player B (m_lifeState = LIFE_DYING, IsAlive() == false) immediately during Slot 0's turn!
  2. ebx = 5 (Player B, Slot 5, when = 0.10) runs ~50 microseconds LATER in the same loop:
    • Player B's DoMovement runs, and control enters CBasePlayerPawn::PostThink (0x00cff5b0).
    • At 0x00cff6af, pPawn->IsAlive() (call qword ptr [rax + 0x550]) returns 0 (false)!
    • At 0x00cff716..0x00cff719: test bpl, bpl; je 0xcff729 — the CPU jumps directly over call qword ptr [rax + 0xbe0] (ItemPostFrame())!
    • Result: Player B's when = 0.10 shot never fires, and Slot 0 (Player A, when = 0.90) wins the duel despite clicking 12.5 ms later inside the exact same tick!

5.3 Scenario C: Peeker's Advantage & Dying Behind Cover#

Why does a 60–80 ms peeker still feel so fast against a stationary angle-holder, and why do you still die after ducking behind a wall?

  1. Peeker's Advantage Math: When a moving Peeker rounds a corner at $t_0$, they immediately see the stationary Holder's position on their screen. The Holder cannot see the Peeker emerge until:
    $$T_{\text{peek\_delay}} = \text{OWD}_{\text{peeker}}^{\uparrow} + M_{\text{peeker}} + Q_{\text{tick}} + \text{OWD}_{\text{holder}}^{\downarrow} + T_{\text{holder\_interp}}$$
    For a 60 ms Peeker (30 ms OWD + 15 ms jitter-inflated margin) peeking a 20 ms Holder (10 ms OWD + ~15.6 ms snapshot/render delay + 7.8 ms average tick quantization), the Peeker sees and aims at the Holder ~78 ms before the Peeker appears on the Holder's monitor!
  2. Dying Behind Cover ("Backtrack" Within sv_maxunlag): Conversely, when you un-peek behind a brick wall at $t_0$, a 70 ms opponent's screen is rendering snapshots from ~50–65 ms ago—where your head was still completely exposed! When they click your exposed head at when = 0.62, StartLagCompensation (0x00ed65d0) rewinds your AnimGraph 2 skeleton to their exact sv_interp0/sv_interp1/cl_interp frame (55 ms ago), confirms the headshot in open air, and kills you ~35 ms after you already reached safety on your own screen.

5.4 Scenario D: Poor or Fluctuating Server Performance (networksystem.dll + 0x000c9320 & engine2.dll + 0x001dc880)#

What happens when the server itself suffers CPU spikes or fluctuating tick frame times (e.g., 22–35 ms frame stalls from physics, grenades, or shared-VM CPU steal instead of steady 15.625 ms)? Disassembling CNetworkServerService (engine2.dll + 0x001dc8d9 .. 0x001dcc74), AdvanceTime (0x00226500), and CNetChan::ProcessPacketHeaderAndPayload (networksystem.dll + 0x000c94ca .. 0x000c954f) proves three direct duel-altering effects:

  1. Late-Wakeup Socket Sweep — Flipping a Cross-Tick DOA Loss Into a Same-Tick Slot-Order Win:
    • On every server tick, CNetworkServerService runs OnServerPollNetworking (0x001de120) $\rightarrow$ OnServerProcessNetworking (0x001de230) at the wall-clock instant the stalled server thread actually wakes up, right before OnServerBeginSimulate (0x001de340).
    • Meanwhile, SteamNetworkingSockets's background thread stamped [pkt + 0x60] = usec_packet_recv when each UDP datagram hit the NIC, and networksystem.dll (0x000c9515 .. 0x000c9539) compares usec_packet_recv against the scheduled tick deadline (usec_tick_deadline):
      x86-64 Disassembly
      ; networksystem.dll + 0x000c9515 .. 0x000c954a
      0x000c9515: sub     rdi, rcx              ; rdi = usec_tick_deadline - usec_packet_recv
      0x000c951c: lea     rax, [rdi + 0x1388]   ; +5000 usec (+5.0 ms)
      0x000c9523: cmp     rax, 0x19a28          ; valid window: [-5.0 ms, +100.0 ms]
      0x000c9529: ja      0xc954f               ; if < -5.0 ms: xmm8 = -1.0f (0x10081 LATE!)
      0x000c9532: cmp     rdi, r8               ; r8 = 1 usec
      0x000c9539: cmovl   rdi, r8               ; [-5.0 ms, 0) LATE AMNESTY -> clamped to +1 usec!
    • Duel Reversal Proof: Suppose Tick $T$ (Command #1) is scheduled for 15.625 ms, Player A (10 ms RTT, Slot 2) arrives cleanly at 9.625 ms, and Player B (18 ms RTT = 9 ms UL, Slot 1, faster 0.5 ms reaction $\Rightarrow$ also Command #1!) suffers an unbuffered +8.5 ms upload spike on that shot packet, arriving at 18.125 ms (2.5 ms past 15.625 ms). On a healthy server, Player B's queue starves on Tick $T$, Player A kills Player B on Tick $T$, and Player B's 18.125 ms packet is stripped DOA. If a server CPU spike delays Tick $T$'s wakeup by +5.0 ms (waking at 20.625 ms), OnServerPollNetworking sweeps Player B's late Command #1 onto Tick $T$, and Slot 1 (Player B) executes before Slot 2 (Player A)—completely reversing who wins the gunfight!
  2. Post-Stall Multi-Tick Catch-Up Burst Starvation (engine2.dll + 0x0022668c):
    • After a >= 31.25 ms (2+ tick) server stall finishes, AdvanceTime (0x0022668c, engine_allow_multiple_ticks_per_frame = true, capped by engine_max_ticks_to_simulate) runs multiple server ticks back-to-back in < 0.2 ms of real time to catch up.
    • Because zero network transit time elapses between the back-to-back catch-up ticks, any tightly paced q = 0 player whose next UserCmd hasn't arrived yet hits Queue Starvation on the catch-up tick (GenerateStarvedSubstituteCommand, server.dll + 0x00ecc420), forcing attack1_start_history_index = -1 (gun cannot fire until the next tick), whereas a jitter-buffered q >= 1 opponent already has a command queued and fires immediately!
  3. Global Margin Contagion & Peeker's Advantage Inflation (engine2.dll + 0x00065dd4):
    • Every CNETMsg_Tick broadcasts the server's host_unfiltered_frametime ([r14 + 0xc], checked against 0.015625f at 0x00065dda: "Server tick %d was slow (%.1fms)...").
    • Fluctuating server frame times simultaneously (a) feed near-zero +1 µs amnesty margins or 0x10081 LATE flags into all 10 players' cmd_recv_status, tricking everyone's P0 (minss) upstream controller into adding extra input delay, and (b) once slow ticks exceed 3.125% (P3.125), push every defender's downstream cl_clock_recvmargin backward (93% slowdown, $\tau = 0.3\text{ s}$)—directly adding +10–20 ms of extra Peeker's Advantage and behind-wall deaths!

6. Multi-Version Evolution: Pre-AnimGraph 2 vs. April/May 2026 vs. Nov 2026 (v1.42.0.1)#

CS2 Engine and Server Netcode Evolution 🔍 Click to Zoom 220-DPI (3300×1892)
Figure 3 Verified 5-milestone netcode & animation evolution across 8 SteamDB GameTracking-CS2 binary snapshots (Builds 2000106 → 2000950 Live v1.42.0.1).
Open Raw PNG ↗

Diffing SteamDatabase/GameTracking-CS2 across 8 builds from 2024 to November 2026 reveals the exact engineering changes across the AnimGraph 2 transition and the May 2026 updates:

6.1 Milestone 1: Launch Subtick $\rightarrow$ Late 2024 / 2025 Q12 Overhaul (Builds 2000106 – 2000777)#

  • Early CS2 (2023 – Feb 2024, Build 2000243): CSVCMsg_PacketEntities sent coarse queue summaries (command_queue_info_t) and a single last_cmd_recv_margin. Third-person pawns used AnimGraph 1 (CAnimGraphNetworkedVariables), syncing 18 dynamic arrays of raw graph parameters (m_PredNetBool/Int/Float/Vector/QuaternionVariables)—causing massive snapshot size spikes whenever enemies peeked into PVS!
  • 2025 – Pre-AnimGraph 2 (Apr 2, 2026, Build 2000777, SHA b34ebe76):
    • Replaced command_queue_info_t with per-command Q12 repeated sint32 cmd_recv_status = 22, cq_starved_command_ticks = 20, cq_discarded_command_ticks = 21, svc_UserCmds = 76, and svc_NextMsgPredicted = 77.
    • Added client hit-FX prediction booleans (is_predicting_body_shot_fx, is_predicting_head_shot_fx, is_predicting_kill_ragdolls) and bi_PredictionEvent = 19 (CSPE_DamageTag = 1, CSPE_AddAimPunch = 3).
    • Added early TrueView demo support (cl_demo_predict, cl_trueview_show_doa_predictions), while third-person player pawns still carried legacy AnimGraph 1 alongside experimental flat-array AG2 fields.

6.2 Milestone 2: The April 20, 2026 AnimGraph 2 Overhaul (Build 2000791, SHA c15581f2)#

In this massive 1,596-file update, Valve fundamentally re-engineered how server and client process player animations, hitboxes, crouching, and subtick friction:

  1. Total Deletion of AnimGraph 1 (CBaseAnimGraphController.h):
    • Deleted m_pAnimGraphInstance and all 18 CAnimGraphNetworkedVariables (m_PredNet* / m_OwnerOnlyPredNet*) vectors!
    • Replaced the transitional flat m_serializedPoseRecipeAG2 byte array with slotted deterministic AG2 Pose Recipes:
      • CUtlVectorEmbeddedNetworkVar<AnimGraph2SerializedPoseRecipeSlot_t> m_SerializePoseRecipeAG2Slots (caching graph topologies via ag2_network_recipeshape_cache_size = 32)
      • CNetworkUtlVectorBase<uint8> m_SerializePoseRecipeAG2Dynamic + m_nSerializePoseRecipeAG2ActiveSlot
      • CNmGraphInstance* m_pGraphInstanceAG2 evaluated and packed in parallel (animgraph2_serialize_pose_recipe_in_pre_pack_entities = true).
    • Netcode & Hit-Reg Impact: Eliminated AnimGraph 1 peek bandwidth spikes and guaranteed that client rendering and server CLagCompensationManager (sv_interp0/sv_interp1/cl_interp) reconstruct bone/hitbox transforms from the exact same server-authored pose recipe!
  2. Crouch Hitbox vs. Camera Split (CCSPlayer_MovementServices.h):
    • Embedded CCSPlayerAnimationState m_AnimationState directly inside CCSPlayer_MovementServices.
    • Deleted single m_flDuckOffset and integer timers (m_nDuckTimeMsecs, m_nDuckJumpTimeMsecs, m_nJumpTimeMsecs), replacing them with separate m_flDuckRootOffset (third-person skeleton/hitbox root) and m_flDuckViewOffset / m_flBombPlantViewOffset (first-person eye/shoot height), and removed legacy cam_head_constraint_* / camera_jolt_fix hacks.
  3. Subtick Friction & Engine Pacing Updates:
    • Replaced m_flOffsetTickCompleteTime / m_flOffsetTickStashedSpeed with m_bUseFrictionStashedSpeed, m_flUseFrictionStashedSpeedUntilFrac, and m_flFrictionStashedSpeed.
    • Removed cl_predict_after_every_createmove and cl_tickpacket_send_every_tick in engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll), split frame timing logs into separate server/client tick counts, and lowered cl_hud_telemetry_net_misdelivery_poor from 5% to 2%.

6.3 Milestone 3: Late April & May 2026 Combat, AimPunch & Ground-Topology Patches (Builds 2000795 – 2000837)#

Immediately following the April 20 AnimGraph 2 release, Valve shipped a series of critical server/client patches across late April and May 2026:

  1. April 21–22, 2026 (Builds 2000795–2000797, SHAs d472fff1 & 5759255c) — CCSPlayer_AimPunchServices Rewrite:
    • Deleted m_aimPunchAngle, m_aimPunchAngleVel, m_aimPunchTickBase, m_aimPunchTickFraction, and m_aimPunchCache from CCSPlayerPawn, and deleted CSPE_AddAimPunch from cs_prediction_events.proto!
    • Introduced CCSPlayer_AimPunchServices (m_pAimPunchServices), splitting aimpunch into two independent timelines:
      • Predictable (your own weapon's recoil): m_predictableBaseTick, m_predictableBaseTickInterpAmount (subtick fraction!), m_predictableBaseAngle, m_predictableBaseAngleVel.
      • Unpredictable (taking bullet damage from an enemy): m_unpredictableBaseTick, m_unpredictableBaseAngle.
    • Why Players Felt This Immediately: Prior to April 21, getting hit by an enemy bullet mid-spray collided with your client's predicted recoil aimpunch variables, causing severe crosshair/recoil reprediction snaps during gunfights!
  2. April 30 & May 7, 2026 (Builds 2000809–2000814, SHAs 801fc5c1 & 8d7a8956) — Ground Topology Smoothing:
    • Added m_bUsingGroundTopologyOffset and m_flUsingGroundTopologyOffsetTransitionSmoothing to CCSPlayer_MovementServices (and refined it on May 7 by removing raw m_flAltitudeAtLastUsingGroundTopologyOffsetTransition), smoothing AnimGraph 2 footlock/root vertical offsets on stairs and uneven slopes so head hitboxes stopped micro-teleporting vertically!
    • Added PlayerConnectedState m_iMostConnected to CBasePlayerController (May 7).
  3. May 18–29, 2026 (Builds 2000827–2000837, SHAs ef3da11e & 3f69ae73) — History Array Cleanup & Stack Inaccuracy:
    • Deleted legacy 2-element m_angShootAngleHistory, m_vecThrowPositionHistory, and m_vecVelocityHistory from CCSPlayerPawn (consolidating onto the 32-slot ShootPositionHistoryEntry_t ring buffer and stashed subtick grenade vectors), removed cl_skel_constraints_enable, hardened engine2.dll Steam auth validation (May 11–22), and added weapon_accuracy_stack_boost_limit = 2.

6.4 Milestone 4: Summer – November 2026 (Builds 2000870 – 2000950, Live v1.42.0.1)#

  • Delta-Encoded svc_UserCmds (codegen_delta_encoder = true): Added binary delta encoding (CMsgServerUserCmd.delta_data, sv_cq_delta_encode_svc_usercmds = true) across usercmd.proto and cs_usercmd.proto.
  • Live Spectator TrueView & TrueViewLookAhead: Added cl_spectator_predict plus TrueViewLookAhead (tick gobble + aggressive slowdown) in engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll) to reconstruct exact client-predicted gunfights (including DOA shots) for spectators and demos.
  • Clock-Slam Jitter Protection (cl_clockdrift_max_secs = 0.125 + jitter_margin): Replaced the strict 3-tick (46.875 ms) cl_clockdrift_max_ticks ceiling with 0.125 s (125 ms = 8 ticks) plus + jitter margin (engine2.dll + 0x00067ad0), eliminating violent mid-gunfight client tick slams during moderate jitter spikes.

6.5 Binary Function Reference Table (v1.42.0.1)#

BinaryFunction / RoutineRVA (v1.42.0.1)Exact Technical Responsibility
client.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/client.dll)CCSGOInput::CreateMove0x00cff7a0Samples 1 input_history entry/render frame; decimates > 4 frames/tick (> 256 FPS) to 0.25-tick anchors + pinned click indices.
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)ClientRecvServerExecutedUserCmd0x00060970Decodes Q12 cmd_recv_status (÷ 4096.0f) from server snapshots into client margin history.
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)GetDesiredRecvMargin0x000611a0Computes 5.0 ms + 15.625 ms × max(sv_cq_min_queue, cl_tickpacket_desired_queuelength) (+1 tick if cl_async_usercmd_send == 0).
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)UpdateUserCmdRecvMarginPacing0x00061380Tracks 256-tick (4.0s) P0 minimum margin (minss) and dilates command clock within ±5% (τ = 0.4s).
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)CClockDriftMgr::ApplyClockDrift0x00067ad0Enforces cl_clockdrift_max_secs (0.125s) + sim_ticks + jitter_margin before slamming client clock.
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)UpdateClientClockSync0x00068270Downstream snapshot clock sync using sorted P3.125 (sar eax, 5) percentile + 1.0 ms deadband (0x00068780).
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)CServerSideClient::ProcessMove0x000b9540Enforces <= 1 CCLCMsg_Move/pkt, measures fractional net_margin to next 64 Hz tick, calls server.dll.
networksystem.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/networksystem.dll)CNetChan::ProcessPacket0x000c9320Computes usec_tick_deadline - usec_packet_recv (0x000c9515); clamps [-5.0 ms, 0) late packets to +1 µs amnesty; marks < -5.0 ms as -1.0f (LATE).
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)CNetworkServerService Tick Schedule0x001dc880Runs OnServerPollNetworking (0x1de120) $\rightarrow$ OnServerProcessNetworking (0x1de230) $\rightarrow$ OnServerBeginSimulate (0x1de340).
engine2.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/bin/win64/engine2.dll)UpdateClientAsyncSendMode / AdvanceTime0x00225e40 / 0x00226500Activates JIT async send (mode = 2); accumulates dt / 0.015625 and runs multi-tick catch-up bursts after server stalls.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)FX_FireBullets / FireBullet0x002a28f0 / 0x00a753f0Invokes lag comp, traces hitboxes, and calls CBaseEntity::TakeDamage (0x00a767aa) synchronously.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)GameFrame / SimulateEntities0x005b2d30Iterates slot = 0 .. maxClients - 1 (0x005b2d89) sequentially—no cross-player when sorting.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)ClearButtonEdges0x00687cb0Zeroes buttonstate2 (pressed) & buttonstate3 (released) on DOA packets and starved substitute cmds.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CSBaseGunFire / GetWeaponAttackTime0x009f5c80 / 0x009ffe70Extracts [player_tick_count + player_tick_fraction] from input_history[attack1_start_history_index].
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)GetInterpolatedShootPosition0x00b05090Linearly interpolates server-authoritative eye origin across 32-slot circular history buffer ([this+0xe8]).
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)EncodeCmdRecvStatus0x00b4c1f0Quantizes total_margin into signed Q12 fixed-point (× 4096.0f, 0.244 ms step) for snapshot feedback.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CBasePlayerController::OnSimulateUserCommands0x00b64080Dispatches to CCommandQueue (0xb64104); skips legacy sv_clockcorrection_msecs (30) (0xb43d00).
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CBasePlayerController::ProcessUsercmds0x00b65d60Runs !IsAlive() DOA check (0xb65ecb), computes net_margin + queue × 0.015625, queues UserCmds.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CPlayer_MovementServices::DoMovement0x00c6c180Sub-slices 15.625 ms tick across subtick_moves [prev_when, when] intervals and runs physics per slice.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CBasePlayerPawn::PostThink0x00cff5b0Checks IsAlive() (0xcff6af); skips ItemPostFrame() (0xcff721) if killed earlier in the same tick.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CCommandQueue::OnSimulateUserCommands0x00ecc6e0Pops 1 UserCmd/tick; generates up to 4 no-fire substitute cmds on starvation; trims > 150 ms bloat.
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)ComputeTargetLagCompInterpBrackets0x00ece720Cross-checks client sv_interp0, sv_interp1, and cl_interp against cmd_time - (lerp_ticks + 1).
server.dll/Steam/steamapps/common/Counter-Strike%20Global%20Offensive/game/csgo/bin/win64/server.dll)CLagCompensationManager::StartLagCompensation0x00ed65d0Enforces ±1 tick (15.625 ms) interp tolerance, evaluates 2 AG2 poses, and blends hitboxes by cl_interp.frac.

Full Interactive Engine Laboratory · 3 Tabs · 5 CS2 Builds

Interactive Subtick, Dual-Jitter, Server Stall & Version Explorer

Switch across 5 historical CS2 builds (2023 AnimGraph 1 → Apr 20 AG2 Overhaul → May 2026 AimPunch Split → Live v1.42.0.1), test post-stall multi-tick catch-up bursts, browse the interactive glossary, and inspect the 5-era diff matrix.

Part II · Zero-Jargon Visual & Analogy Guide

PART II: The Complete Plain-English Guide (No Technical Background Required)

CS2 Subtick Explained Simply 🔍 Click to Zoom 220-DPI (3300×2112)
Figure 4 Plain-English visual summary: The 4 core rules governing subtick shots, jitter cushions, same-tick lobby seat priority, and lag-compensated cover deaths.
Open Raw PNG ↗

If you don't care about code addresses or equations and simply want to understand what actually happens when you click your mouse in CS2, how ping affects your shots, why your bullets sometimes vanish when you die, and who wins a close gunfight, here is the entire system explained in plain English.


1. What "Subtick" Actually Is: The Polaroid Photo on a 64-Tick Train#

When Valve announced CS2 with "What you see is what you get — tick rate no longer matters," many players understandably assumed that the moment you click your mouse, your PC instantly sends an emergency packet to the server, and the server immediately calculates your bullet in real time.

That is not what CS2 does.

Instead, imagine the CS2 server as a train station where a train departs strictly once every 15.6 milliseconds (64 times per second—that's what "64-tick" means). Nothing in the game world officially happens between trains; the server only updates player health, deaths, and scores when a train departs.

Here is the difference between old CS:GO and CS2's Subtick:

  • In old CS:GO (without subtick): Your PC didn't even check where your mouse was aiming until the train doors were closing. If you flicked onto an enemy's head 4 milliseconds into the 15.6 ms wait, and then your mouse slightly overshot by 15.6 ms, CS:GO threw away where you were aiming when you actually clicked!
  • In CS2 (with subtick): Your PC acts like a high-speed Polaroid camera. The exact microsecond your finger clicks Mouse1, your PC snaps a time-stamped Polaroid photo recording:
    1. "Clicked at exactly 4.2 milliseconds (27% of the way through this 15.6 ms window)."
    2. "Crosshair was aimed at this exact pixel."
    3. "The enemy on my screen was at this exact mid-stride animation frame."

Here is the catch: That Polaroid photo does NOT get a private jet to the server. Your PC still puts that Polaroid into an envelope and sends it on the normal 15.6 ms train schedule!

  • What subtick fixed: Where your bullet goes in space (your exact crosshair angle, how much you slowed down from counter-strafing, and where the enemy's head was on your monitor) is accurate to the microsecond.
  • What subtick did NOT change: When the server processes your shot—and when other players find out they died—is still locked to that 15.6 ms (64-tick) train schedule.

2. Does a 30 ms Ping Player Have a Bigger Server Margin Than a 10 ms Player?#

Players often ask: "Does the server force a 30 ms ping player into a bigger waiting buffer (margin) than a 10 ms ping player?"

After reading the actual engine code, the answer is no if both connections are perfectly smooth—but a huge YES if the higher-ping connection has even tiny hiccups ("jitter")!

Think of the server's 15.6 ms tick deadline like an airport gate closing for takeoff:

  1. The 5 Millisecond Rule (Smooth Internet):
    • CS2's engine has a built-in safety rule: it tries to pace your outgoing packets so they arrive at the server exactly 5 milliseconds before the gate closes—no matter what your ping is!
    • If Player A has 10 ms ping (meaning it takes 5 ms one-way for their packet to travel to the server) and Player B has 30 ms ping (15 ms one-way travel time), and both have rock-solid fiber internet with zero traffic jams:
      • Both players' packets arrive at the server ~5 to 6 ms before the gate closes. Neither player sits in an extra waiting room on the server!
      • However, because Player B lives 10 ms further down the highway (15 ms drive vs. 5 ms drive), Player B has to leave their house 10 ms earlier to make the same flight (20 ms before takeoff vs. 10 ms before takeoff). That 10 ms difference in travel time still gives the 10 ms player a huge real-world speed advantage!
  2. *The 4-Second "Worst Traffic Jam" Trap (Why Higher Ping Usually Does Get a Bigger Margin):*
    • Here is the hidden rule we uncovered inside engine2.dll: CS2 constantly watches your packet arrivals over the last 4.0 seconds (256 consecutive ticks), and it adjusts your timing based on your single worst-delayed packet in those entire 4 seconds!
    • Imagine driving to the airport every day. On 255 out of 256 trips, traffic is empty. On just 1 trip out of 256, a delivery truck blocks the road for 12 milliseconds.
    • If you miss the flight gate (0 ms margin), your gun refuses to fire on that tick ("starvation"). So CS2's engine says: "Whoa, you had one 12 ms traffic jam! For the next 4 seconds, I am going to force you to leave 12 ms earlier on EVERY SINGLE TRIP so even your worst jam arrives 5 ms early!"
    • What happens on the other 255 normal trips when there is no truck in the road? Your packets arrive 5 + 12 = 17 milliseconds early!
    • Because a server tick is 15.6 ms long, arriving 17 ms early means your commands sit in a waiting line (queue = 1) on the server for a full extra tick!
    • Higher-ping (30–60 ms) internet routes cross more routers, and cable/Wi-Fi connections frequently have 10–15 ms micro-hiccups. That single rule silently adds 10–15+ ms of extra waiting-room delay onto higher-ping or jittery players, even when their in-game Max Acceptable Game Traffic / buffer setting is set to None (0 ticks)!

(Bonus myth busted: Many players blame a console setting called sv_clockcorrection_msecs 30 for CS2's feel. The server code proves that CS2's modern Command Queue completely jumps over that old CS:GO code for human players—it is 100% inactive.)


3. Who Gets The Kill When Two Players Shoot at Almost the Same Time?#

In Counter-Strike, rifle bullets travel instantly ("hitscan"), and two players are never allowed to kill each other with bullets at the same time (unlike projectile games like Battlefield or Apex). One player must win, and the loser's bullet must be deleted.

When you and an enemy shoot at almost the exact same moment, CS2 decides who lives and who dies using two shocking rules:

Situation 1: Your Envelopes Catch Different 15.6 ms Server Trains $\rightarrow$ Lower Ping Wins

Suppose a server train departs at 15.6 ms:

  • You (30 ms ping, 15 ms one-way travel) have faster human reflexes! You click your enemy's head first in real life at 2.0 ms. Your Polaroid travels across the internet for 15 ms and reaches the server at 17.0 ms—missing the 15.6 ms train by 1.4 ms! It has to wait for the 31.25 ms train.
  • Your Enemy (10 ms ping, 5 ms one-way travel) reacts 6.0 ms slower than you, clicking your head at 8.0 ms. Because their one-way trip is only 5 ms, their Polaroid arrives at 13.0 ms—making it onto the 15.6 ms train!
  • What happens:
    1. At 15.6 ms, the server processes the enemy's shot and marks you DEAD.
    2. Just 1.4 ms later (at 17.0 ms), your envelope arrives at the server door. The very first thing the server's mailroom does is check: "Is this player still alive?" Seeing that you died at 15.6 ms, it literally erases the mouse-click from your packet ("Dead on Arrival" / DOA).
    3. On your monitor, your PC already played your AK-47 gunshot sound and muzzle flash at 2.0 ms—and 15 ms later when the server's death message reaches your PC, you fall over dead and your teammate spectating you says "You never even fired!" You actually out-reacted your opponent by 6 ms, and lost purely to one-way travel time.

Situation 2: Both Envelopes Catch the EXACT SAME 15.6 ms Train $\rightarrow$ Lobby Seat Number Wins (NOT Subtick!)

Now here is the single most surprising discovery in our entire reverse-engineering of server.dll.

Suppose both of your envelopes arrive in time for the exact same 15.6 ms server train:

  • Looking at the subtick stopwatches inside those two envelopes, Player B clicked 1.5 ms into the tick (10%), while Player A clicked 14.0 ms into the tick (90%)—meaning Player B clearly shot 12.5 ms earlier inside that same tick!
  • Who gets the kill? Almost everyone assumes Player B wins because Subtick recorded 1.5 ms vs. 14.0 ms.
  • The truth in the code: Player A can STILL win and erase Player B's shot!
    • Why? When the 15.6 ms train runs, the server does NOT sort players by their subtick when timestamps!
    • Instead, the server has 64 numbered player slots (Slot 0, Slot 1, Slot 2 ... assigned when players connect to the server). It simply loops from Slot 0 up to Slot 63 in numerical order:
      1. If Player A (14.0 ms click) happens to sit in Slot 0, the server runs Player A's entire turn first, fires Player A's gun, and instantly sets Player B's health to 0 (Dead)!
      2. Microseconds later in that exact same computer loop, the server reaches Slot 5 (Player B, 1.5 ms click). Right before letting Player B's gun fire, the code checks "Is Player B alive?" Because Slot 0 just killed them microseconds ago, the code says "No" and skips firing Player B's weapon!
    • In other words: *Subtick tells the server where your gun was pointing at 1.5 ms, NOT who pulls the trigger first when two shots land on the same server tick!* On the exact same tick, lower server slot number wins every time.

4. Why Do You Still Die "Behind a Wall" in CS2?#

Have you ever peeked an angle, ducked completely back behind a solid concrete wall on your monitor, and then 0.05 seconds later keeled over dead from a headshot?

Subtick did not remove this—in fact, subtick makes the shooter's rewind more exact:

  1. Suppose you are playing against an opponent with 70 ms ping. Because snapshots take time to travel from the server to their PC, everything on their monitor is roughly 45 to 60 milliseconds in the past.
  2. On your screen, you tucked behind the brick wall 40 ms ago. On their screen, your head is still out in the open, and they click cleanly on your forehead!
  3. Their PC sends that Polaroid to the server saying: "When I clicked, I was looking at the exact frame from 55 ms ago, and my crosshair was dead-center on their head."
  4. As long as their rewind is within the server's lag-compensation limit, the server rewinds your body back 55 ms to where you were standing on their screen, confirms their crosshair hit your head, and kills you. By the time that death message travels back to your PC, you feel like bullets bent around a concrete corner—even though from the shooter's perspective, it was a 100% clean shot in the open!
  5. This same delay is also why peeking ("Peeker's Advantage") is so strong: when a 60 ms player swings out from behind a corner, their movement has to travel to the server and then travel to your PC before you even see their shoulder—giving the swinging player a 60–80 ms head start on a stationary defender!

5. What Changed in April & May 2026 (Before vs. After the AnimGraph Update)?#

You remembered that around April and May the engine and server changed how they processed player data. Comparing the exact game files before and after those updates confirms four major changes happened right in that window:

  1. April 20, 2026 — The "AnimGraph 2" Animation & Hitbox Overhaul:
    • Before April 20: CS2 used an older animation system ("AnimGraph 1") for third-person player models. Whenever an enemy swung around a corner, the server had to send dozens of raw animation variables over the internet, and your PC had to calculate how their body bent on its own. That caused huge network packet spikes during gunfights (worsening jitter!) and occasional mismatches between where a body looked on your screen vs. where the server thought their head hitbox was.
    • After April 20: Valve deleted AnimGraph 1 and switched to AnimGraph 2 "Pose Recipes." Now, the server calculates the exact body pose once and sends a tiny, compact "recipe" of the finished pose. Packet sizes during peeks dropped dramatically, and your screen's enemy model and the server's lag-compensation hitboxes now use the exact same recipe.
  2. April 20, 2026 — Splitting Crouch Hitboxes From Your Camera:
    • In the same update, Valve separated how fast your third-person body/head hitbox ducks (DuckRootOffset) from how fast your first-person camera ducks (DuckViewOffset), and reworked how subtick movement friction slows you down when counter-strafing.
  3. April 21–22, 2026 — Fixing "AimPunch" Shaking Your Spray Mid-Duel:
    • Previously, CS2 used one shared system for both your own gun's recoil kick (which your PC can predict instantly) and flinching when an enemy bullet hits you ("aimpunch," which your PC cannot predict ahead of time). Whenever an enemy tagged you mid-spray, the surprise hit collided with your predicted spray recoil and made your camera/crosshair jolt unpredictably!
    • On April 21–22, Valve ripped that out and built a brand-new AimPunchServices system that keeps your own weapon recoil and enemy bullet flinch on two completely separate timelines so getting tagged no longer breaks recoil prediction.
  4. April 30 – May 2026 (and Fall 2026) — Stair Smoothing & Anti-Clock-Snap:
    • On April 30 and May 7, Valve added ground-topology smoothing so player models walking up stairs or uneven ground stopped micro-snapping their heads up and down.
    • Later in 2026 (live in v1.42.0.1), Valve also fixed a harsh clock-snapping bug where a moderate lag spike (~50 ms) could cause your client to violently snap ("slam") its game clock mid-peek; the engine now factors your connection's jitter margin into that safety threshold so brief spikes don't teleport your view.

6. Why Your FPS, Spraying & "Fake Headshot Dinks" Still Matter in CS2#

When auditing client.dll and the remaining weapon/movement code in server.dll, three extra pieces of the puzzle emerged that every player feels in-game:

  1. Your FPS Directly Controls How Sharp Subtick Aiming Is:
    • Many players assumed CS2 reads mouse movements on a separate 1000 Hz background timer even if your screen freezes. It does not. CS2 takes one "Polaroid" aiming snapshot per video frame your graphics card draws.
    • If an explosion or smoke causes a frame-time stutter (dropping your 1% low FPS to 45 FPS for a split second), CS2 has fewer Polaroids to tell where your crosshair was moving! Conversely, if you play above 256 FPS (400+ FPS), CS2 smartly keeps 4 evenly spaced snapshots per tick plus the exact frame you clicked, so high-FPS players get maximum click precision without clogging their internet upload.
  2. Full-Auto Spraying Also Uses Subtick (And Scroll-Wheel Bunnyhopping Has a Hidden Speed Limit):
    • Even when you hold down Mouse1 to spray an AK-47 (10 bullets per second = 1 bullet every 6.4 ticks), CS2 does not round your bullets to 6 or 7 ticks like CS:GO did—it tracks that .4 fraction continuously (6.4, 12.8, 19.2...) and blends your mouse spray across frames!
    • Meanwhile, for scroll-wheel bunnyhoppers, server.dll enforces a hidden 15.625 ms (1-tick) jump-spam penalty: if two jump inputs arrive less than 15.625 ms apart, the server ignores the second jump press.
  3. Why "Predict Headshot / Body Shot Effects" Causes Fake Dinks:
    • If you turn on client hit-prediction in CS2's settings, your PC plays a headshot spark immediately when you click—before asking the server. Even if your aim was dead-on, three things can change on the server before your packet arrives: (a) you were actually already dead (DOA), (b) an enemy bullet tagged you 5 ms earlier and slowed/flinched your gun, or (c) server-only bullet spread seeds put the bullet slightly off-target—creating a "fake dink" for 0 damage!

7. Complete Plain-English Glossary: Every Term in the Interactive Engine Model Explained#

If you are using the Interactive Engine Model (Interactive Engine Laboratory (open standalone view ↗)), here is what every single slider, label, and number means in plain language:

  • Click Wall Time (ms) — The Real-World Stopwatch:
    Imagine a referee standing behind both players in real life with a stopwatch that starts at 0.0 ms. If Player B has Click Wall Time = 2.0 ms and Player A has Click Wall Time = 8.0 ms, Player B physically pressed their mouse button 6.0 ms faster in real life. It measures pure human reaction time before internet ping or server ticks touch the shot.
  • Server Slot (Slot 0 .. Slot 63) — Your Lobby Chair Number:
    When 10 players connect to a CS2 server, each player is placed into a numbered slot (Slot 0, Slot 1, Slot 2, etc.). Whenever two players' shots arrive in time for the exact same 15.625 ms server tick, CS2 does not check who clicked earlier inside that tick—it simply checks seats in order (Slot 0, then Slot 1, then Slot 2...). Whoever sits in the lower slot number fires their bullet first, instantly killing the higher-slot player before their gun is allowed to shoot!
  • Upload Latency (UL ↑) vs. Download Latency (DL ↓) — Why Two "30 ms Ping" Players Have Opposite Duels:
    Scoreboard Ping (RTT) is actually Upload Latency + Download Latency!
    • Upload Latency (↑) is the one-way trip from your mouse to the server—only Upload Latency (+ Upload Jitter) decides which server tick fires your bullet! A 30 ms player with 5 ms Upload / 25 ms Download lands bullets as fast as a 10 ms player, beating a 30 ms opponent with 25 ms Upload / 5 ms Download!
    • Download Latency (↓) is the one-way trip from the server to your monitor—it decides how old your screen is, how much Peeker's Advantage swinging enemies get against you, and how far behind a wall you can die!
  • Upload Jitter (P0 ↑) vs. Download Jitter (P3.125 ↓) — Two Different Jitter Rules:
    • Upload Jitter (P0 ↑) uses CS2's harsh "single worst spike in 4 seconds" (0th percentile) rule, adding your worst upload hiccup onto all 256 outgoing commands (Upload Margin = 5.0 ms + UL Jitter).
    • Download Jitter (P3.125 ↓) sorts the last 4 seconds and ignores the worst 3.125% of spikes—however, if sustained Download Jitter exceeds 15.625 ms (1 tick), the server rejects your screen's exact hitbox interpolation brackets (0x00ed6b6e) and snaps enemy hitboxes to server-estimated time!
  • Server Receive Margin (M) — How Early You Reach the Airport Gate:
    How many milliseconds before the server's 15.625 ms tick deadline your packet arrives. CS2 aims for 5.0 ms early (Margin = 5.0 ms + 4s Peak Jitter).
  • Queue Depth (q = 0, 1, 2...) — Extra Waiting-Room Ticks on the Server:
    When your Margin stays under 15.625 ms, q = 0 (your command runs on the very next tick). The moment jitter pushes your Margin above 15.625 ms (for example, 5 ms + 12 ms jitter = 17 ms), q jumps to 1—meaning your commands sit in line on the server for an extra 15.625 ms tick!
  • Subtick Fraction (when = 0.00 .. 0.99) — How Far Into the Tick You Clicked:
    A decimal from 0.00 (0%, exact start of the 15.625 ms tick) to 0.99 (99%, right before the tick ends). when = 0.50 means +7.81 ms into that tick. It tells the server where you were aiming and moving at that exact split-millisecond, not which tick runs your shot.
  • Target Tick (Tick T+1, T+2, T+3...) — Which 15.625 ms Train Carries Your Shot:
    The server steps the game forward every 15.625 ms (T+1 = 15.6 ms, T+2 = 31.3 ms, T+3 = 46.9 ms). Whichever player's shot lands on an earlier T+k train wins a cross-tick duel automatically!
  • DOA (Dead on Arrival) — Why Your Last Bullet Vanishes:
    If an enemy kills you on Tick T+1 (15.6 ms) and your packet arrives at 17.0 ms (for Tick T+2), the server checks IsAlive(), sees you are already dead, and wipes the attack button from your packet (ClearButtonEdges)—deleting the gunshot you already heard on your headset.
  • JIT Async Send (cl_async_usercmd_send) — Just-In-Time Packet Dispatch:
    Enabled by default so CS2 sends your move packet right on schedule (5.0 ms margin) without waiting for a slow graphics frame. Turning it off adds +15.625 ms (+1 full tick) to your server margin!
  • CS2 Version Switcher — Testing Pre-AG2 vs. AnimGraph 2 vs. May 2026 vs. Live v1.42.0.1:
    Lets you switch the interactive engine model between 5 real CS2 eras to see how pre-April 20, 2026 AnimGraph 1 peek packet bloat (+3.5–4.5 ms jitter spike), pre-April 21 shared AimPunch recoil desync, and pre-v1.42.0.1 46.9 ms (3-tick) clock-slamming compare against today's live build!
  • Server CPU Spike / Tick Stall (+ms) — How a Lagging Server Literally Flips Who Wins a Duel:
    Suppose the 15.6 ms server train gets delayed by +8.5 ms because the server's CPU stuttered (departing at 24.1 ms instead). Right before departing at 24.1 ms, the server checks its mailbox and grabs every packet that arrived up to 24.1 ms! A 30 ms player whose packet arrived at 22.0 ms (which would normally miss the 15.6 ms train and get erased DOA) suddenly boards the exact same train as the 10 ms player—and if the 30 ms player has a lower Server Slot, the server stall makes the 30 ms player win instead! (Inside networksystem.dll, CS2 even has a hidden -5.0 ms "amnesty rule": packets up to 5 ms past the scheduled tick are forgiven as +0.001 ms instead of marked LATE.)
  • Fluctuating Server Frame Times — Global Lag Contagion for All 10 Players:
    When an overloaded server constantly wobbles above 15.6 ms per tick, it tricks all 10 players' PCs into thinking their own upload margins dropped (adding extra upload delay across the whole lobby) and delivers world snapshots late—forcing defenders' screens further into the past and making Peeker's Advantage and dying behind walls noticeably worse!
  • Post-Stall Multi-Tick Catch-Up Burst — Why Guns "Jam" For 1 Tick After a Server Freeze:
    Right after a 32+ ms server freeze ends, the server tries to catch up to real time by running two ticks back-to-back in < 0.2 ms. Because zero real internet time passed between those two instant ticks, any smooth-internet player with q = 0 (zero extra buffered packets waiting) "starves" on the second tick—and CS2's substitute-command rule blocks their gun from firing until the next tick!

Bottom-Line Takeaways for Players#

  1. Stability beats raw ping once jitter exceeds ~10 ms: A rock-solid 25 ms ethernet connection with 1 ms jitter has less input-to-server delay than a 15 ms Wi-Fi/cable connection that suffers 15 ms jitter spikes every few seconds (because of CS2's 4-second worst-spike rule!).
  2. Keep frame times smooth (1% lows > 128–256 FPS) and cl_net_buffer_ticks at 0 (None): Frame stutters directly reduce subtick aiming snapshots (CreateMove samples once per rendered frame), and setting network buffering to 1 tick manually adds +15.6 ms to your server margin on every command.
  3. Disappearing shots on death (DOA) and same-tick losses are architectural, not "bad aim": When you hear your gun fire right before dying and deal 0 damage, either your opponent's lower ping/jitter caught the earlier 15.6 ms train (erasing your packet Dead-on-Arrival), or you both caught the exact same train and your opponent held a lower lobby slot number (0..63)!
Copied