b-morgan / Skillet-Classic

World of Warcraft Classic addon
GNU General Public License v3.0
6 stars 6 forks source link

AtlasLoot causing error in Skillet:SkillButton_OnEnter #174

Closed Jockulation closed 5 months ago

Jockulation commented 5 months ago

Addon Version: 1.91 Cata Game Version: 4.4.0

I get this error whenever mousing over an item in the AtlasLoot "Crafting" section.

376x Usage: local count = C_Item.GetItemCount(itemInfo [, includeBank, includeUses, includeReagentBank]) [string "=[C]"]: in function GetItemCount' [string "@Skillet-Classic/UI/MainFrame.lua"]:1529: in functionSkillButton_OnEnter'

Locals: (*temporary) = "Usage: local count = C_Item.GetItemCount(itemInfo [, includeBank, includeUses, includeReagentBank])"

b-morgan commented 5 months ago

I'm not sure how Skillet-Classic is being referenced in AtlasLoot but AtlasLoot has not been updated for Cataclysm Classic. In any case, I can't reproduce this error. Can you please describe the steps you take to get this error to occur. Add some screenshots if that will help.

Do you have the Skillet-Classic frame and the AtlasLoot frame open at the same time?

Until I understand how Skillet-Classic is involved, I can't generate a proper fix. Replacing ...\Interface\Addons\Skillet-Classic\UI\MainFrame.lua with the one in the following .zip file will eliminate the error but I have no idea if any information displayed is accurate.

MainFrame.zip

Jockulation commented 5 months ago

I did a bit more testing. It would seem, with just AtlasLootClassic_Cata, BugSack, BugGrabber and Skillet enabled there were zero issues.

The moment I enable ShestakUI with the above addons, it starts spitting out the error whenever I mouse over something in Atlasloot.

b-morgan commented 5 months ago

I'm afraid this issue is out of my control.

With ShestakUI, AtlasLootClassic_Cata, BugSack, BugGrabber, and NO Skillet-Classic I get the error.