DBM - Deadly Boss Mods (DBM-Core)

DBM - Deadly Boss Mods (DBM-Core)

530M Downloads

Lua Error: outside of expected range in C_UnitAuras.GetAuraDataByIndex

brittyazel opened this issue ยท 5 comments

commented

I was running Mythic Emerald Nightmare, and upon fighting the first boss I received this error.

This is on WoW 10.2.5 using DBM 10.2.17

1x bad argument #2 to '?' (outside of expected range 0 to 4294967295 - Usage: local aura = C_UnitAuras.GetAuraDataByIndex(unitToken, index [, filter]))
[string "=[C]"]: ?
[string "@DBM-Core/DBM-Core.lua"]:6397: in function `UnitDebuff'
[string "@DBM-Core/DBM-InfoFrame.lua"]:780: in function `?'
[string "@DBM-Core/DBM-InfoFrame.lua"]:1155: in function `Show'
[string "@DBM-Raids-Legion/EmeraldNightmare/Nythendra.lua"]:94: in function `OnCombatStart'
[string "@DBM-Core/DBM-Core.lua"]:5471: in function `StartCombat'
[string "@DBM-Core/DBM-Core.lua"]:4973: in function `handler'
[string "@DBM-Core/DBM-Core.lua"]:1106: in function <DBM-Core/DBM-Core.lua:1093>

Locals:
(*temporary) = "bad argument #2 to '?' (outside of expected range 0 to 4294967295 - Usage: local aura = C_UnitAuras.GetAuraDataByIndex(unitToken, index [, filter]))"

commented

The same error happened on the Dragons of Nightmare fight, Il'gynoth, Cenarius, and Xavius. Interestingly, the errors do not happen on heroic, only Mythic.

commented

Getting the same error but in Amdrassil on Tindral Heroic (I was dead as we went into second platform/phase).

24x bad argument #2 to '?' (outside of expected range 0 to 4294967295 - Usage: local aura = C_UnitAuras.GetAuraDataByIndex(unitToken, index [, filter]))
[string "=[C]"]: ?
[string "@DBM-Core/DBM-Core.lua"]:6397: in function `UnitDebuff'
[string "@DBM-Core/DBM-InfoFrame.lua"]:639: in function `?'
[string "@DBM-Core/DBM-InfoFrame.lua"]:1155: in function `Show'
[string "@DBM-Raids-Dragonflight/Amirdrassil/TindralSageswift.lua"]:573: in function `handler'
[string "@DBM-Core/DBM-Core.lua"]:1106: in function <DBM-Core/DBM-Core.lua:1093>
[string "=(tail call)"]: ?
[string "@DBM-Core/DBM-Core.lua"]:1106: in function <DBM-Core/DBM-Core.lua:1093>
commented

I have a fix coming soon. just a bad copy and paste that got missed in my testing since UnitDebuff by spellname is rarely used in current mods outside of infoframes, and sadly i didn't test tindral or any other boss with infoframes on PTR

commented

All good! I appreciate you getting a fix out so quickly. ๐Ÿ˜›

commented

Yep, update should be live on most sites already. Just patch day things :D