alaTradeSkill

alaTradeSkill

453k Downloads

Errors in Classic Era (hardcore servers)

Zyin055 opened this issue ยท 7 comments

commented

Using the latest version labled for Classic Era (304r.220906) causes this to happen:

Clipboard01

The above error happens once per second:

66x alaTradeSkill/ui.lua:501: attempt to index field 'HaveMaterialsCheck' (a nil value)
[string "@alaTradeSkill/ui.lua"]:501: in function `UpdateFrame'
[string "@alaTradeSkill/ui.lua"]:2537: in function <alaTradeSkill/ui.lua:2536>
[string "@alaTradeSkill/main.lua"]:166: in function <alaTradeSkill/main.lua:165>

Locals:
frame = Frame {
 T_MonitoredEvents = <table> {
 }
 Widget_AnchorTop = TradeSkillFrameCloseButton {
 }
 F_GetRecipeReagentID = <function> defined @alaTradeSkill/ui.lua:3562
 F_GetRecipeNumMade = <function> defined =[C]:-1
 update = true
 T_DisabledFuncName = <table> {
 }
 T_SkillListButtons = <table> {
 }
 flag = 7
 F_CloseSkill = <function> defined =[C]:-1
 F_GetRecipeDesc = <function> defined @alaTradeSkill/ui.lua:3554
 HookedFrame = TradeSkillFrame {
 }
 F_GetRecipeNumAvailable = <function> defined =[C]:-1
 F_GetRecipeCooldown = <function> defined =[C]:-1
 PortraitButton = Button {
 }
 F_ToggleOnSkill = <function> defined @alaTradeSkill/main.lua:184
 F_GetRecipeInfo = <function> defined =[C]:-1
 F_BlzStyle = <function> defined @alaTradeSkill/ui.lua:2224
 F_WithDisabledFrame = <function> defined @alaTradeSkill/ui.lua:3573
 F_SetSelection = <function> defined @Interface_VanillaBlizzard_TradeSkillUI/Blizzard_TradeSkillUI.lua:185
 HookedDetailBar = TradeSkillDetailScrollFrameScrollBar {
 }
 TabFrame = Frame {
 }
 prev_var_update_time = 1753246.276000
 PortraitBorder = Texture {
 }
 HookedScrollFrame = TradeSkillListScrollFrame {
 }
 F_LayoutOnShow = <function> defined @alaTradeSkill/ui.lua:2773
 F_GetRecipeItemLink = <function> defined =[C]:-1
 T_ReagentButtons = <table> {
 }
 F_GetSkillInfo = <function> defined =[C]:-1
 F_Update = <function> defined @alaTradeSkill/ui.lua:2536
 HookedDetailChild = TradeSkillDetailScrollChildFrame {
 }
 TextureLineMiddle = Texture {
 }
 TextureBackground = Frame {
 }
 T_FunctionName = <table> {
 }
 F_GetRecipeIcon = <function> defined =[C]:-1
 ScrollFrame = ScrollFrame {
 }
 F_GetRecipeReagentLink = <function> defined =[C]:-1
 Widget_PositionSkippedByInfoInFrame = TradeSkillReagentLabel {
 }
 list = <table> {
 }
 ToggleButton = Button {
 }
 T_HookedFrameWidgets = <table> {
 }
 F_HookedFrameUpdate = <function> defined @Interface_VanillaBlizzard_TradeSkillUI/Blizzard_TradeSkillUI.lua:79
 T_StyleLayout = <table> {
 }
 F_GetSkillName = <function> defined =[C]:-1
 HookedScrollBar = TradeSkillListScrollFrameScrollBar {
 }
 F_FixSkillList = <function> defined @alaTradeSkill/ui.lua:2460
 HookedDetailFrame = TradeSkillDetailScrollFrame {
 }
 F_GetSelection = <function> defined =[C]:-1
 F_ClearFilter = <function> defined @alaTradeSkill/ui.lua:3522
 HookedPortrait = TradeSkillFramePortrait {
 }
 T_DisabledFunc = <table> {
 }
 Widget_AnchorLeftOfTabFrame = TradeSkillRankFrameBorder {
 }
 F_GetRecipeReagentInfo = <function> defined =[C]:-1
 TextureLineBottom = Texture {
 }
 F_Expand = <function> defined @alaTradeSkill/ui.lua:2188
 0 = <userdata>
 F_GetRecipeTools = <function> defined =[C]:-1
 F_GetRecipeNumReagents = <function> defined =[C]:-1
 HookedRankFrame = TradeSkillRankFrame {
 }
 TextureLineTop = Texture {
 }
 F_GetRecipeItemID = <function> defined @alaTradeSkill/ui.lua:3551
 F_DoTradeCraft = <function> defined =[C]:-1
}
NotInspecting = true
skillName = "Mining"
cur_rank = 124
max_rank = 150
pid = 7
set = <table> {
 update = true
 filterClass = true
 searchText = ""
 showItemInsteadOfSpell = false
 costOnly = false
 haveMaterials = false
 filterSpec = true
 showProfit = false
 showKnown = true
 showUnkown = true
 showRank = true
 phase = 6
 showSet = false
 showHighRank = false
 searchNameOnly = false
 shown = true
}
var = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 max_rank = 150
 update = true
 cur_rank = 124
}
update_var = true
update_list = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = -51
(*temporary) = -24
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to

Using the WotLK version (304r.230528) in Classic Era makes the tradeskill frame work as expected, but right clicking items in your bags causes an error and the item not to be used:

7x [ADDON_ACTION_FORBIDDEN] AddOn 'alaTradeSkill' tried to call the protected function 'UNKNOWN()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: ?
[string "=[C]"]: in function `UseContainerItem'
[string "@FrameXML/ContainerFrame_Shared.lua"]:1273: in function <FrameXML/ContainerFrame_Shared.lua:1233>
[string "=[C]"]: in function `ContainerFrameItemButton_OnClick'
[string "*ContainerFrame.xml:165_OnClick"]:13: in function <[string "*ContainerFrame.xml:165_OnClick"]:1>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}

I did a small amount of research and it may be an issue on Blizzard's end with tainting with UseContainerItem(). Google shows that Bagnon had a similar problem so you may be able to look at what they did for a solution around Dec 12 2022: Jaliborc/Bagnon#1579

commented

Same error here. This addon is amazing! I hope we get some fix soon.

commented

I tried the version for Classic Era (114r.231025, v1.14.4) that was released today on the hardcore servers and it doesn't work at all.

commented

Where did you get this version? There are no updates in this repo for a long time.

commented

I got it on CurseForge:

screenshot

commented

It's missing Data and Locale folders. Get it from github and g2g.

commented

I think the files 231027 should work properly. I hop so :P

commented

Confirmed that 114r.231027 works with Classic Era hardcore. I can now use items from my bags by right clicking them.