Update 49 is now available for testing on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/categories/pts
Maintenance for the week of January 19:
• PC/Mac: No maintenance – January 19
• NA megaservers for patch maintenance – January 21, 4:00AM EST (9:00 UTC) - 10:00AM EST (15:00 UTC)
• EU megaservers for patch maintenance – January 21, 9:00 UTC (4:00AM EST) - 15:00 UTC (10:00AM EST)

Is GetItemCraftingInfo limited or buggy?

thifi
thifi
Soul Shriven
Hi,

I'm trying to query an item's crafting info inside an addon I'm developing and I'm getting strange results.

For a lot of items GetItemCraftingInfo returns valid values, but for a lot, the returned results are 0.

Example:
- link: [[|H2DC50E:item:45052:19:4:26844:19:4:0:0:0:0:0:0:0:0:0:4:0:0:63:0|h[maple restoration staff of shock^n]|h]]
- returned TradeSkillType = 0
- returned ItemType = 0

I found a lot of items like this in my char's inventory, sample code snippet to prove it:

local x,y = GetItemCraftingInfo(bagId, slotIdx)
local z = GetItemType(bagId, slotIdx)

if (y ~= z) then
debug(colYellow .. "Item: " .. item.itemName .. ", x: " .. x .. ", y: " .. y .. ", z: " .. z)
else
debug(colGreen .. "Item: " .. item.itemName .. ", x: " .. x .. ", y: " .. y .. ", z: " .. z)
end

Is this a bug or a limitation?
  • Cairenn
    Cairenn
    ✭✭✭
    Hi thifi,

    You will probably get help quicker if you:
    a) post in our Dev Discussions section of our forums, and/or;
    b) join us in the ui dev irc channel
    server: irc.freenode.net
    channel: #esouidev
    Cairenn
    Co-founder & Administrator
    ESOUI
  • thifi
    thifi
    Soul Shriven
    Thanks! :) Will do.
Sign In or Register to comment.