You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
93x ItemRack/ItemRack.lua:34: bad argument #1 to 'IsInventorySlotEngravable' (outside of expected range 0 to 4294967295 - Usage: local result = C_Engraving.IsInventorySlotEngravable(containerIndex, slotIndex))
[string "=[C]"]: in function IsInventorySlotEngravable' [string "@ItemRack/ItemRack.lua"]:34: in function AppendRuneID'
[string "@ItemRack/ItemRack.lua"]:700: in function getid' [string "@ItemRack/ItemRack.lua"]:813: in function FindInBank'
[string "@ItemRack/ItemRack.lua"]:2177: in function MissingItems' [string "@ItemRack/ItemRack.lua"]:1255: in function BuildMenu'
[string "@ItemRack/ItemRack.lua"]:1917: in function `OnClick'
The text was updated successfully, but these errors were encountered:
Did further research and found arkayenro/arkinventory#2019. I am not sure this is the correct fix, but I changed line 36 of ItemRack.lua to return C_Engraving and blizzard_id ~= nil and C_Engraving.IsEngravingEnabled() and it seems to work.
That just makes the addon think it's running in Era instead of Season of Discovery. A more appropriate fix would be to add a line in ItemRack.AppendRuneID to check for bad parameters.
Add a new line after line 41, and paste in: if bag < 0 then return "" end
So it should look like this starting at line 41:
function ItemRack.AppendRuneID(bag, slot)
if bag < 0 then return "" end
if slot then
Hello, as title says.
Exporting from bugsack
93x ItemRack/ItemRack.lua:34: bad argument #1 to 'IsInventorySlotEngravable' (outside of expected range 0 to 4294967295 - Usage: local result = C_Engraving.IsInventorySlotEngravable(containerIndex, slotIndex))
[string "=[C]"]: in function
IsInventorySlotEngravable' [string "@ItemRack/ItemRack.lua"]:34: in function
AppendRuneID'[string "@ItemRack/ItemRack.lua"]:700: in function
getid' [string "@ItemRack/ItemRack.lua"]:813: in function
FindInBank'[string "@ItemRack/ItemRack.lua"]:2177: in function
MissingItems' [string "@ItemRack/ItemRack.lua"]:1255: in function
BuildMenu'[string "@ItemRack/ItemRack.lua"]:1917: in function `OnClick'
The text was updated successfully, but these errors were encountered: