[GH-ISSUE #1305] [server-thread] Grown sweet berry bushes slow the player but deal no damage #345

Closed
opened 2026-11-02 15:38:22 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @rdbtCVS on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1305

Tested commit: 83fa14e51b. Related hazard gap: #1297; historical #93 concerned planting.

  1. Launch survival with --server-thread.
  2. Put a fully grown sweet berry bush on grass and move through it.
  3. Repeat from equivalent conditions with --no-server-thread; use an age-0 bush as a harmless control.

Expected: a grown bush damages a moving player, while a young bush does not.

Actual: threaded mode slows the player but deals no authoritative damage. In a fresh one-bush reduction, old health falls from 20 to 18; threaded stays at 20. Young-bush controls remain at 20 in both modes. A larger-patch paired test gives 14 versus 20 health. Block-state checks confirm the bushes survive and have the intended ages.

Hypothesis: berry contact damage runs only in local movement; the guest server loop omits that block-inside damage phase and authoritative health replaces the client result.

Acceptance: moving through grown berry bushes causes authoritative damage in threaded mode; young bushes remain harmless.

Evidence: tools/singleplayer_more_audit.py --case berry-damage --case berry-single, paired traces/saves in .local/singleplayer-audit/more-c/. The earlier unverified stone-floor fixture was excluded. Only read-only diagnostics were added.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1305 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. Related hazard gap: #1297; historical #93 concerned planting. 1. Launch survival with `--server-thread`. 2. Put a fully grown sweet berry bush on grass and move through it. 3. Repeat from equivalent conditions with `--no-server-thread`; use an age-0 bush as a harmless control. Expected: a grown bush damages a moving player, while a young bush does not. Actual: threaded mode slows the player but deals no authoritative damage. In a fresh one-bush reduction, old health falls from 20 to 18; threaded stays at 20. Young-bush controls remain at 20 in both modes. A larger-patch paired test gives 14 versus 20 health. Block-state checks confirm the bushes survive and have the intended ages. Hypothesis: berry contact damage runs only in local movement; the guest server loop omits that block-inside damage phase and authoritative health replaces the client result. Acceptance: moving through grown berry bushes causes authoritative damage in threaded mode; young bushes remain harmless. Evidence: `tools/singleplayer_more_audit.py --case berry-damage --case berry-single`, paired traces/saves in `.local/singleplayer-audit/more-c/`. The earlier unverified stone-floor fixture was excluded. Only read-only diagnostics were added.
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#345
No description provided.