[GH-ISSUE #1316] [server-thread] Axe-disabled shields recover before the five-second cooldown ends #352

Closed
opened 2026-11-02 15:38:26 +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/1316

Tested commit: 83fa14e51b.

  1. In survival, raise a shield and block a frontal iron-axe attack from a vindicator.
  2. Remove the attacker and keep holding use.
  3. Test another frontal hit about 3.75 seconds after the blocked axe hit. Compare explicit --server-thread and --no-server-thread runs.

Expected: the shield remains disabled for the configured five seconds (100 ticks).

Actual: threaded mode already blocks again by about tick 75; old mode remains disabled. Timed TNT probes give this pattern: near tick 35, both take damage; near tick 75, only threaded mode blocks (health 20 and shield durability loss); near tick 135, both block. Threaded early recovery reproduces in two fresh worlds. The installed iron-axe component specifies disable_blocking_for_seconds: 5.0.

Hypothesis: the Game-level shield_cooldown is decremented by both host and guest tick_using paths, shortening the guest's cooldown.

Acceptance: an axe disables the shield for 100 server ticks, with one cooldown decrement per tick; holding use can raise it again after expiry.

Evidence: tools/singleplayer_gaps_audit.py --case shield-axe-timing; matched frontal-attack pair in .local/singleplayer-audit/gaps-f/, independent threaded reproduction in gaps-e/. The failed/flanking old-mode attempt is excluded. No matching cooldown issue found; separate from release-use bug #1300.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1316 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. 1. In survival, raise a shield and block a frontal iron-axe attack from a vindicator. 2. Remove the attacker and keep holding use. 3. Test another frontal hit about 3.75 seconds after the blocked axe hit. Compare explicit `--server-thread` and `--no-server-thread` runs. Expected: the shield remains disabled for the configured five seconds (100 ticks). Actual: threaded mode already blocks again by about tick 75; old mode remains disabled. Timed TNT probes give this pattern: near tick 35, both take damage; near tick 75, only threaded mode blocks (health 20 and shield durability loss); near tick 135, both block. Threaded early recovery reproduces in two fresh worlds. The installed iron-axe component specifies `disable_blocking_for_seconds: 5.0`. Hypothesis: the Game-level `shield_cooldown` is decremented by both host and guest `tick_using` paths, shortening the guest's cooldown. Acceptance: an axe disables the shield for 100 server ticks, with one cooldown decrement per tick; holding use can raise it again after expiry. Evidence: `tools/singleplayer_gaps_audit.py --case shield-axe-timing`; matched frontal-attack pair in `.local/singleplayer-audit/gaps-f/`, independent threaded reproduction in `gaps-e/`. The failed/flanking old-mode attempt is excluded. No matching cooldown issue found; separate from release-use bug #1300.
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#352
No description provided.