Skillet-Classic

Skillet-Classic

445k Downloads

Tracking MoP Cooking 'Ways of the'

Closed this issue ยท 11 comments

commented

Each Way of the xxx has its own individual skill level seperate from your primary cooking stat.

i.e.
My Cooking is 555/600
Way of the Grill is 542/600
Way of the Wok is 537/600
Way of the Pot is 535/600
Way of the Steamer is 535/600
Way of the Oven is 544/600
Way of the Brew is 555/600

Only your primary Cooking skill shows in Skillet making it impossible to know what your "Way of" skills are at.

Image
commented

This may take a while to fix. The code exists in Skillet (retail), but I don't know how much work it will be to move it to Skillet-Classic.

commented

It appears that the code to do this exists in Skillet-Classic but is commented out. Below is a zip file with the code uncommented.

I don't currently have a toon with any of these cooking recipes. Until I do, I can't debug.

Replace the file ...\Addons\Skillet-Classic\UI\MainFrame.lua with the contents of the zip file and see if it works.

MainFrame.zip

commented

Doesn't appear anything has changed, screenshot:

Image
commented

Thanks for trying. I'll keep working on leveling a toon and learning Pandaren Cuisine cooking so I can debug.

commented

Feel free to keep throwing code at me. I dabble in lua coding and fixing addons so I don't mind helping.

commented

In MainFrame.lua, add the debug line as shown below around line 1178.

    if skillIndex then
            DA.DEBUG(0,"GetTradeSkillInfo= "..DA.DUMP1(GetTradeSkillInfo(skillIndex)))
            local _, _, _, _, _, _, _, showProgressBar, currentRank, maxRank, startingRank  = GetTradeSkillInfo(skillIndex)

In chat, type /skillet debugshow and open cooking. You will get lots of output but do you get the line added above?
Type /skillet debugoff and /skillet cleardebuglog to turn debugging off. If you get output, then maybe the code is looking at the wrong parameter(s). If you don't get output, then the problem lies elsewhere, and it will be harder to find.

My toon is in Honeydew Village. I need to find a cooking trainer that will teach me at least one "Way of..." recipe. It's been years since I did this in the original "Mists of Pandaria" release, and my memory has faded.

commented

debugshow

[01:39] Skillet-Classic: SkilletShow(), currentTrade= nil
[01:39] Skillet-Classic: IsTradeSkillLinked, isLinked=false, linkedPlayer=nil, isGuild=false
[01:39] Skillet-Classic: SkilletShowWindow(), currentTrade= 2550, scanInProgress= nil
[01:39] Skillet-Classic: RescanTrade(), currentTrade= 2550, lastTrade= nil
[01:39] Skillet-Classic: ScanTrade()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: ShowTradeSkillWindow()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: ShowTradeSkillWindow complete
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: SortAndFilterRecipes(), skillListKey= Nayobear:2550:Blizzard
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: ShowReagentDetails()
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: GetTradeSkillLevels(75037, 124053)
[01:39] Skillet-Classic: compareLevels: levelsWowhead= nil
[01:39] Skillet-Classic: compareLevels: levelsByRecipe= nil
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: GetTradeSkillLevels(75037, 124053)
[01:39] Skillet-Classic: compareLevels: levelsWowhead= nil
[01:39] Skillet-Classic: compareLevels: levelsByRecipe= nil
[01:39] Skillet-Classic: GetTradeSkillLevels(75037, 124053)
[01:39] Skillet-Classic: compareLevels: levelsWowhead= nil
[01:39] Skillet-Classic: compareLevels: levelsByRecipe= nil
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: GetTradeSkillLevels(75037, 124053)
[01:39] Skillet-Classic: compareLevels: levelsWowhead= nil
[01:39] Skillet-Classic: compareLevels: levelsByRecipe= nil
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: GetTradeSkillLevels(75037, 124053)
[01:39] Skillet-Classic: compareLevels: levelsWowhead= nil
[01:39] Skillet-Classic: compareLevels: levelsByRecipe= nil
[01:39] Skillet-Classic: ShowReagentDetails()
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: ShowReagentDetails()
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: ShowReagentDetails()
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
[01:39] Skillet-Classic: ShowReagentDetails()
[01:39] Skillet-Classic: UpdateTradeSkillWindow()
[01:39] Skillet-Classic: ScanQueuedReagents()
[01:39] Skillet-Classic: DisablePauseButton()
commented

While suffering multiple deaths, my toon made it to Halfhill Market and I have learned Way of the Brew and Way of the Grill.

The numbers are wrong but the code appears to work if I can find the right index...

Image

I'll let you know when I have an alpha release for you to test.

commented

Try this one...

MainFrame.zip

commented

Skillet-Classic-2.16-alpha1 is available. Should behave the same as the MainFrame.lua I posted here, just cleaned up the debug code. Please verify that the skill numbers are correct.

commented

Yup looking good, can see all the ways showing individual skills now. Thankyou for pushing this out so quick!