Commit Graph

217 Commits

Author SHA1 Message Date
Meow a7bfff5d33 Added new throttle option for nameplate castbar 2026-03-21 08:05:45 +01:00
Meow 8dc9f1cd13 Reapply "fix for libtotem.lua crashing with Invalid spell slot"
This reverts commit 02d3cd8348.
2026-03-14 09:58:26 +01:00
Meow 02d3cd8348 Revert "fix for libtotem.lua crashing with Invalid spell slot"
This reverts commit cc61fbf6d7.
2026-03-14 09:56:20 +01:00
Meow cc61fbf6d7 fix for libtotem.lua crashing with Invalid spell slot 2026-03-14 09:52:16 +01:00
Meow c503635622 libtotem fix 2026-03-10 18:28:15 +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
Meow fa7e4f8b40 Range Check: UnitXP mode
Added Range Check Mode dropdown (Vanilla / UnitXP) and UnitXP Range Threshold input field under the 40y-Range Check settings in the GUI
In UnitXP mode, UnitInRange bypasses librange entirely and queries UnitXP("distanceBetween") directly with the configured yard threshold
librange scan loop is disabled when UnitXP mode is active — no TargetUnit cycling, no spellbook scanning, no combat interruption
Fixed UnitInRange referencing librange as an undefined local instead of pfUI.api.librange, which caused silent nil returns
2026-03-04 02:27:11 +01:00
Meow f5d2c48933 more fixes for heal predictions
more fixes for heal predictions
2026-03-03 08:29:00 +01:00
Meow c8500efae9 fix for heal predictions with healcomm users
fix for heal predictions with healcomm users
2026-03-03 00:43:24 +01:00
Meow 3922d9879e fixed typos and cleaned up comments 2026-03-02 19:13:45 +01:00
Meow e939f1f96a added debug message
added debug message
2026-03-02 13:33:49 +01:00
Meow 958aff610b libdebuff version push for nampower - UPDATE!
libdebuff version push for nampower - UPDATE!
2026-03-02 13:09:19 +01:00
Meow b91ef05a96 SuperWoW dependency fully removed
Read the Readme for more informations please.
2026-03-02 13:05:22 +01:00
Meow c7aca0de99 GUID replacements
* Replace all `local _, guid = UnitExists(unit)` with `GetUnitGUID(unit)` (Nampower 3.0.0+)
* Bump minimum required Nampower version to 3.0.0
2026-03-02 10:41:49 +01:00
Meow 90fc2f83ff libdebuff
Making it as obviousl as i can for players to update...
2026-03-02 09:30:08 +01:00
Meow 668bb3d21f small update
small update
2026-03-02 09:21:15 +01:00
Meow b987789c9e Updated libdebuff
- nampower requirement is now more opposite, showing a big red text on screen and an option to display the link in chat...
2026-03-02 09:16:59 +01:00
Meow 9ec6496b97 small libdebuff adding
Added NP_EnableSpellHealEvents to spelldebuff.lua for proper heal prediction tracking
2026-03-02 09:04:07 +01:00
Meow c16e0c7c38 libpredict comment changes
Changed my german comments to english comments =D
2026-03-02 08:54:37 +01:00
Meow 3fbce5be8f libpredict.lua changes!
* Removed SuperWoW dependency (UNIT_CASTEVENT removed)
* Replaced SPELLCAST_START/STOP/FAILED/INTERRUPTED/DELAYED with Nampower equivalents (SPELL_START_SELF, SPELL_GO_SELF, SPELL_FAILED_SELF, SPELL_DELAYED_SELF)
* Replaced CHAT_MSG_SPELL_SELF_BUFF text parsing with SPELL_HEAL_BY_SELF for accurate heal amounts including crit detection
* Routed SPELL_START_SELF/OTHER, SPELL_GO_SELF/OTHER, SPELL_FAILED_OTHER through existing libdebuff hook system to avoid duplicate event registration
* Added 60-second resurrection timer: symbol persists after successful cast even if caster attempts and cancels a second cast
* Added GUID->Name cache for reliable target resolution when casting resurrection on dead players (UnitExists returns nil for corpses)
* Auto-enables NP_EnableSpellHealEvents CVar required for SPELL_HEAL_BY_SELF
2026-03-02 08:51:23 +01:00
Meow 6649656d82 got rid of more superwow checks, we have nampower now! 2026-02-28 22:12:51 +01:00
Meow 5bdb7f97f3 version push - read the readme for more details
version push - read the readme for more details
2026-02-28 08:29:04 +01:00
Meow 9950b91d75 added missing nil check for data 2026-02-26 15:08:11 +01:00
Meow 073c18f864 performance improvement
- Changed SpellInfo to GetSpellRecField (it's twice as fast and has less impact on performance)
- different caching method for buffs/debuffs
2026-02-24 19:06:38 +01:00
Meow f17bd34d72 possible fix to show stacks properly
possible fix to show stacks properly
2026-02-24 18:37:22 +01:00
Meow 52f212d329 swingtimer fix for warriors
Heoric strike now is shown within the swing timer.
2026-02-23 18:40:16 +01:00
Meow 82339338a6 Version push for latest nampower release
Version push for latest nampower release
2026-02-22 23:19:24 +01:00
Meow 236a2fce6c perf/fix: port experimental optimizations + focus rework + raidmarkers
Performance optimizations ported from experimental:
- libdebuff: replace 5s startup timer with next-frame defer
- libdebuff: use arg6 auraSlot directly (Nampower 2.29+) instead of GetDebuffSlotMap lookup
- libdebuff: invalidate slotMapCache on PLAYER_TARGET_CHANGED
- nameplates: detect Nampower 2.27.2+ for GUID-based nameplate lookup

Raidmarkers module ported from experimental:
- added raidmarkers.lua
- added config defaults and GUI section
- registered in modules.xml

focus.lua rework:
- removed CastSpellByNameNoQueue (Nampower's CastSpellByName now supports unit tokens/GUIDs natively)
- /focus Name: TargetByName with correct previous target restore + ClearTarget() fallback
- /focus Name: prefix match via SlashCmdList.TARGET when exact match fails
- suppress UI_ERROR_MESSAGE during targeting attempts

swingtimer fixes:
- non-Hunter ranged bar now fills left->right like MH/OH
- fix 1px artifact on Hunter bar center by using Hide() instead of SetWidth(0.1)
2026-02-22 19:08:37 +01:00
Meow f1048bd7bb Revert "possible fix for libpredict to not show resses that are canceled."
This reverts commit 947b11f918.
2026-02-20 20:25:16 +01:00
Meow 947b11f918 possible fix for libpredict to not show resses that are canceled.
possible fix for libpredict to not show resses that are canceled.
2026-02-20 19:03:28 +01:00
Meow 9055dad52f fixed healcomm and libpredict not sharing same stop messages
fixed healcomm and libpredict not sharing same stop messages
2026-02-20 04:38:05 +01:00
Meow 8248e4ed91 possible fix for healpredicts with queued casting
possible fix for healpredicts with queued casting
2026-02-18 22:45:07 +01:00
Meow f18d732991 fixed a missing guid check
fixed a missing guid check
2026-02-18 13:52:34 +01:00
Meow 6a18eafc5e version update push
version update push
2026-02-18 13:39:42 +01:00
Meow 7165be5636 fix for nameplates sometimes not showing casttimes of mobs
fix for nameplates sometimes not showing casttimes of mobs
2026-02-18 13:37:40 +01:00
Meow 759c6ef0e5 more missing update checks... 2026-02-17 11:04:47 +01:00
Meow 5029f1b3b7 fixed a version check for nampower 2026-02-17 11:02:32 +01:00
Meow 37da46d474 forced version push for latest pfui
forced version push for latest pfui
2026-02-17 01:44:03 +01:00
Meow 645f247c87 fixed missing combo point logics 2026-02-16 17:24:41 +01:00
Meow be4f8d8f22 Fixed castbar for focus
Fixed castbar for focus
2026-02-16 15:18:06 +01:00
Meow 3cf64ceffd string.find fix - missing parameters, thanks to jrc13245
string.find fix - missing parameters, thanks to jrc13245
2026-02-16 05:52:42 +01:00
Meow f7bcad6266 fixed a typo
fixed a typo
2026-02-11 19:41:44 +01:00
Meow b2fc8a73b1 fixed libpredict not showing own heals/resses
- Thanks at liiora for reporting this.
- Short explain, the new libpredict uses nampower for it's prediction, in all my tests i had a lots of debug messages added to track if everything works. Seeing my own messages twice i assumed, i can improve the performance by ignoring "player".  This also bugged the self-prediction because now your own abilitys were ignored. (FIXED NOW)
2026-02-10 08:51:00 +01:00
Meow fcdd75d4c5 fix for vanishing castbars
fix for vanishing castbars
2026-02-07 21:04:02 +01:00
Meow f43b8f19f8 update for libdebuff
Read the readme!
Version push
2026-02-06 16:32:13 +01:00
Meow 37beca7103 New throttling menu
New throttling menu
2026-02-06 08:07:33 +01:00
Meow 9f0a30d546 small fix
small fix
2026-02-05 08:14:07 +01:00
Meow 10401bc48b Revert "expose armor duration"
This reverts commit 4f6ce12c7b.
2026-02-05 08:11:32 +01:00
Meow 4f6ce12c7b expose armor duration
expose armor duration
2026-02-05 08:06:09 +01:00