Is GetItemCraftingInfo limited or buggy?
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: Code:
... |
I've been working on another problem with getting the item info I want out of the API, but I found that when I called GetItemCraftingInfo on each item in my backpack and simply d() printed out the results, it only returned data for actual crafting components (ore, wood, plants, runes, upgrade components, etc.). For items that were armor, weapons, jewelry, or otherwise already "put together", it would return nil and/or zeros.
|
Quote:
Hm, I should not just read the question, but other posts, too. :) Yeah, what Kaolas said. |
All times are GMT -6. The time now is 04:30 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI