This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
1x Interface/AddOns/AtlasLoot/Button/Button.lua:148: attempt to call method 'SetGradientAlpha' (a nil value) [string "@Interface/AddOns/AtlasLoot/Button/Button.lua"]:148: in function `Create' [string "@Interface/AddOns/AtlasLoot/GUI/ItemFrame.lua"]:41: in function `Create' [string "@Interface/AddOns/AtlasLoot/GUI/GUI.lua"]:1060: in function `Create' [string "@Interface/AddOns/AtlasLoot/GUI/GUI.lua"]:711: in function `func' [string "@Interface/AddOns/AtlasLoot/AtlasLoot.lua"]:36: in function <Interface/AddOns/AtlasLoot/AtlasLoot.lua:28> Locals: self = <table> { AddChatLink = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:58 Proto = <table> { } Init = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:48 API = <table> { } Create = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:127 GetExtraType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:785 FormatItemTableType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:790 CreateFormatTable = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:53 GetType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:768 CreateSecOnly = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:294 AddType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:737 AddExtraType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:773 AddIdentifier = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:762 } buttonName = "AtlasLoot_Button_1" button = AtlasLoot_Button_1 { 0 = <userdata> highlightBg = AtlasLoot_Button_1_highlightBg { } } (*temporary) = nil (*temporary) = AtlasLoot_Button_1_highlightBg { 0 = <userdata> } (*temporary) = "HORIZONTAL" (*temporary) = 1 (*temporary) = 1 (*temporary) = 1 (*temporary) = 0.450000 (*temporary) = 1 (*temporary) = 1 (*temporary) = 1 (*temporary) = 0 (*temporary) = "attempt to call method 'SetGradientAlpha' (a nil value)" BUTTON_COUNT = 1 CreateFrame = <function> defined =[C]:-1 Button_OnEnter = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:66 Button_OnLeave = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:78 Button_OnClick = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:90 Button_OnMouseWheel = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:103 Button_ForceSetText = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:112 Button_SetNormalTexture = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:108 pairs = <function> defined =[C]:-1 Proto = <table> { Clear = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:361 AddEnhancedDescription = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:699 SetSecType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:547 SetDifficultyID = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:576 SetExtraType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:560 SetContentTable = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:410 SetType = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:531 SetPreSet = <function> defined @Interface/AddOns/AtlasLoot/Button/Button.lua:400 }
Looks like they wrapped SetGradientAlpha functionality into SetGradient, I believe the fix for this issue is to change line 148 to:
button.highlightBg:SetGradient("HORIZONTAL", CreateColor(1, 1, 1, 0.45), CreateColor(1, 1, 1, 0))
However, I then get an error at line 235 that I can't figure out. Far as I can tell argument #3 is allowed to be nil so I don't know what it's complaining about.
8x bad argument #3 to '?' (Usage: local texture = self:CreateTexture([name, drawLayer, templateName, subLevel]))[string "=[C]"]: in function `CreateTexture'[string "@Interface/AddOns/AtlasLoot/Button/Button.lua"]:235: in function `Create'[string "@Interface/AddOns/AtlasLoot/GUI/ItemFrame.lua"]:41: in function `Create'[string "@Interface/AddOns/AtlasLoot/GUI/GUI.lua"]:1060: in function `Create'[string "@Interface/AddOns/AtlasLoot/GUI/GUI.lua"]:711: in function `func'[string "@Interface/AddOns/AtlasLoot/AtlasLoot.lua"]:36: in function <Interface/AddOns/AtlasLoot/AtlasLoot.lua:28>
Locals:(*temporary) = "bad argument #3 to '?' (Usage: local texture = self:CreateTexture([name, drawLayer, templateName, subLevel]))"
arithmandar has fixed the addon. Check wowace comments.
I can't resolve the issue with CurseForge's auto-packaging at the moment, and I don't have the permission to upload release manually probably due to my permission is not owner. So if you don't mind, you can go do WoWInterface to download the latest release.
So if you don't mind, you can go do WoWInterface to download the latest release.
You can download the updated version here: https://www.wowinterface.com/downloads/info5541-AtlasLootEnhanced.htmlYou can download the DF module here: https://www.curseforge.com/wow/addons/atlasloot_dragonflight
Fixed
To post a comment, please login or register a new account.