Skillet

Skillet

112k Downloads

Changing professions possible solution

Tarkumi opened this issue ยท 6 comments

commented

You should try to use
CastSpell(offset+1,BOOKTYPE_PROFESSION) to change professions with the buttons on the top right.
You can get the offset with the GetProfessionInfo function like you do in SkilletData.lua.

commented

Is there a problem this is a solution for?

commented

I believe this is a Blizzard bug. It occasionally fails but I have a workaround that works for me. If I open all my professions with an action button at the beginning of a session, then after that the Skillet trade buttons seem to work flawlessly.

commented

Yes, sorry.

When I try to change professions (I have Engineering and Enchanting as primary), switching to Enchanting and to Cooking with the buttons works, but when I click on Engineering I get the following error:

SkilletError

commented

The zip file below contains versions of Skillet.lua and SkilletData.lua which change the CastSpellByName to your suggested CastSpell(offset+1,BOOKTYPE_PROFESSION). Since the original version doesn't fail for me all the time, I'll need some additional testing from you. Let me know, please.

Skillet.zip

commented

Thank you, it's working perfectly.

commented

Skillet-5.00-alpha18 contains this fix.