BigDebuffs

BigDebuffs

20M Downloads

CompactUnitFrame_Util_IsBossAura removed?

mbattersby opened this issue ยท 4 comments

commented

A WoW update in the last 12 hours looks like it might have removed CompactUnitFrame_Util_IsBossAura. Otherwise I have no explanation for what's going on. Version 10.8 installed.

As far as I can tell it was literally just

function CompactUnitFrame_Util_IsBossAura(...) return select(12, ...) end

Error:

Message: Interface\AddOns\BigDebuffs\BigDebuffs.lua:1502: attempt to call global 'CompactUnitFrame_Util_IsBossAura' (a nil value)
Time: Tue Mar 22 08:26:10 2022
Count: 1
Stack: Interface\AddOns\BigDebuffs\BigDebuffs.lua:1502: attempt to call global 'CompactUnitFrame_Util_IsBossAura' (a nil value)
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1502: in function `func'
[string "@Interface\FrameXML\AuraUtil.lua"]:43: in function <Interface\FrameXML\AuraUtil.lua:38>
[string "@Interface\FrameXML\AuraUtil.lua"]:58: in function `ForEachAura'
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1501: in function <Interface\AddOns\BigDebuffs\BigDebuffs.lua:1448>
[string "=[C]"]: in function `CompactUnitFrame_UpdateAuras'
[string "@Interface\FrameXML\CompactUnitFrame.lua"]:328: in function <Interface\FrameXML\CompactUnitFrame.lua:307>
[string "=[C]"]: in function `CompactUnitFrame_UpdateAll'
[string "@Interface\FrameXML\CompactUnitFrame.lua"]:215: in function <Interface\FrameXML\CompactUnitFrame.lua:213>
[string "=[C]"]: in function `CompactUnitFrame_SetUpFrame'
[string "@Interface\FrameXML\CompactPartyFrame.lua"]:6: in function `CompactPartyFrame_OnLoad'
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>
[string "=[C]"]: in function `CreateFrame'
...
[string "@Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua"]:130: in function `CompactRaidFrameContainer_TryUpdate'
[string "@Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua"]:76: in function `CompactRaidFrameContainer_SetGroupMode'
[string "@Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua"]:440: in function <...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:431>
[string "@Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua"]:508: in function `CompactRaidFrameManager_SetSetting'
[string "@Interface\AddOns\Blizzard_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua"]:594: in function `func'
[string "@Interface\AddOns\Blizzard_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua"]:571: in function `CompactUnitFrameProfiles_ApplyProfile'
[string "@Interface\AddOns\Blizzard_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua"]:174: in function `CompactUnitFrameProfiles_ApplyCurrentSettings'
[string "@Interface\AddOns\Blizzard_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua"]:170: in function `CompactUnitFrameProfiles_ActivateRaidProfile'
[string "@Interface\AddOns\Blizzard_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua"]:43: in function `CompactUnitFrameProfiles_ValidateProfilesLoaded'
[string "@Interface\AddOns\Blizzard_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua"]:30: in function <...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:19>

Locals: (*temporary) = nil
(*temporary) = "Mighty Caravan Brutosaur"
(*temporary) = 1881827
(*temporary) = 0
(*temporary) = nil
(*temporary) = 0
(*temporary) = 0
(*temporary) = "player"
(*temporary) = false
(*temporary) = false
(*temporary) = 264058
(*temporary) = true
(*temporary) = false
(*temporary) = true
(*temporary) = false
(*temporary) = 1
(*temporary) = 227
(*temporary) = "attempt to call global 'CompactUnitFrame_Util_IsBossAura' (a nil value)"
doneWithDebuffs = false
bossBuffs = nil
index = 1
numUsedDebuffs = 0
frame = CompactPartyFrameMember1 {
 0 = <userdata>
 debuffFrames = <table> {
 }
 BigDebuffs = <table> {
 }
 maxDispelDebuffs = 3
 inVehicle = false
 background = CompactPartyFrameMember1Background {
 }
 powerBar = CompactPartyFrameMember1PowerBar {
 }
 hasDispelPoison = false
 healthBar = CompactPartyFrameMember1HealthBar {
 }
 overAbsorbGlow = CompactPartyFrameMember1OverAbsorbGlow {
 }
 horizTopBorder = CompactPartyFrameMember1HorizTopBorder {
 }
 vertRightBorder = CompactPartyFrameMember1VertRightBorder {
 }
 myHealPrediction = CompactPartyFrameMember1MyHealPrediction {
 }
 aggroHighlight = CompactPartyFrameMember1AggroHighlight {
 }
 myHealAbsorbRightShadow = CompactPartyFrameMe
commented

Can confirm. The function seems to be missing. Unsure whether it's related to some wfr hotfix and therefore possibly a mistake or related to the aura api optimization update that was posted in the last hour.

commented

Also

Oops, line numbers are off here because I hacked in my own CompactUnitFrame_Util_IsBossAura. Take this with a grain of salt since I edited things a bit with no real understanding.

Message: Interface\FrameXML\CompactUnitFrame.lua:1523: Usage: SpellIsPriorityAura(spellID)
Time: Tue Mar 22 08:59:17 2022
Count: 29
Stack: Interface\FrameXML\CompactUnitFrame.lua:1523: Usage: SpellIsPriorityAura(spellID)
[string "=[C]"]: in function `SpellIsPriorityAura'
[string "@Interface\FrameXML\CompactUnitFrame.lua"]:1523: in function <Interface\FrameXML\CompactUnitFrame.lua:1521>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1418: in function <Interface\AddOns\BigDebuffs\BigDebuffs.lua:1417>
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1484: in function `func'
[string "@Interface\FrameXML\AuraUtil.lua"]:43: in function <Interface\FrameXML\AuraUtil.lua:38>
[string "@Interface\FrameXML\AuraUtil.lua"]:58: in function `ForEachAura'
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1473: in function <Interface\AddOns\BigDebuffs\BigDebuffs.lua:1452>
[string "=[C]"]: ?
[string "=[C]"]: in function `CompactUnitFrame_UpdateAuras'
[string "@Interface\FrameXML\CompactUnitFrame.lua"]:96: in function <Interface\FrameXML\CompactUnitFrame.lua:45>

Locals: (*temporary) = "Focused Disintegration"
commented

I took a crack at a fix: #338

commented