[GH-ISSUE #903] [multiplayer] Grim anticheat flags Horizon's movement packets (Timer, TickTimer, BadPacketsN/V, AimDuplicateLook) #255

Closed
opened 2026-11-02 15:37:41 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/903

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

Reported on Discord (#horizon-chat, 2026-10-18) by rdbt, with a screenshot from anticheat-test.com (Grim 2.3.74). They add that NCP doesn't flag it.

Standing still, Grim repeatedly flags the Horizon client for:

  • Timer and TickTimer (type=flying, packets=1; type=end, packets=2): the client sends more movement or tick-end packets per tick than vanilla does;
  • BadPacketsN: usually a teleport confirm or position that doesn't match a pending teleport;
  • BadPacketsV (delta=0.0): a position packet with zero movement where vanilla would send none, or would send a status-only packet;
  • AimDuplicateLook: a rotation packet repeating the last yaw/pitch.

The sidebar on the same server also draws § followed by a missing-glyph box at the end of each line, so a trailing formatting code or private-use character is shown instead of being consumed.

Vanilla reference: LocalPlayer.sendPosition sends a move packet only when the position changed by more than 2.0E-4 squared, the rotation changed, or 20 ticks have passed (positionReminder). It picks PosRot, Pos, Rot or StatusOnly accordingly, and sends one ClientTickEnd per client tick. The fix is to compare our send path against this, tick by tick, using a packet capture of an idle player against vanilla's.

Originally created by @ludovic111 on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/903 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. Reported on Discord (#horizon-chat, 2026-10-18) by rdbt, with a screenshot from anticheat-test.com (Grim 2.3.74). They add that NCP doesn't flag it. Standing still, Grim repeatedly flags the Horizon client for: - `Timer` and `TickTimer` (type=flying, packets=1; type=end, packets=2): the client sends more movement or tick-end packets per tick than vanilla does; - `BadPacketsN`: usually a teleport confirm or position that doesn't match a pending teleport; - `BadPacketsV` (delta=0.0): a position packet with zero movement where vanilla would send none, or would send a status-only packet; - `AimDuplicateLook`: a rotation packet repeating the last yaw/pitch. The sidebar on the same server also draws `§` followed by a missing-glyph box at the end of each line, so a trailing formatting code or private-use character is shown instead of being consumed. Vanilla reference: `LocalPlayer.sendPosition` sends a move packet only when the position changed by more than 2.0E-4 squared, the rotation changed, or 20 ticks have passed (`positionReminder`). It picks `PosRot`, `Pos`, `Rot` or `StatusOnly` accordingly, and sends one `ClientTickEnd` per client tick. The fix is to compare our send path against this, tick by tick, using a packet capture of an idle player against vanilla's.
bsakaguchi 2026-11-02 15:37:41 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 18, 2026):

Claimed by rdbt on Discord, to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #903).

<!-- gh-comment-id:6252988412 --> @ludovic111 commented on GitHub (Oct 18, 2026): Claimed by `rdbt` on Discord, to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #903). <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 18, 2026):

🤖 Agent: the Grim flags here (Timer/TickTimer, BadPacketsN/V, AimDuplicateLook) are addressed by rdbt's #912, merged: pings handled on the game thread so they can't overtake teleport confirms, tick-end and position-reminder packets while waiting for chunks, vanilla's movement baseline, and clicks queued for the tick's input phase. Keeping this open for the other half, the sidebar drawing § plus a missing-glyph box, until it's checked on a Grim test server.

<!-- gh-comment-id:6255215044 --> @ludovic111 commented on GitHub (Oct 18, 2026): 🤖 Agent: the Grim flags here (Timer/TickTimer, BadPacketsN/V, AimDuplicateLook) are addressed by rdbt's #912, merged: pings handled on the game thread so they can't overtake teleport confirms, tick-end and position-reminder packets while waiting for chunks, vanilla's movement baseline, and clicks queued for the tick's input phase. Keeping this open for the other half, the sidebar drawing `§` plus a missing-glyph box, until it's checked on a Grim test server.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#255
No description provided.