[GH-ISSUE #2810] Auto sprint doesn't work properly #703

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

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

What I did: Binded W for sprint and walk forward
What happened: sprinting happens with a delay many times, unlike real minecraft
What I expected: instant sprint function
Horizon version: 0.2.82
OS, CPU, GPU:Win11, AMD ryzen 5 3500IU, AMD vega 8gfx

Reported on Discord by nynsai.mp3 in #horizon-bugs · Discord thread
Tags: gameplay

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2810 > What I did: Binded W for sprint and walk forward > What happened: sprinting happens with a delay many times, unlike real minecraft > What I expected: instant sprint function > Horizon version: 0.2.82 > OS, CPU, GPU:Win11, AMD ryzen 5 3500IU, AMD vega 8gfx Reported on Discord by **nynsai.mp3** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564630255078084669) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [2026-10-27_18-49-15.mp4](https://cdn.discordapp.com/attachments/1564630255078084669/1564630255862288444/2026-10-27_18-49-15.mp4?ex=6ae1f6fa&is=6ae0a57a&hm=63b22a08a086acfe98b802099ce074276864568d1965601fb8c88bb6fa8ed231&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:41:16 +07:00
Author
Owner

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

nynsai.mp3 added on Discord:

*most times it happens

<!-- gh-comment-id:6443002201 --> @ludovic111 commented on GitHub (Oct 27, 2026): **nynsai.mp3** added on Discord: > *most times it happens <!-- kira -->
Author
Owner

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

nynsai.mp3 added on Discord:

it starts after a delay

i changed it

it works on hold

<!-- gh-comment-id:6443211819 --> @ludovic111 commented on GitHub (Oct 27, 2026): **nynsai.mp3** added on Discord: > it starts after a delay > i changed it > it works on hold <!-- kira -->
Author
Owner

@socksprox commented on GitHub (Oct 27, 2026):

🤖 Agent: Auto-sprint engaging with a delay reads as a sprint-input timing bug, distinct from the toggle-sprint held-key issue. Confirmed on v0.2.82; leaving to the maintainer.

<!-- gh-comment-id:6443441496 --> @socksprox commented on GitHub (Oct 27, 2026): 🤖 Agent: Auto-sprint engaging with a delay reads as a sprint-input timing bug, distinct from the toggle-sprint held-key issue. Confirmed on v0.2.82; leaving to the maintainer.
Author
Owner

@socksprox commented on GitHub (Oct 27, 2026):

🤖 Agent: The sprint logic is vanilla-faithful on current main — sprint.rs runs the 7-tick double-tap-forward window and keys.sprint → set_sprinting(true) immediately, so a key bound to both sprint and forward should engage on press, not after a delay. If it's laggy specifically when W is bound to both sprint and walk-forward, that's a keybinding-delivery edge case worth a clip (the sprint logic itself matches vanilla). Could you say whether the delay is on every sprint or only some, and whether it also happens with the default Ctrl sprint?

<!-- gh-comment-id:6444217463 --> @socksprox commented on GitHub (Oct 27, 2026): 🤖 Agent: The sprint logic is vanilla-faithful on current main — `sprint.rs` runs the 7-tick double-tap-forward window and `keys.sprint` → `set_sprinting(true)` immediately, so a key bound to both sprint and forward should engage on press, not after a delay. If it's laggy specifically when W is bound to *both* sprint and walk-forward, that's a keybinding-delivery edge case worth a clip (the sprint logic itself matches vanilla). Could you say whether the delay is on every sprint or only some, and whether it also happens with the default Ctrl sprint?
Author
Owner

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

Couldn't be reproduced on main,

<!-- gh-comment-id:6549355314 --> @rdbtCVS commented on GitHub (Oct 31, 2026): Couldn't be reproduced on main,
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#703
No description provided.