59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
8.2 KiB
Shared class UI initialization investigation
Real-client observations, not a completed talent implementation:
- N loadsBlizzard_PlayerSpells and fails at
ClassTalents/Blizzard_ClassTalentsFrame.lua:893::RefreshConfigID, indexingnil. - Actual APIs report specialization stateinitialized, selected index1, but
C_ClassTalents.GetActiveConfigID()is nil. C_SpecializationInfo.GetSpecializationInfo(1)returns1491/Warrior;C_ClassTalents.GetTraitTreeForSpec(1491)returns1117. Retail Arms71 is not a usable class specialization/tree in these data. Metadata was verified before choosing initialization identifiers.- C_SpellBook already reports2 skill lines and knows Attack6603 and Heroic Strike78. Its UI sharesBlizzard_PlayerSpells with the failed class-talent load. This is evidence of a shared initialization failure; it does not prove casting.
Actual method names are exported by the removable diagnostic addon and recorded
in evidence/console/gameplay-api-namespaces-70334.json. Screenshots of the
error and read-only values are under evidence/gameplay/trait-config-* and
talent-*-api*.png. No level/talent/spell records were changed for this diagnosis.
Native Forever Player.cpp::AddTraitConfig fills
ActivePlayerData.TraitConfigs, then setsActiveCombatTraitConfigID. Its
UpdateFields.cpp::TraitConfig::WriteCreate writes server combat type1 as actual
Classic CamelotCombat4, followed by the specialization, combat flags and local
identifier. DB2Manager::GetDefaultChrSpecializationForClass chooses the first
class specialization when Classic has no initial/index4 specialization.
The initial serializer now has optional GATEWAY_TALENT_EXPERIMENT support for
an empty active config on a pre-talent-level, zero-point backend character. It
uses the actual pinnedChrSpecialization DB2 export to choose the class ID and
the existing native UF map/record writer. It setsCurrentSpecID and an active
config reference, and copies real backendCharacterPoints. It does not learn,
spend or reset any Turtle talent. Level10+ or nonzero points bypass this empty
bootstrap; they require actual learned-rank synchronization first. A flag is
required because native UI behavior is not yet verified at this checkpoint.
This bootstrap does not implement Turtle talents. Turtle Talent/TalentTab rows, spell ranks and prerequisites must be compared against the actual1117 trait nodes/entries/definitions, including custom Turtle spells. The client/config cannot be treated as authoritative for learning. Purchases must translate to Turtle talent requests and reflect only acknowledged backend ranks. No fallback to an unrelated retail talent tree is appropriate.
Real-client progression experiment, 2026-10-14 UTC
The bootstrap was enabled in gateway1051485 with original flags and binary
preserved under recovery/gateway-20261014T215520262941Z. Actual70334 reports
active config4509. P now opens the built-in spellbook, with no former shared
RefreshConfigID error. It reports two skill lines and knownAttack6603 and
HeroicStrike78. This verifies initialization and UI access, not casting or racial
correctness. Screenshot: evidence/gameplay/spellbook-bootstrap.png.
Before progression, recovery/20261014T220928Z recorded full local test databases,
configurations and a targeted Gatewaytest snapshot (guid4509/account511):
level1, XP148, HP60, existing spells/skills/reputations. Restore only the designated
test resources with local services stopped; the SQL is private and contains
authentication data. Do not publish it or restore it over unrelated accounts.
After explicitly targeting Gatewaytest, the real client sent .levelup 29 to
Turtle, followed by .save. ChatHandler::HandleLevelUpCommand →
HandleCharacterLevel → Player::GiveLevel recalculated progression and stats.
Player::CalculateTalentsPoints uses level−9 plus bonus points, multiplied by
the configuredRate.Talent1. The real backend update contains level30, HP764,
attributes62/44/57/24/32 and CharacterPoints21. The persisted characters row
confirms level30, XP0, HP764. Position was not modified.
The same WowB session displays level30 and, for the first time, its native Arms,
Fury, Protection interface with21 unspent points and no nil-config error.
See evidence/gameplay/level30-native-talent-ui.png and the authoritative field
capture level30-authoritative-fields.json. This does not yet prove rank
synchronization, correct Turtle definitions, talent spending or relog persistence.
The optional bootstrap still bypasses level10+ on a fresh login, so reconnection
must be addressed before treating initialization as complete.
The actual local DBC comparison already rules out copying talent IDs: Turtle Arms56 isImprovedHeroicStrike12282, while Forever Talent61 is a Mage talent. TraitTree1117 contains the modern native Warrior nodes. Some share exact base spells and rank counts; others differ in layout/ranks or use entirely different custom spell IDs. These differences require explicit data mappings or a dedicated Turtle interface, never numeric-ID passthrough.
Server-backed shared-node experiment and architectural limit
ops/export_talent_map.py derives54 actual Turtle Warrior rows from the installed
client/server DBCs.34 share a unique Forever trait-node base spell and maximum
rank count. This is a spell/rank mapping, not proof of matching tiers, effects,
prerequisites or complete trees. Other rows remain explicitly unmapped. The
machine-readable report and generated header retain all54 identities.
The experimental native path now binds initialization to actual Turtle initial spells, sends acknowledged learned/removed/replaced spell events, and snapshots the trait map from those ranks. A fresh actual login preserves level30 and all five attributes62/44/57/24/32, HP764, AP194 and damage27–30. See the persisted character-sheet evidence. Ongoing scalar/attribute/combat updates use the pinned native Unit and audited ActivePlayer writer branches, including CharacterPoints.
Actual wire opcode0x3E02C0 is mapped byForever ClassicClientOpcodes.inc to core
0x3D02BC. Native commits contain zero specialization/flags/local metadata because
TraitHandler starts from the existing bound config. The actual70-byte request
is now a regression fixture. Learned/removed/replaced responses use actual wire
0x690040/0x690041/0x69003F, with nine byte comparisons against native source
writers. Talent parsing runs in the local serializer helper so future parser
fixes can be rebuilt without disconnecting a world session.
Real WowB purchases succeeded for Turtle talent56 (Improved Heroic Strike):
rank1→spell12282, then rank3→spell12664; unspent points21→20→18. The gateway
sent actualCMSG_LEARN_TALENT0x251, and success required Turtle learned-spell and
point-update acknowledgement. ops/talent_ui_test.py uses the real UI and
requires both acknowledgements. It does not equate staging with success.
The next purchase established a structural limitation: Turtle Deflection60 is row1 and requires5 spent Arms points, while native node105957 is on the first row. With only3 points spent, the native UI allowed staging5 ranks; Turtle correctly rejected the request and sent no learned spell/point decrement. This is an incompatible tree, not a server failure. Native tooltips/positions and point eligibility must not be presented as genuine Turtle behavior. This established a data mismatch; it did not establish that a separate interface is required. The subsequent native-frame provider investigation and implementation are documented in NATIVE_TALENT_INTERFACE.md. No Deflection points were granted or spoofed.
recovery/20261014T223249Z preserves the level30 databases before spending.
Gateway recovery checkpoints include gateway-20261014T223650481485Z.
Current acknowledged allocation at this checkpoint is3/21 points in genuine
Improved Heroic Strike only. Other classes, resets, full trees, casting/passive
effects and talent persistence after relog still need integration verification.
ops/restart_gateway.py --feature GATEWAY_TALENT_EXPERIMENT=on explicitly enables
the experiment while recording prior flags and gateway binary for rollback;
=off removes it. Source-derived serializer fixtures pass with the flag enabled;
that proves encoding/bounds, not class UI or server talent compatibility.