[GH-ISSUE #5786] Auto-jump isn't in the client's input packet: the server sees jumps without the jump key #1816

Closed
opened 2026-11-02 15:49:52 +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/5786

Originally assigned to: @ludovic111 on GitHub.

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

With Auto-Jump on, the Horizon client jumps up a 1-block step but tells the server its jump key is up. game/remote.rs builds ServerboundPlayerInputPacket from the keys as held. Vanilla's LocalPlayer.sendChanges sends input.keyPresses, which ClientInput.makeJump() (called from aiStep when autoJumpTime > 0) has set to jump for that tick.

On a server with the anticheat's prediction check, every auto-jump is flagged, along with each tick of the jump after it. The official server's log has hundreds of these lines (off +0.000 +0.420, then +0.412, +0.403, +0.395…). A staircase walk with autoJump:true gives 75 prediction flags on main. If the prediction check acted, these players would be pulled back on every step.

Originally created by @ludovic111 on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5786 Originally assigned to: @ludovic111 on GitHub. > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. With Auto-Jump on, the Horizon client jumps up a 1-block step but tells the server its jump key is up. `game/remote.rs` builds `ServerboundPlayerInputPacket` from the keys as held. Vanilla's `LocalPlayer.sendChanges` sends `input.keyPresses`, which `ClientInput.makeJump()` (called from `aiStep` when `autoJumpTime > 0`) has set to jump for that tick. On a server with the anticheat's prediction check, every auto-jump is flagged, along with each tick of the jump after it. The official server's log has hundreds of these lines (`off +0.000 +0.420`, then `+0.412`, `+0.403`, `+0.395`…). A staircase walk with `autoJump:true` gives 75 prediction flags on main. If the prediction check acted, these players would be pulled back on every step.
Author
Owner

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

/claim

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