Kepi
2023-05-04 18:27
조회: 7,189
추천: 1
wow 10.1 에서 발생하는 Bagnon(10.0.16) 버그 임시 처방현재 와우 10.1 에서 아래와 같은 Bagnon 의 버그가 발생 됩니다. BagBrother/libs/ItemSearch-1.3-2/API.lua:53: attempt to index field 'args' (a nil value) [string "@BagBrother/libs/ItemSearch-1.3-2/API.lua"]:53: in function <BagBrother/libs/ItemSearch-1.3/API.lua:50> [string "@BagBrother/libs/ItemSearch-1.3-2/API.lua"]:58: in function `IsUnusable' [string "@BagBrother/addons/core/classes/item.lua"]:243: in function `UpdateBorder' [string "@BagBrother/addons/core/classes/item.lua"]:206: in function `Update' [string "@BagBrother/addons/core/classes/item.lua"]:134: in function <...rfaceBagBrother/addons/core/classes/item.lua:129> [string "=[C]"]: in function `Show' [string "@BagBrother/addons/core/api/frames.lua"]:85: in function <BagBrother/addons/core/api/frames.lua:80> [string "=(tail call)"]: ? [string "@BagBrother/addons/core/features/autoDisplay.lua"]:83: in function `OpenAllBags' [string "@FrameXML/MailFrame.lua"]:63: in function `showFunc' [string "@FrameXML/PlayerInteractionFrameManager.lua"]:183: in function <FrameXML/PlayerInteractionFrameManager.lua:172> [string "=(tail call)"]: ? [string "@FrameXML/PlayerInteractionFrameManager.lua"]:215: in function <FrameXML/PlayerInteractionFrameManager.lua:212> [string "=[C]"]: in function `TurnOrActionStop' [string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1> Locals: lines = <table> { 1 = <table> { } 2 = <table> { } 3 = <table> { } 4 = <table> { } 5 = <table> { } 6 = <table> { } 7 = <table> { } } (for index) = 6 (for limit) = 5 (for step) = -1 i = 6 (*temporary) = nil (*temporary) = <table> { leftText = "" maxPrice = -1 수정법 wow설치폴더_retail_InterfaceAddOnsBagBrotherlibsItemSearch-1.3API.lua 라는 파일을 텍스트애디터(노트패드 같은)로 열어서 function Lib:IsUnusable(id) if Unfit:IsItemUnusable(id) then return true elseif Lib.Unusable[id] == nil and IsEquippableItem(id) then Lib.Unusable[id] = (function() local lines = C.TooltipInfo.GetItemByID(id).lines for i = #lines-1, 5, -1 do local class = lines[i].args[2].stringVal:match(L.CLASS_REQUIREMENT) if class then return not class:find(L.PLAYER_CLASS) end end end)() or false end return Lib.Unusable[id] end 이 부분을 function Lib:IsUnusable(id) if Unfit:IsItemUnusable(id) then return true elseif Lib.Unusable[id] == nil and IsEquippableItem(id) then Lib.Unusable[id] = (function() local lines = C.TooltipInfo.GetItemByID(id).lines for i = #lines-1, 5, -1 do if lines[i].args ~= nil then -- add this check local class = lines[i].args[2].stringVal:match(L.CLASS_REQUIREMENT) if class then return not class:find(L.PLAYER_CLASS) end end end end)() or false end return Lib.Unusable[id] end 출처: https://github.com/Jaliborc/Bagnon/issues/1661#issuecomment-1533389826 해당 게시판에 가보면 https://github.com/Jaliborc/Bagnon/issues/1660#issuecomment-1533354338 과 같은 해결법도 있으나 전 해결되지 않았었습니다. |
인벤 공식 앱
댓글 알람 기능 장착! 최신 게임뉴스를 한 눈에 보자