Commit Graph

335 Commits

Author SHA1 Message Date
Xurkon 64d5fb2f10 fix: keep learner mode live 2026-06-05 20:51:42 -05:00
Xurkon 9d02c8a231 fix: fully clear learned data buckets 2026-06-05 20:37:34 -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 9fcb1988da fix: preserve learner party kill updates 2026-06-05 14:19:42 -05:00
Xurkon 1f6b6b14dc perf: align learner debounce defaults 2026-06-05 14:10:58 -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 ccd2bc10d6 refactor: centralize performance options 2026-06-04 17:07:14 -05:00
Xurkon b62def52fd feat: add questie comms performance options 2026-06-04 17:05:03 -05:00
Xurkon a113791d64 perf: add questie comms disable gate 2026-06-04 17:04:12 -05:00
Xurkon c6bfa95c9e perf: wire questie comms throttles 2026-06-04 17:01:37 -05:00
Xurkon 5e3ac7cdd1 fix: synchronize learner performance options 2026-06-04 16:59:37 -05:00
Xurkon a1424bdd53 perf: add arrow performance controls 2026-06-04 16:53:21 -05:00
Xurkon 71a77b39d0 perf: cache arrow target coordinate lookups 2026-06-04 16:49:30 -05:00
Xurkon 8e90d43b6c perf: ignore bystander deaths for learner refreshes 2026-06-04 16:43:33 -05:00
Xurkon f160570a95 perf: add learner performance controls 2026-06-04 16:37:03 -05:00
Xurkon 305e918525 perf: batch learner pin refreshes 2026-06-04 16:23:43 -05:00
Xurkon 1ae4a21212 refactor: drop redundant learner private assignment 2026-06-04 10:03:26 -05:00
Xurkon 851a0ad6ea fix: capture learner event payload 2026-06-04 08:00:06 -05:00
Xurkon c4d9c2cf21 perf: head-tail quest comms queues 2026-06-04 07:42:31 -05:00
Xurkon bd1dfe7e79 perf: increment quest-list packet sizing 2026-06-04 07:33:47 -05:00
Xurkon 74d2095a72 perf: use head-index queues in learner comms 2026-06-04 07:24:01 -05:00
Xurkon 45357263c1 perf: batch learner merges and guard debug scans 2026-06-04 07:00:38 -05:00
Xurkon 51561b97d8 perf: batch learner updates and remove Turtle support 2026-06-04 06:47:45 -05:00
Azik 581634d199 Fix Ascension tracker line wrapping
Use tracker wrapping helpers that fall back when Ascension font strings do not expose GetNumLines or GetWrappedWidth.

(cherry picked from commit c9b7de2a636ca918c2549a13de87a688861c831f)
2026-06-03 06:50:07 -05:00
Xurkon 31864a467e fix: harden learner spawn suppression 2026-06-03 06:41:23 -05:00
Xurkon 4b7c295210 fix: stabilize minimap range cutoff and update release docs 2026-06-03 06:05:55 -05:00
Xurkon c3b91f3bee fix: finalize arrow asset and docs updates 2026-06-03 00:26:39 -05:00
Xurkon 4fc8d661fd fix: clean faction arrow transparency 2026-06-02 13:03:19 -05:00
Xurkon 339dc1d94e fix: remove faction arrow alpha boxes 2026-06-02 12:52:18 -05:00
Xurkon 02559f70bd feat: add horde and alliance arrow styles 2026-06-02 12:42:53 -05:00
Xurkon 8a41141172 feat: add new waypoint arrow styles 2026-06-02 12:18:48 -05:00
Xurkon fe1f79cd2b chore: release 1.6.3 2026-06-02 11:25:28 -05:00
Xurkon d3c59e0ce8 feat(arrow): restore sprite sheet arrow from v1.6.2-test
- Swap single-frame SetRotation arrow back to 9x12 sprite sheet (512px TGA).
- Recompute cell UVs from bearing each frame via modulo math.
- Keep arrowold.tga on disk; routing to it comes in follow-up commit.
2026-06-01 21:17:31 -05:00
Xurkon 05d74cc432 feat(slash): add /radiusdebug and /terraindebug diagnostics
- Add /radiusdebug slash command. Dumps zoom, shape, size, scale,
  Minimap:GetViewRadius() (3.3.5a), C_Minimap.GetViewRadius()
  (Retail/WoTLK), CVars, fallback radius (outdoor/indoor), active
  pin count, and 8 sample pin metrics (screen offset, normalized
  radius, edge error). Includes an interpretation block.
- Add /terraindebug slash command. Dumps Minimap, MinimapCluster,
  zoom buttons, border, backdrop, north tag, compass texture,
  mask state, MMHolder, and 5 levels of parent chain. Detects
  ElvUI presence and prints interpretation hints.
- All API calls are defensive with pcall/conditional guards and
  tostring() fallbacks. Slash commands lazy-load _G.Questie*Debug
  so they work even if the function table is updated post-load.

These commands were used during the minimap drift investigation
to verify that radius, scale, and frame hierarchy were not the
drift source. They are invaluable for future regression
investigation and have zero runtime cost when not invoked.
2026-06-01 18:35:39 -05:00
Xurkon 8ee8c2516c fix(worldmap): persist button toggle; hook OnShow/OnHide; Mapster offset
- Refactor button positioning and visibility into _PositionMapButton and
  _RefreshMapButtonVisibility helpers. Single source of truth for both.
- WorldMapButton.Initialize now hooks OnShow/OnHide on WorldMapFrame so
  the button self-updates when the user opens/closes the world map.
  No more manual show/hide calls required from elsewhere in the code.
- Toggle(shouldShow) now persists to Questie.db.profile.mapShowHideEnabled
  and calls _RefreshMapButtonVisibility, so the user's choice survives
  /reload and is consistent with the world map's current visibility.
- Special-case Mapster offset: -50, -72.3 vs default -50, -40. Without
  this, the button overlapped Mapster's UI elements when both addons
  were loaded.
- Frame level set to 99 to ensure the button draws above other map
  elements.

All helpers are no-op-safe when mapButton is nil. IsAddOnLoaded
('Mapster') is optional — falls through to default offset if Mapster
is not loaded.
2026-06-01 18:35:39 -05:00
Xurkon 31ddb9a536 fix(quest): require multi-position learned spawns before overriding AscensionDB
- Add local _CountUniqueSpawnPositions helper (counts unique {x, y}
  across all zone buckets in a spawn table).
- Gate the prioritizeMyData check on ld.settings.enabled, matching the
  Database/QuestieDB.lua fix — when the learner is fully disabled,
  the override lookup is skipped entirely.
- Replace the NPC-15274-specific debug print in the monster() spawn
  selector with a universal reliability check: the learner data is
  only used when CountUniqueSpawnPositions(learnedSpawns) > 1.

This is the consumer-side enforcement of the QuestieLearner cleanup
(commit e71e072). Singleton-position spawn entries are typically the
player's current position captured during quest dialog (accept/turn-in)
rather than real kill evidence. By requiring at least 2 unique
positions, we avoid letting that pollution clobber AscensionDB curated
spawn data.

The NPC-15274-specific debug print was removed — the universal check
replaces it, and the diagnostic it provided is now expressed through
the Questie DEBUG_DEVELOP log line (which still emits when the new
condition is met).
2026-06-01 18:35:39 -05:00
Xurkon 515b1b2b33 fix(available): clean up pin and tooltip when quest enters quest log
In _CalculateAvailableQuests, when a quest is found in the quest log
(IsComplete ~= -1), explicitly unload any available-quest pin frame
for that questId, remove its tooltip, and clear the cached entry
before returning.

Previously the early-return left stale state behind: the pin frame
and tooltip would persist until the next sweep, causing a brief window
where the same quest was visible as both 'available' (yellow !) on
the map and 'in log' (yellow ?) in the quest log.

The cleanup order is correct: unload frame, then remove tooltip,
then clear cache. narrow scope (only 'available' data type) — does
not affect other pin categories.
2026-06-01 18:35:39 -05:00
Xurkon df7b5cff3e debug(map): add gated [QD] trace in SetDrawOrder
Adds a print() block in QuestieMap.utils:SetDrawOrder, gated by
_G.QuestieDebugPins. Dumps frame name, parent (QuestieFrameGroup or
Minimap), frame level, strata, shown/hidden state, and anchor point.

Used to diagnose why minimap pins appear on the wrong layer (behind
border or terrain texture) — the trace fires before SetParent /
SetFrameStrata / SetFrameLevel so the post-call result can be compared
to the pre-call printed values.

Default state: GATE IS OFF. Zero runtime cost in production. All API
calls defensive with tostring() and parent.GetName fallbacks.
2026-06-01 18:35:39 -05:00
Xurkon b7b6280e9d debug(framepool): add gated [QD] trace for FakeHide/FakeShow
Adds a print() block in _Qframe:FakeHide and _Qframe:FakeShow, gated by
_G.QuestieDebugPins. Dumps frame name, shown/hidden state, parent, and
anchor point. Used to diagnose why minimap pins reappear or fail to hide
after zone transitions or anchor re-registration.

Default state: GATE IS OFF. The block is a no-op unless the user
explicitly sets _G.QuestieDebugPins = true. Zero runtime cost in
production. All API calls defensive with tostring() and parent.GetName
fallbacks.
2026-06-01 18:35:39 -05:00