ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [outdated] GetItemCraftingInfo bad return 0 values (https://www.esoui.com/forums/showthread.php?t=7631)

AssemblerManiac 02/16/18 02:19 PM

[outdated] GetItemCraftingInfo bad return 0 values
 
Pretty sure there's a problem with this function

GetItemCraftingInfo(BAG_VIRTUAL, 75365) -- Alkahest, returns 4, 58, 8, 50, 150
GetItemCraftingInfo(BAG_VIRTUAL, 82000) -- Amber Marble, returns 0, 0, nil, nil, nil

Problem occurs on any style, armor trait or weapon trait mat

Doesn't seem to matter if item is in BAG_VIRTUAL or someplace else.

I'm pretty sure this used to return a real value of some type. Inventory Insight was using the values for a way to tell if an ItemKey could be just the ID or needed to be the full link.

Is it an issue because those three mat types can be used in Light/Med or Heavy armor, Wood or Metal weapons? and Wood Shields? (so there isn't a single category they fall into)

Dolgubon 02/16/18 03:21 PM

How about using the function CanItemLinkBeVirtual or CanItemBeVirtual? Since the craft bag slots are itemIds, for any item which can be virtual, it can also be represented as just an itemId.

AssemblerManiac 02/17/18 01:05 AM

Quote:

Originally Posted by Dolgubon (Post 33950)
How about using the function CanItemLinkBeVirtual or CanItemBeVirtual? Since the craft bag slots are itemIds, for any item which can be virtual, it can also be represented as just an itemId.

This will greatly simplify some of our compare functions.

Thanks. Didn't know that type of function existed.


All times are GMT -6. The time now is 03:48 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI