[GH-ISSUE #3789] GrimAC flags Simulation when paddling a boat on land #1087

Closed
opened 2026-11-02 15:44:10 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3789

Originally assigned to: @xFedeT on GitHub.

Version: 0.1.0 · OS: Ubuntu 26.04.1, AMD Ryzen 7 7700X, NVIDIA RTX 5070 (copied from the report)

What I did:

  • Paper 26.3 (build 226) test server with GrimAC 2.3.75 (commit d8b8ae4) in a superflat survival world
  • One Horizon client (0.1.0, from main 0e57b1f6c) rides an oak boat on flat grass, holds forward and paddles in place for three seconds. Also a control case of doing this in a vanilla 26.3 client

What happened:

  • Grim flagged Simulation 12 times in two specific ways. here's an example:
    • placement: .005000 -> .003000 -> .001800 -> .001080
    • paddling: .040000 -> .024000 -> .014400 -> .008640 -> .005184 -> .003110 -> .001866 -> .001120
  • The decay is exactly 0.6 per tick, which I assume is the boat's land friction. The problematic tick occurs when the paddling state changes. That is, .040000 is controlBoat's forward acceleration, which our boat gains and Grim's prediction does not.
  • I also paddled along the same ground over 120 ticks, which produced zero flags and the expected boat deltas (.04000 -> .06400 -> .07840 -> .08704 -> .09222). Both send paddle_boat, move_player_rot, move_vehicle and client_tick_end per tick, with identical paddle bits and identical vehicle y.

I'm guessing this is because we read the keys and tick the boat in one call, so the paddle packet describes the input of the tick it is sent in. Vanilla latches the input in rideTick and ticks the boat with the previous tick's input (AbstractBoat.tick steers, then sends the paddle that describes the motion it just produced). At the moment it looks like our boat is a tick ahead of the packet Grim compares it against, and the 0.04 it applied is unexplained, then fades at friction.

What I expected: no flags; the boat and the paddle are vanilla's.
Horizon version: 0.1.0, source at main 0e57b1f6c
Also on the Nightly? Not tested. A branch change that sets the boat input after the tick exists locally but is not on main (the boat paths there are unchanged).
OS, CPU, GPU: Ubuntu 26.04.1, AMD Ryzen 7 7700X, NVIDIA RTX 5070

Reported on Discord by ub in #horizon-bugs · Discord thread
Tags: gameplay

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

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3789 Originally assigned to: @xFedeT on GitHub. **Version:** 0.1.0 · **OS:** Ubuntu 26.04.1, AMD Ryzen 7 7700X, NVIDIA RTX 5070 <sub>(copied from the report)</sub> > **What I did:** > - Paper 26.3 (build 226) test server with GrimAC 2.3.75 (commit d8b8ae4) in a superflat survival world > - One Horizon client (0.1.0, from main 0e57b1f6c) rides an oak boat on flat grass, holds forward and paddles in place for three seconds. Also a control case of doing this in a vanilla 26.3 client > > **What happened:** > - Grim flagged Simulation 12 times in two specific ways. here's an example: > - placement: .005000 -&gt; .003000 -&gt; .001800 -&gt; .001080 > - paddling: .040000 -&gt; .024000 -&gt; .014400 -&gt; .008640 -&gt; .005184 -&gt; .003110 -&gt; .001866 -&gt; .001120 > - The decay is exactly 0.6 per tick, which I assume is the boat's land friction. The problematic tick occurs when the paddling state changes. That is, .040000 is controlBoat's forward acceleration, which our boat gains and Grim's prediction does not. > - I also paddled along the same ground over 120 ticks, which produced zero flags and the expected boat deltas (.04000 -&gt; .06400 -&gt; .07840 -&gt; .08704 -&gt; .09222). Both send paddle_boat, move_player_rot, move_vehicle and client_tick_end per tick, with identical paddle bits and identical vehicle y. > > I'm guessing this is because we read the keys and tick the boat in one call, so the paddle packet describes the input of the tick it is sent in. Vanilla latches the input in rideTick and ticks the boat with the previous tick's input (AbstractBoat.tick steers, then sends the paddle that describes the motion it just produced). At the moment it looks like our boat is a tick ahead of the packet Grim compares it against, and the 0.04 it applied is unexplained, then fades at friction. > > **What I expected:** no flags; the boat and the paddle are vanilla's. > **Horizon version:** 0.1.0, source at main 0e57b1f6c > **Also on the Nightly?** Not tested. A branch change that sets the boat input after the tick exists locally but is not on main (the boat paths there are unchanged). > **OS, CPU, GPU:** Ubuntu 26.04.1, AMD Ryzen 7 7700X, NVIDIA RTX 5070 Reported on Discord by **ub** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565397552080363671) Tags: gameplay <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:44:10 +07:00
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 29, 2026):

ub added on Discord:

GrimAC flags Simulation when paddling a boat on land

<!-- gh-comment-id:6502015341 --> @kira-horizon[bot] commented on GitHub (Oct 29, 2026): **ub** added on Discord: > GrimAC flags Simulation when paddling a boat on land <!-- kira -->
Author
Owner

@xFedeT commented on GitHub (Oct 29, 2026):

🤖 Agent: I'm taking this one (Federico's AI agent, Claude). The Kira claim is blocked by the 8-claim cap, so I'll claim it as soon as a slot frees up. Working on it: the boat steers with the input latched on the previous tick (LocalPlayer.rideTick → AbstractBoat.controlBoat), so the paddle packet matches the motion it describes.

<!-- gh-comment-id:6506690328 --> @xFedeT commented on GitHub (Oct 29, 2026): 🤖 Agent: I'm taking this one (Federico's AI agent, Claude). The Kira claim is blocked by the 8-claim cap, so I'll claim it as soon as a slot frees up. Working on it: the boat steers with the input latched on the previous tick (`LocalPlayer.rideTick` → `AbstractBoat.controlBoat`), so the paddle packet matches the motion it describes.
Author
Owner

@xFedeT commented on GitHub (Oct 29, 2026):

/claim

<!-- gh-comment-id:6510850397 --> @xFedeT commented on GitHub (Oct 29, 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#1087
No description provided.