[Classic] Convert recipe item name to spellID
View Single Post
09-07-19, 08:21 PM
Join Date: Mar 2008
Originally Posted by
a) LibRecipes does not appear to have a version for Classic, so it's out.
b) Its API takes an ID. An ID I don't have, because the entire point of this post is me asking how do I take the TEXTUAL NAME returned by GetTradeSkillInfo and get it CONVERTED into an ID.
Well, I figured a way to get it converted to the itemID using GetTradeSkillItemLink which still exists, which I can then use my internal DB to map to the spellID, I believe. So I think I have a working solution.
Generally, I think libRecipes could work in this case IF it had a classic version, since I can get the itemID now.
View Public Profile
Send a private message to kernighan
Find More Posts by kernighan