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.
This commit is contained in:
Xurkon
2026-05-25 19:02:56 -05:00
parent 7a7b1eb727
commit 164584ca87
16 changed files with 880 additions and 221 deletions
+48 -51
View File
@@ -1,59 +1,56 @@
# IDE
.idea/
.vscode/
*.iml
.DS_Store
# Build artifacts
*.zip
*.log
*.tmp
*.bak
*.bak*
*.old
luac.out
*_HEAD.lua
workflow/
Tools/
# Scripts
*.py
*.js
*.ps1
tmp_*.py
release_notes.txt
# Test files
Tests/
Modules/*_spec.lua
# Docs
!README.md
!CHANGELOG.md
!RELEASE_NOTES.md
!LICENSE
!Icons/MIT.txt
# Dev notes and session artifacts
docs/sunstrider-pin-fix.md
docs/sunstrider-coordinate-collection.md
docs/PROGRESS.md
docs/testing-macros.md
QUESTIE-LEARNER-HANDOFF.md
# Dev files
# Generated/lock files
skills-lock.json
# CodexBot artifacts
.codex/
# Agent/dev tooling
.agent/
.agents/
.claude/
.history/
.kilocode/
skills/
scratch/
# Lua/WoW dev artifacts
.busted
.luarc.json
selene.toml
Compat/Debug.lua
Modules/Arrow/QuestieArrow.lua.bak4
Modules/Arrow/QuestieArrow_HEAD.lua
Questie-X-Turtle.toc
Tooltip_772ebd1.lua
coords.lua
debug.lua
debug_tooltip.lua
Tooltip_772ebd1.lua
verify_*.lua
.history/
Research/
Tools/
Tests/
tests/
.busted
Makefile
selene.toml
wow_classic.yml
workflow/
__pycache__/
.agents/
.kilocode/
luac.out
release_notes.txt
# Assets that shouldn't be in source
# (Icons/* are needed for release)
Questie-X-Turtle.toc
skills-lock.json
.luarc.json
skills/
scratch/
workflow/
.claude/skills/
# Python artifacts
__pycache__/
cleanup_init.py
tmp_*.py
# Config
wow_classic.yml
# Dev scripts
Makefile
move_recompile.py