jordonwow / bigdebuffs

https://www.curseforge.com/wow/addons/bigdebuffs
47 stars 87 forks source link

Lua Errors - GetAuraPriority UNIT_AURA #217

Open L30m4nc3r opened 3 years ago

L30m4nc3r commented 3 years ago

1308x BigDebuffs\BigDebuffs-v9.7.lua:982: attempt to index field '?' (a nil value) [string "@BigDebuffs\BigDebuffs-v9.7.lua"]:982: in function GetAuraPriority' [string "@BigDebuffs\BigDebuffs-v9.7.lua"]:1679: in functionUNIT_AURA' [string "@BigDebuffs\BigDebuffs-v9.7.lua"]:552: in function <BigDebuffs\BigDebuffs.lua:552>

Locals: self =

{ NAME_PLATE_UNIT_REMOVED = defined @BigDebuffs\BigDebuffs.lua:1940 SetDefaultModuleLibraries = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:367 SaveUnitFramePosition = defined @BigDebuffs\BigDebuffs.lua:680 EnableModule = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:332 modules =
{ } baseName = "BigDebuffs" IterateEmbeds = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:442 IsDispellable = defined @BigDebuffs\BigDebuffs.lua:910 SecureHookScript = defined @AuctionFaster\Libs\AceHook-3.0\AceHook-3.0.lua:410 IsPriorityBigDebuff = defined @BigDebuffs\BigDebuffs.lua:1613 IsPriorityDebuff = defined @BigDebuffs\BigDebuffs.lua:900 PriorityDebuffs =
{ } SetDefaultModulePrototype = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:409 defaultModuleState = true IsEnabled = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:451 DisableModule = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:350 RegisterMessage = defined @BugSack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 UnregisterMessage = defined @BugSack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 frames =
{ } hooks =
{ } PLAYER_FOCUS_CHANGED = defined @BigDebuffs\BigDebuffs.lua:1862 WarningDebuffs =
{ } UNIT_AURA = defined @BigDebuffs\BigDebuffs.lua:1619 SetEnabledState = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:424 Hook = defined @AuctionFaster\Libs\AceHook-3.0\AceHook-3.0.lua:274 enabledState = true COMBAT_LOG_EVENT_UNFILTERED = defined @BigDebuffs\BigDebuffs.lua:748 RegisterEvent = defined @BugSack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 units =
{ } IterateModules = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:437 AttachNameplate = defined @BigDebuffs\BigDebuffs.lua:647 RawHook = defined @AuctionFaster\Libs\AceHook-3.0\AceHook-3.0.lua:313 AttachUnitFrame = defined @BigDebuffs\BigDebuffs.lua:543 UNIT_AURA_NAMEPLATE = defined @BigDebuffs\BigDebuffs.lua:1743 OnInitialize = defined @BigDebuffs\BigDebuffs.lua:468 NewModule = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:235 GetModule = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:210 AttachedFrames =
{ } defaultModuleLibraries =
{ } options =
{ } Spells =
{ } GetName = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:279 UNIT_AURA_ALL_UNITS = defined @BigDebuffs\BigDebuffs.lua:794 name = "BigDebuffs" GetNameplatesPriority = defined @BigDebuffs\BigDebuffs.lua:1000 specDispelTypes =
{ } Nameplates =
{ } Disable = defined @AuctionFaster\Libs\AceAddon-3.0\AceAddon-3.0.lua:314 ShowInRaids = defined @BigDebuffs\BigDebuffs.lua:1952 UnitFrames =
{ } db =
{ } SetupOptions = defined @BigDebuffs\Options.lua:213 NAME_PLATE_UNIT_ADDED = defined @BigDebuffs\BigDebuffs.lua:1874 HookScript = defined @AuctionFaster\Libs\AceHook-3.0\AceHook-3.0.lua:366 UNIT_PET = defined @BigDebuffs\Big

domzae commented 3 years ago

fixed in #206 in the meantime you can go to line 240 in Addons/BigDebuffs/Retail.lua and change the parentID:

OLD

    [342246] = { type = BUFF_DEFENSIVE }, --Alter Time (Arcane)
        [110909] = { type = BUFF_DEFENSIVE, parent = 108978 }, --Alter Time (Fire/Frost) 

NEW

    [342246] = { type = BUFF_DEFENSIVE }, --Alter Time (Arcane)
        [110909] = { type = BUFF_DEFENSIVE, parent = 342246 }, --Alter Time (Fire/Frost)
domzae commented 3 years ago

fixed in #206 in the meantime you can go to line 240 in Addons/BigDebuffs/Retail.lua and change the parentID:

OLD

    [342246] = { type = BUFF_DEFENSIVE }, --Alter Time (Arcane)
        [110909] = { type = BUFF_DEFENSIVE, parent = 108978 }, --Alter Time (Fire/Frost) 

NEW

    [342246] = { type = BUFF_DEFENSIVE }, --Alter Time (Arcane)
        [110909] = { type = BUFF_DEFENSIVE, parent = 342246 }, --Alter Time (Fire/Frost)