Commit Graph

30 Commits

Author SHA1 Message Date
Xurkon cf16e7e95b feat: show runtime learner mode in database tab 2026-06-05 21:09:10 -05:00
Xurkon e40e9bc1b3 fix: show selected learner data source mode 2026-06-05 21:06:08 -05:00
Xurkon 15023b4a3a fix: learn credited unit died kills 2026-06-05 21:01:56 -05:00
Xurkon 64d5fb2f10 fix: keep learner mode live 2026-06-05 20:51:42 -05:00
Xurkon 76d9a41124 test: cover full learned data reset 2026-06-05 20:37:48 -05:00
Xurkon 3eda8d01ed fix: force learner on when base db is missing 2026-06-05 20:23:29 -05:00
Xurkon a0409eef8c feat: add learner/static data source mode 2026-06-05 20:15:26 -05:00
Xurkon 3f87e04c75 fix: learn gameobjects from used events 2026-06-05 19:19:11 -05:00
Xurkon fa8b204a8f fix: trace loot source gameobjects 2026-06-05 19:13:16 -05:00
Xurkon ad8f85bf63 fix: trace learner object captures 2026-06-05 19:06:13 -05:00
Xurkon fab924ff4c fix: handle killcredit objective tooltips 2026-06-05 18:31:12 -05:00
Xurkon 32b21de96a fix: register direct tooltip fallback for special objectives 2026-06-05 18:24:48 -05:00
Xurkon cd01a537f3 Merge branch 'tooltip-ascensiondb-precedence' into questie-learner-comms-improvements 2026-06-05 18:22:12 -05:00
Xurkon 7a87f51032 fix: skip malformed item objectives in cache 2026-06-05 18:02:15 -05:00
Xurkon aa973188ce fix: guard item name lookup against invalid ids 2026-06-05 17:55:52 -05:00
Xurkon 9fcb1988da fix: preserve learner party kill updates 2026-06-05 14:19:42 -05:00
Xurkon d1f79fd73e fix: prefer ascension tooltip data 2026-06-04 22:36:42 -05:00
Xurkon c85370de0b fix: replace select eight lookups 2026-06-04 21:58:54 -05:00
Xurkon f8b3972e70 fix: add lua 5.0 compatibility shims 2026-06-04 21:54:36 -05:00
Xurkon c3ea62f5bc fix: scope questie comms enable helper 2026-06-04 17:30:48 -05:00
Xurkon 77857be339 fix: remove arcane arrow from bundle 2026-06-02 12:45:20 -05:00
Xurkon 02559f70bd feat: add horde and alliance arrow styles 2026-06-02 12:42:53 -05:00
Xurkon 6793805ebe remove staged bloat 2026-06-01 18:00:06 -05:00
Xurkon 164584ca87 fix: Sunstrider pin regression, ghost pins, and learner zone normalization
- Fix: isSunstrider block in _MergeSpawnEvidence now checks IsAscensionProtected
  before writing learner data to npcDataOverrides. Without this guard, each Mana
  Wyrm kill overwrote AscensionDB's z1241=5 data with learner z3431 coords.

- Fix: Clustering disabled for zone 1241 (Sunstrider Isle) in _DrawObjectiveIcons
  so all 5 AscensionDB spawn pins display individually instead of collapsing to 2.

- Fix: Ghost pin loop in AvailableQuests.lua -- 'while frames[i]' was iterating a
  string-keyed table with a numeric index (never iterated). Changed to pairs().

- Fix: NormalizeSpawnZoneKey now uses ZoneDB.areaIdToUiMapId for all zones so
  learner evidence is stored under map IDs (e.g. 1241) not area IDs (e.g. 3431),
  matching AscensionDB's key space. Applied in LearnNPC and _StoreGuidSpawnEvidence.

- Fix: isSunstrider detection in _MergeSpawnEvidence updated from hardcoded
  zoneId==3431 check to IsSunstriderNativeZone() since zone IDs are now normalized
  to map IDs at storage time.
2026-05-25 19:02:56 -05:00
Xurkon 0c6f8fa975 test(learner): Phase 3 unit tests for spawn merge 2026-05-24 00:33:55 -05:00
Xurkon 59b58ae46a test(learner): Phase 2 unit tests for spawn evidence and pruning 2026-05-24 00:30:03 -05:00
Xurkon d0d000cf3f gitignore: re-add dev test files and tooling configs
Tests/, .busted, selene.toml, and wow_classic.yml are dev-only
files — not part of the release artifact.
2026-05-16 07:54:19 -05:00
Xurkon bf6ecaedbe v1.6.3-unreleased: Sunstrider zone fixes, QuestieLearner icon preservation, migration, and Busted test suite
Code changes (13 files, +916/-171):
- ZoneDB integration: GetZoneId() converts uiMapId→areaId via ZoneDB reverse lookup
- MIN_CONFIDENCE_PINS reduced to 1 for Ascension (incomplete NPC DBs)
- QuestieLearner icon preservation: objective Icon passed to RegisterObjectiveTooltip
- InjectLearnedData zone migration: converts old uiMapId spawn keys to areaId
- areaId passed through all LearnNPC call sites (OnMouseoverUnit, OnQuestDetail,
  OnQuestComplete, OnQuestAccepted, OnQuestTurnedIn, OnGossipShow)
- Compat/Compat.lua: C_Map.GetPlayerMapPosition UiMapData support
- Compat/HBD.lua: Sunstrider mapData aliases and fallback loading
- Sunstrider arrow fix (QuestieArrow.lua), resolved pin rendering (QuestieMap.lua)
- _MergeOverride helper for string/numeric key compatibility
- Northshire Valley UiMapData registration

Testing infrastructure:
- .busted config pointing to tests/ directory
- Tests/wow_api_mock.lua: WoW API mocks (ZoneDB, C_Map, QuestLogCache, etc.)
- Tests/QuestieLearner_spec.lua: 12 tests covering coordinate scaling, spell cast
  learning, zone migration (NPC/objects), icon preservation, settings defaults,
  and LearnNPC spawn zone tracking
- selene.toml + wow_classic.yml: linter configuration

Documentation:
- Makefile with test/lint/ci targets
- sunstrider-coordinate-collection.md: coordinate data reference
- sunstrider-pin-fix.md: root cause analysis and fix documentation
2026-05-16 07:32:47 -05:00
Xurkon 35710b8a06 Delete Tests directory 2026-03-19 20:40:56 -05:00
Xurkon b0f8ba22e7 feat: release v1.3.0 - QuestieLearner Confidence & Tiered Pruning Engine 2026-03-17 22:33:01 -05:00