10 lines
2.0 KiB
Markdown
10 lines
2.0 KiB
Markdown
# Native chat ownership
|
|
|
|
The Forever compatibility environment reports the legacy client interface for pfQuest's data and API paths. Its private `_G` resolves chat frame objects from the real client, however. The vanilla quest-link formatter consequently replaced every native `ChatFrameN.AddMessage` method and wrote a `pfQuestHookAddMessage` field onto each native frame. A private global table does not isolate mutations of objects returned from that table.
|
|
|
|
On clients providing the native `C_ChatInfo.SendChatMessage` API, the compatibility layer now leaves chat methods and quest-link presentation to the client. No Blizzard global function, native frame method or parser is replaced; no post-hook is needed to preserve native presentation. The original formatter remains unchanged for legacy clients lacking that API. The shared pfQuest environment serves pfQuest-turtle as well; its inspected announcement/quest-status producers contain no chat-function replacement requiring a second patch.
|
|
|
|
The new actual-source host test fails before the change on native AddMessage identity and passes 49 checks afterward. It loads both compatibility files, preserves send/parser identity and opaque native message objects, and executes the authored first-run Save & Close callback in all three modes. This is not a simulation of the client's taint engine.
|
|
|
|
The deployed LOCAL compatibility/config/quest sources matched the tested base. The retained native chat parser performs string operations before send callbacks, and a direct causal path from this AddMessage replacement to every valid slash command was not established. The reported fresh-character-only failure therefore remains a distinct LOCAL acceptance: deploy this commit, reload the UI cleanly, perform the first-run choice, and try the same slash commands. Do not attempt to untaint already modified live frames by assigning another addon wrapper. Preserve existing saved settings; use Claude's owned fixture for fresh-state acceptance.
|