Thread Tools Display Modes
09-11-20, 03:49 PM   #1
MuffinManKen
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 106
How to figure out if an item id is valid?

G'day!

I'm messing around with a item data extractor and a few items are tripping me up. Specifically, unimplemented recipes. For example, ID: 52497 wasn't implemented, but the various Item querying things all show that it's valid.

The only sign I have now is that the tooltip seems to never finish updating (the item it should craft stays at "Retrieving item information"). I hate to rely on that behaviour because there are delays in getting that info and I'd like something more reliable.

Any thoughts?
  Reply With Quote
09-11-20, 07:57 PM   #2
DahkCeles
A Cliff Giant
 
DahkCeles's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 73
Does this work:

https://wow.gamepedia.com/API_C_Item.DoesItemExist
  Reply With Quote
09-12-20, 12:37 PM   #3
MuffinManKen
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 106
Originally Posted by DahkCeles View Post
Sadly, it does not. Is there a way to get the item ID for the item a recipe crafts? That method should return false for that item.
  Reply With Quote
09-12-20, 02:54 PM   #4
sezz
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 158
GetItemInfoInstant maybe?
  Reply With Quote

WoWInterface » PTR » PTR General Discussion » How to figure out if an item id is valid?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off