[GH-ISSUE #5849] Anticheat prediction: a client still loading the level is flagged for not falling #1852

Closed
opened 2026-11-02 15:50:09 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5849

Originally assigned to: @ludovic111 on GitHub.

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

On the official server (prediction check, log only), a player who joined right after the 09:00 UTC restart got prediction VL 116 within one second:

(7 ticks; off +0.000 +0.517 +0.000, moved 0.000, air)
(1 tick; off +0.000 +0.507 +0.000, moved 0.078, air)
(1 tick; off +0.000 +0.496 +0.000, moved 0.155, air)
...

The client stood still for 7 ticks while the server's replay fell, then fell itself (0.078, 0.155, 0.231: gravity from rest), 7 ticks behind. The client was still on its loading screen: the server stops waiting for ServerboundPlayerLoadedPacket after 60 ticks (ServerGamePacketListenerImpl's client-loaded timeout) and the replay starts, but the client doesn't move until it has loaded the level. With the thresholds once trusted (setback 5, kick 60) this kicks an honest player on join.

Fix: until the client says it loaded (at join and after a respawn), ticks with no move from the client are excused; its first move counts as any other, so a client that never sends the packet is still checked as soon as it moves.

Originally created by @ludovic111 on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5849 Originally assigned to: @ludovic111 on GitHub. > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. On the official server (prediction check, log only), a player who joined right after the 09:00 UTC restart got prediction VL 116 within one second: ``` (7 ticks; off +0.000 +0.517 +0.000, moved 0.000, air) (1 tick; off +0.000 +0.507 +0.000, moved 0.078, air) (1 tick; off +0.000 +0.496 +0.000, moved 0.155, air) ... ``` The client stood still for 7 ticks while the server's replay fell, then fell itself (0.078, 0.155, 0.231: gravity from rest), 7 ticks behind. The client was still on its loading screen: the server stops waiting for ServerboundPlayerLoadedPacket after 60 ticks (`ServerGamePacketListenerImpl`'s client-loaded timeout) and the replay starts, but the client doesn't move until it has loaded the level. With the thresholds once trusted (setback 5, kick 60) this kicks an honest player on join. Fix: until the client says it loaded (at join and after a respawn), ticks with no move from the client are excused; its first move counts as any other, so a client that never sends the packet is still checked as soon as it moves.
bsakaguchi 2026-11-02 15:50:09 +07:00
Author
Owner

@ludovic111 commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6556698999 --> @ludovic111 commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
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#1852
No description provided.