imevul / ArkInventory_Attune

0 stars 0 forks source link

bug with affix option #1

Closed Saniok88 closed 7 months ago

Saniok88 commented 7 months ago

When i enabled it in settings, then opened bags - got that error message. In my case addon is unusable with that new affix option enabled. Im not sure, if it just me, or if that report is informative, but i just leave it here:

Message: Interface\AddOns\ArkInventory\ArkInventory.lua:5966: attempt to call field 'GetAttunedSuffix' (a nil value) Time: 04/01/24 00:11:08 Count: 2 Stack: Interface\AddOns\ArkInventory\ArkInventory.lua:5966: in function Frame_Item_Update_Attunement' Interface\AddOns\ArkInventory\ArkInventory.lua:5650: in functionFrame_Item_Update_Texture' Interface\AddOns\ArkInventory\ArkInventory.lua:5337: in function Frame_Bar_DrawItems' Interface\AddOns\ArkInventory\ArkInventory.lua:5036: in functionFrame_Container_Draw' Interface\AddOns\ArkInventory\ArkInventory.lua:4200: in function Frame_Main_Draw' Interface\AddOns\ArkInventory\ArkInventory.lua:3562: in functionFrame_Main_DrawLocation' Interface\AddOns\ArkInventory\ArkInventory.lua:3553: in function Frame_Main_Generate' Interface\AddOns\ArkInventory\ArkInventory.lua:4299: in functionFrame_Main_Show' Interface\AddOns\ArkInventory\ArkInventory.lua:4264: in function Frame_Main_Toggle' Interface\AddOns\ArkInventory\ArkInventory.lua:7739: in function <Interface\AddOns\ArkInventory\ArkInventory.lua:7732> (tail call): ? Interface\FrameXML\MainMenuBarBagButtons.lua:54: in functionBackpackButton_OnClick'

Locals: frame = ARKINV_Frame1ContainerBag4Item12 { UpdateTooltip = defined @Interface\AddOns\ArkInventory\ArkInventory.lua:6078 count = 1 0 = ARK_Data =

{ } hasItem = 1 SplitStack = defined @Interface\FrameXML\ContainerFrame.lua:617 } framename = "ARKINV_Frame1ContainerBag4Item12" obj_name = "ArkAttunementProgress" obj = ARKINV_Frame1ContainerBag4Item12ArkAttunementProgress { 0 = } i =
{ q = 3 cat = "2!2" class = "item" bag_id = 4 h = "[Defiler's Plate Greaves]" loc_id = 1 count = 1 sb = true slotid = 12 age = 28531894 new = 1 } enabled = true colorBlindMode = true showSuffix = true progressWidth = 6 progressMinHeight = 6 progressMaxHeight = 35 itemId = 20208 = "Defiler's Plate Greaves" _ = "[Defiler's Plate Greaves]" itemQuality = 3 actualSuffixId = 0 (temporary) = nil (temporary) = 20208 (*temporary) = "attempt to call field 'GetAttunedSuffix' (a nil value)"

imevul commented 7 months ago

I think what's happening is that you have an older version of SynastriaCoreLib that gets loaded, and the embedded version is ignored

imevul commented 7 months ago

I should probably start using LibStub to solve this, but in the mean time you can make sure you upgrade all addons and that any standalone or embedded corelib is version 1.0.4

imevul commented 7 months ago

Please try updating the addons now and see if you still have problems :)