59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
206 lines
14 KiB
Markdown
206 lines
14 KiB
Markdown
# Native Forever interface with authoritative Turtle talents
|
|
|
|
## Strategy comparison, 2026-10-15
|
|
|
|
The earlier conclusion that a separate Classic-looking interface was required
|
|
was too strong. The failed Deflection purchase proved mismatched definitions,
|
|
not an unadaptable renderer. The implementation now adapts the existing
|
|
`PlayerSpellsFrame.TalentsFrame` instance; it does not replace N or create a
|
|
separate talent window. No original executable or Blizzard source is overwritten.
|
|
|
|
| Approach | Confirmed evidence | Unverified restrictions and cost | Decision |
|
|
|---|---|---|---|
|
|
| Convert/replace engine data | Native UI uses TraitTree1117, TraitNode, TraitNodeEntry, TraitDefinition, conditions, groups and currencies. Legacy WDBC Spell173/Talent21/TalentTab15 layouts differ from70334 split DB2 schemas.159 Talent IDs collide with different first-rank spells. | No direct WDBC drop-in path has been established. Native server has DBReply/HotfixConnect writers, but overriding this build's full trait dataset and caches has not been tested. Engine refusal, signature requirements and impossibility are **not** established. Requires consistent graph/condition/currency records plus spell data conversion. | Remains an engine/data option, not a prerequisite for adapting Lua. |
|
|
| Native frame with Turtle provider | Extracted actual Camelot source exposes frame-local getters, purchases, pools and tooltips. Real WowB renders genuine Turtle rows through those methods, using native art and animations. | Protected-call/taint behavior outside tested Warrior path, all-class initialization, search and controller navigation need broader verification. | **Selected:** smallest reversible change to the existing frame, without globally replacing C_Traits. |
|
|
| Reuse native assets in another frame | Native button pools, headers, edges and templates are accessible. | A new frame would duplicate layout/navigation and increase maintenance. | Not needed for current renderer. |
|
|
| Separate Classic-looking UI | Initial diagnostic prototype demonstrated backend snapshots. | Visually disconnected and unnecessary given successful native adaptation. | Removed from default experience; no N override. |
|
|
|
|
## Native session integration, 2026-10-17
|
|
|
|
Earlier renderer purchases below were gateway-reference tests. Actual1193660
|
|
now verified this original page against the authenticated native Tortoise session
|
|
with the external gateway stopped. Genuine initial spells and self fields34/36/
|
|
1102 provide level/class/points; no saved audit initializes live gameplay. Source
|
|
learned/superseded/unlearned and points updates each refresh the counted snapshot,
|
|
so either acknowledgement arrival order is supported. A purchase sends actual
|
|
Turtle251 with the real Talent ID and zero-based rank. Both rank and the exact
|
|
point cost must be acknowledged before another queued allocation is sent.
|
|
|
|
The original893 nil failure happened inside OnLoad, before ADDON_LOADED. The
|
|
owned provider depends on original Blizzard_SharedTalentUI and securely posthooks
|
|
its base OnLoad. It identifies only the original ClassTalents RefreshConfigID
|
|
method and installs a deferred instance handler; the original class initializes
|
|
its header pools before that handler installs the provider. The original window,
|
|
backgrounds, native node pools, edges and Apply/Undo controls remain. Native
|
|
Primary/Secondary/loadout controls are hidden; no modern configuration is
|
|
fabricated. Unready state disables/releases nodes instead of showing saved ranks.
|
|
|
|
The attempted single loose source shadow was not consumed by actual Forever;
|
|
the original error remained at893. Its exact bytes and tools were preserved in
|
|
`runtime/native-talent-ui-provider-patch-v2-20261017` and
|
|
`recovery/native-talent-unused-loose-shadow-20261017`, then the hash-owned shadow
|
|
was retired. It is not a required or working client patch. CASC, executable,
|
|
StartupFiles and original installations are unchanged.
|
|
|
|
Actual original page showed31 free points, Arms15/Fury5/Protection0. Original
|
|
button59 + Apply purchased Improved Charge rank1: real source12B and compressed
|
|
1F6 arrived, then the UI committed30 free/Arms16. Normal `.save` persisted genuine
|
|
rank spell12285/active1/disabled0. A UI reload reacquired the acknowledged state;
|
|
clean-relogin and final full regression results are recorded in
|
|
[evidence/gameplay/native-talent-session/acceptance.json](evidence/gameplay/native-talent-session/acceptance.json).
|
|
This is bounded Warrior allocation proof, not complete talent compatibility.
|
|
Native trainer reset is explicitly unavailable until genuine offer ownership is
|
|
implemented. Division/complex description tokens and all-class actual coverage
|
|
remain incomplete.
|
|
|
|
Install only the owned disposable provider with:
|
|
|
|
```sh
|
|
python3 ops/install_console_diagnostics.py \
|
|
--client-root "$PWD/runtime/native-client/_classic_beta_" --turtle-talents --update
|
|
```
|
|
|
|
Each update preserves its prior files and Config.wtf in the printed recovery
|
|
journal. Close the private client before replacing mapped native modules. The
|
|
provider's last-acknowledged saved record is an offline test artifact; live state
|
|
is cleared on leaving/entering the world, and refresh comes from the real session.
|
|
|
|
## Actual source evidence
|
|
|
|
Read-only CASC extraction used the installed70334 storage with strict encrypted
|
|
file handling. Source hashes/FileDataIDs are in
|
|
[evidence/gameplay/native-talent-ui-sources.json](evidence/gameplay/native-talent-ui-sources.json).
|
|
Extracted proprietary source remains under ignored `runtime/native-talent-ui`.
|
|
Some listfile entries do not exist in this build;78 requested shared/Camelot
|
|
files yielded44, and31 requested base files yielded28. Actual installed variants,
|
|
not retail code retrieved online, drive the adapter.
|
|
|
|
Relevant extracted functions, relative to `interface/addons/`:
|
|
|
|
- `blizzard_playerspells/camelot/classtalents/blizzard_classtalentsframe.lua`:
|
|
`RefreshTreeHeaders`, `InitializeTabSystem`, `OnShow`, `RefreshTreeCurrencyDisplay`.
|
|
Its XML supplies the original frame/backgrounds/header templates and Camelot art.
|
|
- `blizzard_playerspells/classtalents/blizzard_classtalentsframe.lua`:
|
|
`SetConfigID`, `LoadTalentTreeInternal`, `PurchaseRank`, `GetConfigApplicationState`,
|
|
`UpdateConfigButtonsState`, `UpdateTalentButtonPosition`.
|
|
- `blizzard_sharedtalentui/blizzard_sharedtalentframe.lua`:
|
|
`GetTreeNodes`, `GetAndCacheNodeInfo`, `GetAndCacheEntryInfo`,
|
|
`GetAndCacheDefinitionInfo`, `AcquireTalentButton`, `InstantiateTalentButton`,
|
|
`UpdateEdgesForButton`, `GetNodeCost`, `UpdateTreeCurrencyInfo`.
|
|
- `blizzard_sharedtalentui/blizzard_talentbuttonspend.lua`:
|
|
`OnClick` delegates purchases to its talent-frame instance. It need not call
|
|
the engine's `C_Traits.PurchaseRank` directly.
|
|
- `blizzard_sharedtalentui/blizzard_sharedtalentutil.lua` itself wraps several
|
|
C_Traits methods. This establishes Lua-level adaptation seams, not unrestricted
|
|
access to protected engine behavior.
|
|
|
|
Authoritative local Turtle source is
|
|
`~/Servers/tortoise-wow/src/game/Objects/Player.cpp::LearnTalent`:
|
|
class mask, remaining points, genuine rank spell, `DependsOnRank+1`, required
|
|
spell and `Row*5` tree expenditure are checked by Turtle. `SkillHandler.cpp` reads
|
|
CMSG_LEARN_TALENT0x251 as talentID32 and **zero-based** requestedRank32.
|
|
`SpellMgr.cpp::LoadSpellInfoStore` loads gameplay spell_template SQL; matching
|
|
client/server DBC hashes alone do not establish identical runtime spell behavior.
|
|
|
|
## Provider and request path
|
|
|
|
`ops/turtle_data.py` extracts16 actual installed Turtle tables and generates all
|
|
476 talent definitions/27 trees, including real IDs/rank spell IDs. All16 checked
|
|
files match the local server copies. Effective MPQ patch-order provenance remains
|
|
unverified. `spell_layout()` resolves raw Spell.dbc indices from the local
|
|
1.12 DBD layout and validates173 fields. Server SQL-expanded SpellEntry inserts
|
|
three coefficient fields absent from that file: using its struct comments as
|
|
DBC offsets previously yielded German locale text and missing icons. Corrected
|
|
English/icon/target/aura offsets regenerate comparisons reproducibly.
|
|
|
|
`TurtleTalentProvider.lua` separates staged allocations from committed snapshots.
|
|
`TurtleTalents.lua` adapts only the existing frame's instance methods and native
|
|
Apply/Undo handlers. It retains the original window, tree backgrounds, header
|
|
components, node pools, borders, native sheen/selection animations and edges.
|
|
Node identities in this provider are genuine Turtle Talent IDs; they are never
|
|
passed to the unrelated native C_Traits purchase engine. Tooltips use Turtle text
|
|
and icons; only simple $s1..3 substitutions are currently supported. Unsupported
|
|
tooltip tokens, missing custom assets and spell-engine effects remain work.
|
|
|
|
The local gateway reserves `.gwtalent state` and `.gwtalent learn ID RANK` within
|
|
the existing authenticated encrypted session. Commands are intercepted locally,
|
|
not published as server chat. The latter sends real Turtle0x251. `GWTURTLE1`
|
|
system-message snapshots carry sequence, bound character/class/level, points and
|
|
known spells; an atomic counted end marker is required. Ranks derive only from
|
|
Turtle-known spell IDs. No frontend database character source, invented talent
|
|
aliases or optimistic committed ranks are used. Internal transport messages are
|
|
filtered from normal chat. The compatibility path remains experiment-gated.
|
|
|
|
## Verified and incomplete behavior
|
|
|
|
Gatewaytest4509 was backed up at level30 in `recovery/20261014T225912Z`, then
|
|
raised through real Turtle `.levelup30` to60 and saved. The database reports60,
|
|
health2609. The real native UI showed48 unspent points after the existing three
|
|
Improved Heroic Strike ranks. Account credentials/permissions and position were
|
|
not changed.
|
|
|
|
Real native-frame purchases now acknowledged Turtle Tactical Mastery57 rank5,
|
|
spell12679: remaining points48→47→43. The first repeated-click test registered
|
|
one of five rapid clicks and correctly failed its rank5 assertion. Preserving
|
|
pooled buttons during updates and allowing a measured40ms released interval
|
|
resolved the retry; the verifier required both learned spell and points.
|
|
Turtle tooltips, genuine row0 Tactical Mastery, two-rank Improved Rend, and the
|
|
three original native tree backgrounds were observed in actual WowB screenshots.
|
|
|
|
Deflection60 rank5/spell16466 then succeeded with points43→38, after genuine
|
|
Arms row1 eligibility. Evidence: `evidence/gameplay/native-turtle-talents-level60.png`
|
|
and `native-turtle-talent-purchases.json`. Debug and ASan/UBSan regression suites
|
|
both pass7/7, with1333 offline C++ checks.
|
|
|
|
Not complete: trainer reset transport, relog persistence for the new allocation,
|
|
full51-point build, complete tooltip formatting, native search, all-class live
|
|
coverage, custom spell assets/effects and full native keyboard/controller behavior.
|
|
Search is temporarily hidden instead of querying incorrect engine definitions.
|
|
The reset menu currently offers undo and explains that learned ranks require a
|
|
trainer; it does not pretend to refund committed talents.
|
|
|
|
## Reproduction and rollback
|
|
|
|
Generate `python3 ops/turtle_data.py`; compile the local DB2 reader with
|
|
`python3 ops/build_db2_export.py`; regenerate comparison with
|
|
`python3 ops/compare_gameplay_data.py`. Current report exports29/30 actual modern
|
|
tables, finds11425 absent SpellName IDs and2769 raw effect-identity differences.
|
|
These are candidate mismatches, not verified gameplay failures or conversions.
|
|
|
|
`python3 ops/install_console_diagnostics.py --update --turtle-talents` verifies
|
|
ownership hashes, snapshots the previous owned addon/config, validates Lua syntax
|
|
and installs only that removable directory. Reload the UI, then use N or
|
|
`/turtletalents`. Native modules are loaded on demand. Installer recovery paths
|
|
contain exact restore instructions; remove/restore only this owned addon and
|
|
reload to restore native behavior. Original CASC/UI files/executable are untouched.
|
|
|
|
`ops/talent_ui_test.py --provider --talent 57 --rank 5` drives real native UI and requires backend rank/point ACK;
|
|
it is scoped to designated disposable4509 and calibrated1920x1080 geometry.
|
|
Offline Lua model tests cover atomic/truncated/stale snapshots, class masks,
|
|
Turtle row/prerequisite gating, staging versus acknowledged ranks and undo.
|
|
|
|
### Persistence and preserved reset investigation
|
|
|
|
A new real backend login returned the same acknowledged12664/12679/16466 rank
|
|
spells and38 free points at level60. Native-frame relog evidence is retained in
|
|
runtime/native-turtle-relogin.png. The disposable character was backed up in
|
|
`recovery/20261014T231212Z`, granted10000 copper for a normal paid reset test,
|
|
and moved through the real server GM API to trainer spawn79964. No unrelated
|
|
character, GM permission, reputation or production data was changed.
|
|
|
|
Trainer reset confirmation translation now accepts only an actual Turtle
|
|
MSG_TALENT_WIPE_CONFIRM0x2AA offer, preserves its64-bit GUID as text, binds a
|
|
single-use confirmation to a visible trainer, and sends the normal0x2AA response.
|
|
The server still checks interaction distance and reset cost. This path has parser
|
|
regressions but **a real paid reset has not yet been observed**: the actual trainer
|
|
menu displayed both options, while selecting unlearn has not yet yielded a reset
|
|
offer. A diagnostic macro mistakenly called an unavailable GetNumOptions API;
|
|
its modal was closed, and no talent reset or point spoof occurred. This is
|
|
preserved investigation, not a completed reset feature.
|
|
|
|
Automation fixes recognize the actual Hall of Arms label using a color mask
|
|
when grayscale OCR fails against the abbey windows, use precise pointer targeting
|
|
for closely spaced gossip rows, and inspect full-screen text when dismissing Lua
|
|
modals. The known local native module experiment and its new objective are in
|
|
[NATIVE_CLIENT_FEASIBILITY.md](NATIVE_CLIENT_FEASIBILITY.md).
|