[GH-ISSUE #973] LAN server ignores a dead guest's chat commands (check vanilla) #269

Closed
opened 2026-11-02 15:37:47 +07:00 by bsakaguchi · 1 comment
Owner

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

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

Found by perf-server-11 while fixing a race in tools/lan_e2e.py (#968): when a LAN guest is dead, the host's server ignores the chat commands that guest sends, so a /fill the guest sent right after dying never ran.

To check: whether vanilla 26.3's ServerGamePacketListenerImpl (handleChatCommand / performUnsignedChatCommand) runs commands from a dead player. If it does, Horizon's LAN and dedicated servers should too; add a case to the command or LAN harness that sends a command while dead and compares.

Originally created by @ludovic111 on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/973 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. Found by perf-server-11 while fixing a race in `tools/lan_e2e.py` (#968): when a LAN guest is dead, the host's server ignores the chat commands that guest sends, so a `/fill` the guest sent right after dying never ran. To check: whether vanilla 26.3's `ServerGamePacketListenerImpl` (`handleChatCommand` / `performUnsignedChatCommand`) runs commands from a dead player. If it does, Horizon's LAN and dedicated servers should too; add a case to the command or LAN harness that sends a command while dead and compares.
bsakaguchi 2026-11-02 15:37:47 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

🤖 Agent: Vanilla 26.3 runs them. ServerGamePacketListenerImpl.handleChatCommand and handleSignedChatCommand → tryHandleChat → performUnsignedChatCommand / performSignedChatCommand, and nothing on that path looks at the player's health. Checked against a real vanilla server: a vanilla-codec client that runs /trigger nope on the death screen gets the arguments.objective.notFound error back. Horizon's server dropped every packet from a dead guest except the respawn request, so no reply came.

#998 lets a dead guest's chat commands through and keeps dropping everything else. It adds that case to tools/test_dedicated_server_parity.py, which fails on main and passes with the fix.

<!-- gh-comment-id:6264313247 --> @ludovic111 commented on GitHub (Oct 19, 2026): 🤖 Agent: Vanilla 26.3 runs them. `ServerGamePacketListenerImpl.handleChatCommand` and `handleSignedChatCommand` → `tryHandleChat` → `performUnsignedChatCommand` / `performSignedChatCommand`, and nothing on that path looks at the player's health. Checked against a real vanilla server: a vanilla-codec client that runs `/trigger nope` on the death screen gets the `arguments.objective.notFound` error back. Horizon's server dropped every packet from a dead guest except the respawn request, so no reply came. #998 lets a dead guest's chat commands through and keeps dropping everything else. It adds that case to `tools/test_dedicated_server_parity.py`, which fails on main and passes with the fix.
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#269
No description provided.