We are currently investigating issues some players are having on the megaservers. We will update as new information becomes available.
We are currently investigating issues some players are having with the ESO Store and Account System. We will update as new information becomes available.
In response to the ongoing issue, the North American and European megaservers are currently unavailable while we perform maintenance.
https://forums.elderscrollsonline.com/en/discussion/comment/8235739/
In response to the ongoing issue, the ESO Store and Account System have been taken offline for maintenance.

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.