Spike: set AC's own Hear <room> Chat option as its Options panel does

AcCharacterOptions.TrySet/TryGet call the client's own
PlayerModule::SetOption (0x005D4F20) / GetOption (0x005D4AF0) on
CPlayerSystem+0x34, the same call the Options panel checkbox makes
(0x00487020). On a change AC flips the bit, tells its UI listeners and
sends SetSingleCharacterOption (0x0005, option id + value) itself.
Patterns only (no fallback VA is ever called); the handler's send call
is checked to reach the 0x0005 sender, and the live object's vtable
slot +0x14 must be that handler. AC's main thread, in world only.

Probe: /rc chatoption <general|trade|lfg|roleplay> [on|off].
Plan Task 10 (docs/plans/2026-11-15-rynthchat-network-tab-pins.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel Wallace 2026-11-15 10:30:12 -08:00
commit 049fab2dfc
4 changed files with 280 additions and 0 deletions

View file

@ -96,6 +96,9 @@ internal static class Program
("panels", "panels", "panels open 1 2"),
("title", "title 42", "title banana"),
("title", "title 7", "title"),
("chatoption", "chatoption general on", "chatoption general maybe"),
("chatoption", "chatoption rp", "chatoption global off"),
("chatoption", "chatoption LFG OFF", "chatoption"),
("rl", "rl", "rl now"),
("rl", "reload", "reload now"),
("inventory", "inv", "inv now"),