[GH-ISSUE #5419] A sprinting player walks after a movement speed change; the anticheat replay drops the sprint modifier #1666

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

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

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

The server never puts setSprinting's movement speed modifier (minecraft:sprinting, +30%) on a guest's body: START_SPRINTING only sets a flag. When the player's movement speed then syncs (a speed or slowness effect, soul speed...), the packet has no sprint modifier, and the vanilla client, which takes the modifiers as sent (ClientPacketListener.handleUpdateAttributes), slows to a walk while it still sprints, until the player stops sprinting. On a vanilla server the modifier is on the server's player and comes back in the packet.

The anticheat's movement replay has the matching problem: it copies all the server's attributes on any attribute or effect packet, so it loses the sprint modifier the client kept and plays a sprint as a walk, which flagged a vanilla client in a 20-minute soak (after a spreadplayers).

Originally created by @ludovic111 on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5419 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. The server never puts setSprinting's movement speed modifier (`minecraft:sprinting`, +30%) on a guest's body: START_SPRINTING only sets a flag. When the player's movement speed then syncs (a speed or slowness effect, soul speed...), the packet has no sprint modifier, and the vanilla client, which takes the modifiers as sent (`ClientPacketListener.handleUpdateAttributes`), slows to a walk while it still sprints, until the player stops sprinting. On a vanilla server the modifier is on the server's player and comes back in the packet. The anticheat's movement replay has the matching problem: it copies all the server's attributes on any attribute or effect packet, so it loses the sprint modifier the client kept and plays a sprint as a walk, which flagged a vanilla client in a 20-minute soak (after a spreadplayers).
bsakaguchi 2026-11-02 15:48:47 +07:00
Author
Owner

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

/claim

<!-- gh-comment-id:6547861120 --> @ludovic111 commented on GitHub (Oct 31, 2026): /claim
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2026):

🤖 Claims: refused, This issue is closed. (asked by @ludovic111)

<!-- gh-comment-id:6548143282 --> @github-actions[bot] commented on GitHub (Oct 31, 2026): 🤖 Claims: refused, This issue is closed. (asked by @ludovic111)
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#1666
No description provided.