LibClassicDurations Tracks all whitelisted aura applications and then returns UnitAura-friendly _duration, expirationTime_ pair
Benefits of installing this standalone package:
1) it's the first to get updates
2) You won't lose buff data after relogs
See https://github.com/rgd87/LibClassicDurations for usage example
How exactly can I get this addon to (in addition to CAD) to hook to https://www.curseforge.com/wow/addons/whoa-thickframes-for-wow-classic?
Because currently, when I attack enemy players, my debuffs overlap with their buffs instead of their buffs going down a row. It works perfectly as is on friendly targets, buffs go down a row when I apply a debuff, but on enemy players debuffs overlap on the buffs.
Hi, i cannot get this to work, i've tried example 2 and 3 from your git page but nothing. i even tried to just _G['LibClassicDurations'] to get your functions.
I bet im missing something real easy but it i cant even get a print out.
EDIT:
i got it going but needed to change when/how your addon functions were called, the hook func you have as an example did nothing!
In reply to Forge_User_95151152:
Do whatever you're doing without the library first. Also you shouldn't call LibStub until all addons are loaded, especially if you're not embedding the library.
In reply to d87_:
Yeah it was all loaded but the hooksecurefunc you have listed as an example wasn't happening/being called, however i set up UNIT_AURA and now getting durations as expected, thanks for the lib :)
is the ability of addons using libclassicdurations to display hostile player buffs without detect magic reliant on the hostile target also having an addon with libclassicdurations?
v1.5.4
7x LibClassicDurations-54\core.lua:704: attempt to index local 'opts' (a nil value) LibClassicDurations-54\core.lua:704: in function <LibClassicDurations\core.lua:684> LibClassicDurations-54\core.lua:738: in function <LibClassicDurations\core.lua:732>
In reply to MrFIXlT:
Thanks, fixed
It appears to be related to breaking compatibility with other addons embedding or using LibClassicDurations.
I get TidyPlates_ThreatPlates and WeakAuras in the error callstack.
With the latest update of Shadowed Unit Frames v4.2.2 there now appears to be a conflict with the library they both pull from.
BugSack is picking up constant errors and auras no longer appear over enemy nameplates. I am unsure if both developers of the addons work together on these things so I am submitting this report to both addons.
Again Shadowed Unit Frames v4.2.2 and Threat Plates (Classic) v1.2.6 now have conflicts in the library with the following errors captured in BugSack.
It appears Threat Plates (Classic) is pulling from LibClassicDurations v1.19 and there is not a Changelog or note in the LibClassicDurations folder included with SUF.
The only current solution I can find is to either disable Threat Plates (Classic) or roll back SUF to version 4.2.1
https://pastebin.com/hJ8sJQUi
In reply to Naamtar:
Ok, i fixed it in 44
In reply to d87_:
Happy Holidays, thanks for the quick fix.
problem with some skills active
Message: Interface\AddOns\PitBull4\Modules\Aura\Update.lua:686: attempt to compare number with nil
Time: Wed Dec 18 13:00:02 2019
Count: 2887
Stack: Interface\AddOns\PitBull4\Modules\Aura\Update.lua:686: attempt to compare number with nil
Interface\AddOns\PitBull4\Modules\Aura\Update.lua:686: in function <Interface\AddOns\PitBull4\Modules\Aura\Update.lua:676>
Interface\AddOns\PitBull4\Modules\Aura\Update.lua:815: in function `UpdateCooldownTexts'
Interface\AddOns\PitBull4\Modules\Aura\Aura.lua:32: in function <Interface\AddOns\PitBull4\Modules\Aura\Aura.lua:20>
Locals: aura = PitBull4_Aura_11 {
overlay = PitBull4_Frame_20 {
}
cooldown_text = PitBull4_FontString_36 {
}
duration = 5
border = PitBull4_Texture_63 {
}
onDelete = <function> defined @Interface\AddOns\PitBull4\Modules\Aura\Controls.lua:230
texture = PitBull4_Texture_62 {
}
Delete = <function> defined @Interface\AddOns\PitBull4\Controls\Controls.lua:126
count_text = PitBull4_FontString_35 {
}
expiration_time = 313197.508000
id = 1
0 = <userdata>
count = 0
name = "shield block"
is_buff = true
spell_id = 2565
kind = "Aura"
cooldown = PitBull4_Cooldown_11 {
}
GetUnit = <function> defined @Interface\AddOns\PitBull4\Modules\Aura\Controls.lua:21
}
cooldown_text = PitBull4_FontString_36 {
0 = <userdata>
font = "Fonts\2002.TTF"
color_by_time = false
Delete = <function> defined @Interface\AddOns\PitBull4\Controls\Controls.lua:126
GetFont = <function> defined @Interface\AddOns\PitBull4\Controls\Controls.lua:107
kind = "FontString"
SetFont = <function> defined @Interface\AddOns\PitBull4\Controls\Controls.lua:101
size = 8.450001
}
expiration_time = 313197.508000
duration = 5
color_by_time = false
current_time = 313197.555000
time_left = -0.047000
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
GetTime = <function> defined =[C]:-1
format_time = <function> defined @Interface\AddOns\PitBull4\Modules\Aura\Update.lua:659
In reply to maringold:
Ok, hopefully fixed. Get update from github or wait next pitbull release
In reply to d87_:
Thanks!
i need 1.13.3
This is only for addon-developers right? No use for a regular user to download?
In reply to Forge_User_29416416:
Yes
Why is Shadow Weaving (Shadow Vulnerability) for Priests commented out? I can uncomment it locally, but was curious if there was a reason.
In reply to mushies_:
It's bugged and won't refresh after 5 stacks