Commit Graph

2228 Commits

Author SHA1 Message Date
Meow 2ef9c5ee1e Refactor nameplate cast tracking to be fully GUID-based
Problem:
Since a recent Turtle-WoW update, nameplates would show the same castbar on all mobs sharing a name (e.g. multiple "Defias Rogue Wizard"). Additionally, a targeted mob that was not casting would incorrectly display the castbar of a nearby mob with the same name.

Changes:
**`modules/nameplates.lua`**
- Removed `hasNampower` version-sniffing entirely. Nampower is a hard requirement for pfUI; all related guards have been removed and the code runs unconditionally.
- Castbar lookup now always uses `nameplate.cachedGuid` directly — never `GetUnitGUID("target")` or a unit name string.
- Removed dead fallback block using `UnitCastingInfo("target")`.
- Restored fallback via `pfGetCastInfo(cachedGuid)` / `pfGetChannelInfo(cachedGuid)` (see libcast changes below) for casts not tracked by libdebuff (e.g. already-in-progress casts on login).

**`libs/libcast.lua`**
- Renamed `UnitCastingInfo` → `pfGetCastInfo` and `UnitChannelInfo` → `pfGetChannelInfo` to avoid confusion with the Blizzard API of the same name, which does not exist in Vanilla.
- Name-based fallback lookup (`libcast.db[unitName]`) is now skipped when a GUID is available. This prevents cast bleed between mobs that share a name.

**`libs/libpredict.lua`, `modules/castbar.lua`, `modules/afkcam.lua`**
- Updated all call sites to use the renamed `pfGetCastInfo` / `pfGetChannelInfo`.
2026-03-23 10:47:42 +01:00
Meow cd4a3343cb Revert "this should fix no-target mobs casting with the same name"
This reverts commit 35ec17d9a0.
2026-03-22 17:07:52 +01:00
Meow 35ec17d9a0 this should fix no-target mobs casting with the same name 2026-03-22 17:06:18 +01:00
Meow 7c73ccb02e Update turtle-wow.lua 2026-03-22 13:11:54 +01:00
Meow 4c1c4a5176 Reapply "Fix invisible frames intercepting mouse clicks"
This reverts commit e663a40460.
2026-03-22 12:36:47 +01:00
Meow e663a40460 Revert "Fix invisible frames intercepting mouse clicks"
This reverts commit 7d0898c563.
2026-03-22 12:32:05 +01:00
Meow 7d0898c563 Fix invisible frames intercepting mouse clicks
Disable mouse on Turtle GroupUI frames and all children when pfUI replaces them
Re-enable mouse when Turtle frames become active again
Prevent combat screen overlay from blocking clicks
Use explicit EnableMouse(false) instead of nil for StatusBar widgets
2026-03-22 12:24:12 +01:00
Meow 68ff49be24 fixed castbar for channeling units 2026-03-22 10:38:53 +01:00
Meow aced71a75f full control over castbar nameplate throttle 2026-03-22 01:29:10 +01:00
Meow 415e3b7a29 added missing nil check 2026-03-22 01:02:42 +01:00
Meow 283bacf2a4 Hide/show turtle-wow raid/group frames when pfui hidden and reversed 2026-03-22 00:42:37 +01:00
Meow 707e05cdca fixed menu for UnitPopup in chat 2026-03-21 20:12:07 +01:00
Meow f6d0cf7ba1 added a 100fps throttle for nameplates internally 2026-03-21 13:31:01 +01:00
Meow 09f8376588 fixed an upper/lower case check for map markers. 2026-03-21 12:27:35 +01:00
Meow 33f4522d12 fixed mapreveal "cluttering"
Mapreveal is showing always the proper grey areas now
2026-03-21 11:46:47 +01:00
Meow ad98484aa3 changed target/casting to Target now, we have new casting plates. 2026-03-21 08:12:01 +01:00
Meow 676b95960f Merge branch 'master' of https://github.com/me0wg4ming/pfUI 2026-03-21 08:05:47 +01:00
Meow a7bfff5d33 Added new throttle option for nameplate castbar 2026-03-21 08:05:45 +01:00
Sleepybear 25f514dad0 Add Find Trees to tracking menu 2026-03-20 22:15:42 -07:00
Meow a1311d997e raidframe fixes 2026-03-20 21:02:13 +01:00
Meow e2f68a9dc1 removed debug code... opsie 2026-03-20 20:18:09 +01:00
Meow 28f7240e7c fixed raidframes and inspect 2026-03-20 19:05:51 +01:00
Meow 6c4af1c92c several fixes for inspect with new patch
Note:  Seeing talents of other players is a thing from t-wow side, this doesn't work until fixed by turtle-wow
2026-03-20 18:08:16 +01:00
Meow f730838e79 fixed hdgraphics module 2026-03-20 17:25:15 +01:00
Meow 3a1b24ddd5 Update mapreveal overlay data for Turtle WoW
env/tables.lua — Updated pfMapOverlayData to current Turtle WoW WorldMapOverlay.dbc (53 zones, 707 overlays — added 12 new zones, ~40 new exploration areas)

modules/mapreveal.lua — Use separate texture pool to prevent conflicts with Blizzard overlay rendering; removed legacy errata and unused hash logic
2026-03-20 12:37:25 +01:00
Meow 74a92dae07 fixed offsets not updating while being edited. 2026-03-19 08:54:46 +01:00
Meow fce239349c switch map to current zone when opening the map 2026-03-16 15:45:04 +01:00
Meow 75c97c6e59 fix for mana ticks still showing up in some situations with full mana 2026-03-14 17:12:14 +01:00
Meow 2865df8a77 hide instead of setting alpha to 0 2026-03-14 10:48:24 +01:00
Meow 7f6c12d185 fixed mana ticks - hides on full mana now 2026-03-14 10:40:08 +01:00
Meow e3803aa35f swingtimer hook for scrm 2026-03-13 13:40:38 +01:00
Meow f9f0c8f2e9 Revert "Added swing timer hook for scrm"
This reverts commit 99dbd168a2.
2026-03-13 13:39:19 +01:00
Meow 99dbd168a2 Added swing timer hook for scrm 2026-03-13 13:37:13 +01:00
Meow 33acd7bbf5 added new button "Switch to current zone" 2026-03-12 06:34:33 +01:00
Meow 4176358bfa changed mouse on leave to mouse on right click for search window to cancel it- 2026-03-11 15:06:51 +01:00
Meow ae8dc71bb8 fixed more NaN checks 2026-03-11 05:18:51 +01:00
Meow e2f3c08581 changed page 9 to 2 2026-03-09 03:06:41 +01:00
Meow 2d2d251734 clearing up dead code - we use nampower now! 2026-03-09 02:59:37 +01:00
Meow a3f38502c2 hunter bar auto swap fix (works for ALL levels) 2026-03-09 02:44:52 +01:00
Meow e0a9756b96 clearfocus fix 2026-03-07 19:49:04 +01:00
Meow 5aa4dcf151 clearfocus is what we need... 2026-03-07 19:43:59 +01:00
Meow 73858d79a7 bag OnLeave fix 2026-03-07 19:39:59 +01:00
Meow efd4039843 Update targettargettarget.lua 2026-03-06 06:44:11 +01:00
Meow d3d6d39f61 added missing nil check 2026-03-06 06:34:41 +01:00
Meow 80062535d9 update for swing timer on miss/dodge/parry 2026-03-06 03:47:54 +01:00
Meow 7ad4aecf80 show mana for everyone that has a target as druid 2026-03-05 23:26:26 +01:00
Meow 0337347cef added hunter check for glowing line 2026-03-05 22:08:13 +01:00
Meow b52187f37b fixed druid mana bar sometimes showing up on npc`s 2026-03-05 10:27:56 +01:00
Meow 48c5d50f51 Fix swing timer not resetting on resisted/missed spells
The swing timer now correctly resets when your spell is resisted or misses. Previously, a resisted Moonfire (for example) would not reset the swing timer bar even though the server had already reset your actual swing — causing the bar to desync until the next auto-attack.
2026-03-05 04:09:56 +01:00
Meow c0bd8cb4cf swingtimer update 2026-03-04 22:40:08 +01:00