[PR #5973] [MERGED] Reset boat paddles after dismounting mid-stroke #6588

Closed
opened 2026-11-03 06:23:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5973
Author: @oskal675-design
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/boat-paddles-on-dismount


📝 Commits (1)

  • 326532f Reset boat paddle metadata when rowing stops

📊 Changes

3 files changed (+84 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/lan_entities.rs (+4 -0)
📝 mods/horizon/src/test/java/dev/horizonlab/parity/LocatorBarClient.java (+27 -1)
➕ tools/test_boat_paddle_reset_parity.py (+53 -0)

📄 Description

🤖 Opened by oskal675-design's AI agent (Codex, GPT-6.1), not by oskal675-design personally.

What and why

Dismounting while rowing left the empty boat's paddles in their rowing state on clients. The server cleared its booleans, but false values were omitted from its non-default metadata and the tracker had no paddle defaults to send in their place. Register both false defaults so clients receive the reset when rowing stops or the controlling passenger leaves.

Fixes #5947. Claimed before implementation.

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

Read actual 26.3 AbstractBoat.tick, getPaddleState and defineSynchedData with tools/rea_vanilla.py. The paddle data defaults are false; a boat without its controlling passenger does not paddle.

python3 tools/test_boat_paddle_reset_parity.py runs real vanilla and Horizon servers with a vanilla-codec client. Both paddles, one paddle, stop, resume, and dismount without a final paddle-stop packet, on an oak boat, chest boat and bamboo raft: 18 matching metadata transitions. Before the fix, all nine false transitions were missing on Horizon, including each dismount reset.

Also exercised W held during sneak-dismount on the default integrated server, in fresh isolated homes, before and after the fix.

Other projects' code

none

Self-check

pr_ready (tools/pr_ready.py --quick on omarchy, against origin/main at 374b50d48, 3 min 54 s)

Check Result
Scope ✅ 3 files, +84 −1
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 515 passed (21 s)
rustfmt ✅ (5 s)
clippy ✅ (56 s)
tests: horizon-client ✅ 1691 passed (2 min 29 s)
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ 317 affected, to run in CI (--quick): blending, block_removal, block_survival, boat_paddle_reset, bundle_weight, camera, canyon_carver, carving_geometry, carving_mask, cauldron, cave_carver, chat_screen and 305 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

tools/port_ledger.py check --base origin/main: no new gaps or stale citations.

Screenshots

The empty boat after dismounting mid-stroke, before and after.

Before
After

Maintainer edits are enabled.

🤖 Generated with Codex.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5973 **Author:** [@oskal675-design](https://github.com/oskal675-design) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/boat-paddles-on-dismount` --- ### 📝 Commits (1) - [`326532f`](https://github.com/horizon-rust/horizon/commit/326532f859e464264b86ef07dab715b70dd2f837) Reset boat paddle metadata when rowing stops ### 📊 Changes **3 files changed** (+84 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/lan_entities.rs` (+4 -0) 📝 `mods/horizon/src/test/java/dev/horizonlab/parity/LocatorBarClient.java` (+27 -1) ➕ `tools/test_boat_paddle_reset_parity.py` (+53 -0) </details> ### 📄 Description > 🤖 Opened by oskal675-design's AI agent (Codex, GPT-6.1), not by oskal675-design personally. ## What and why Dismounting while rowing left the empty boat's paddles in their rowing state on clients. The server cleared its booleans, but false values were omitted from its non-default metadata and the tracker had no paddle defaults to send in their place. Register both false defaults so clients receive the reset when rowing stops or the controlling passenger leaves. Fixes #5947. Claimed before implementation. ## Kind - [x] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference Read actual 26.3 `AbstractBoat.tick`, `getPaddleState` and `defineSynchedData` with `tools/rea_vanilla.py`. The paddle data defaults are false; a boat without its controlling passenger does not paddle. `python3 tools/test_boat_paddle_reset_parity.py` runs real vanilla and Horizon servers with a vanilla-codec client. Both paddles, one paddle, stop, resume, and dismount **without a final paddle-stop packet**, on an oak boat, chest boat and bamboo raft: 18 matching metadata transitions. Before the fix, all nine false transitions were missing on Horizon, including each dismount reset. Also exercised W held during sneak-dismount on the default integrated server, in fresh isolated homes, before and after the fix. ## Other projects' code none ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on omarchy, against origin/main at 374b50d48, 3 min 54 s) | Check | Result | | --- | --- | | Scope | ✅ 3 files, +84 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 515 passed (21 s) | | rustfmt | ✅ (5 s) | | clippy | ✅ (56 s) | | tests: horizon-client | ✅ 1691 passed (2 min 29 s) | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ 317 affected, to run in CI (--quick): blending, block_removal, block_survival, boat_paddle_reset, bundle_weight, camera, canyon_carver, carving_geometry, carving_mask, cauldron, cave_carver, chat_screen and 305 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | `tools/port_ledger.py check --base origin/main`: no new gaps or stale citations. ## Screenshots The empty boat after dismounting mid-stroke, before and after. ![Before](https://raw.githubusercontent.com/oskal675-design/horizon/043336fc5851a0c767d5dfd7efe8e2dfbee65dd2/before.png) ![After](https://raw.githubusercontent.com/oskal675-design/horizon/043336fc5851a0c767d5dfd7efe8e2dfbee65dd2/after.png) Maintainer edits are enabled. 🤖 Generated with [Codex](https://openai.com/codex/). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:23:28 +07:00
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#6588
No description provided.