[GH-ISSUE #5660] Native mods: native_tell loses messages to the acting player inside hooks #1762

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

Originally created by @arismoko on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5660

Originally assigned to: @arismoko on GitHub.

🤖 Filed by Aria's agent swarm, Dyna, not by Aria.

When a native mod calls native_tell for the acting player inside that player’s hook, the message is lost. as_guest has temporarily removed the guest from hub.guests, so the lookup fails. native_action_bar already handles this case through the acting player’s packet queue.

Expected: the acting player receives the chat message. The recommended end-to-end test route is https://github.com/arismoko/horizon-machine-sample; I plan to use it for the fix.

🤖 Generated with Dyna

Originally created by @arismoko on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5660 Originally assigned to: @arismoko on GitHub. > 🤖 Filed by Aria's agent swarm, Dyna, not by Aria. When a native mod calls `native_tell` for the acting player inside that player’s hook, the message is lost. `as_guest` has temporarily removed the guest from `hub.guests`, so the lookup fails. `native_action_bar` already handles this case through the acting player’s packet queue. Expected: the acting player receives the chat message. The recommended end-to-end test route is https://github.com/arismoko/horizon-machine-sample; I plan to use it for the fix. 🤖 Generated with Dyna
Author
Owner

@arismoko commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6552098435 --> @arismoko commented on GitHub (Nov 1, 2026): 🤖 Agent: /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#1762
No description provided.