Xruptor / BagSync

BagSync tracks your characters items and displays it within tooltips.
http://www.wowinterface.com/downloads/info15351-BagSync.html
Other
32 stars 21 forks source link

LUA errors [TWW beta] #338

Closed tnwn closed 3 months ago

tnwn commented 3 months ago

LUA 1/2 (on load) Message: ...s/BagSync/libs/LibItemScout-1.0/LibItemScout-1.0.lua:480: attempt to call global 'GetItemClassInfo' (a nil value) Time: Sun Jun 9 13:39:10 2024 Count: 1 Stack: ...s/BagSync/libs/LibItemScout-1.0/LibItemScout-1.0.lua:480: attempt to call global 'GetItemClassInfo' (a nil value)

Locals:

LUA 2/2 (on hovering item in bag) Message: Interface/AddOns/BagSync/wireframe/data.lua:616: attempt to index field 'tracking' (a nil value) Time: Sun Jun 9 13:40:49 2024 Count: 10 Stack: Interface/AddOns/BagSync/wireframe/data.lua:616: attempt to index field 'tracking' (a nil value) [string "@Interface/AddOns/BagSync/wireframe/data.lua"]:616: in function GetPlayerGuildObj' [string "@Interface/AddOns/BagSync/wireframe/tooltip.lua"]:764: in functionTallyUnits' [string "@Interface/AddOns/BagSync/wireframe/tooltip.lua"]:1191: in function <Interface/AddOns/BagSync/wireframe/tooltip.lua:1166>

[string "=[C]"]: in function securecallfunction' [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56> [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77> [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107> [string "=[C]"]: in functionSetAttribute' [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135> [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238> [string "=[C]"]: in function `securecallfunction' [string "@Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:234>

[string "@Interface/AddOns/Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua"]:1532: in function OnUpdate' [string "@Interface/AddOns/Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua"]:1491: in functionOnEnter' [string "@Interface/AddOns/Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua"]:1487: in function <...s/Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:1486>

Locals: self =

{ modules =
{ } defaultModuleLibraries =
{ } __cache =
{ } name = "BagSync_Data" orderedModules =
{ } enabledState = true baseName = "BagSync" defaultModuleState = true moduleName = "Data" } player =
{ lowerKey = "alleria;khadgar" realmKey = "Alleria;Khadgar" money = 10332434612 gender = 2 race = "NightElf" name = "Elotharion" faction = "Alliance" rwsKey = "Alleria;Khadgar" class = "PRIEST" realm = "Khadgar" } (temporary) = 3 (temporary) = "GetPlayerGuild" (temporary) = nil (temporary) = nil (*temporary) = "attempt to index field 'tracking' (a nil value)" Unit =
{ modules =
{ } defaultModuleLibraries =
{ } realmKey = "Alleria;Khadgar" name = "BagSync_Unit" orderedModules =
{ } lowerKey = "alleria;khadgar" rwsKey = "Alleria;Khadgar" baseName = "BagSync" enabledState = true defaultModuleState = true moduleName = "Unit" } BSYC =
{ IsRetail = true modules =
{ } baseName = "BagSync" db =
{ } enabledState = true FakePetCode = 10000000000 aboutPanel = Frame { } IsClassic = false defaultModuleLibraries =
{ } options =
{ } IsWLK_C = false name = "BagSync" orderedModules =
{ } bgsMinimapDD = bgsMinimapDD { } blizzPanel = Frame { } timers =
{ } defaultModuleState = true timerFrame = Frame { } }

Xruptor commented 3 months ago

This one MAY be difficult for me to debug as I don't have access to the TWW beta. In addition it looks like they removed or changed how GetItemClassInfo functions.

What you can do until I can sort it out is just disable that part of the code.

Open LibItemScout-1.0.lua find

[GetItemClassInfo(Enum.ItemClass.Questitem):lower()] = ITEM_BIND_QUEST,

which is line 480 and replace it with this

--[GetItemClassInfo(Enum.ItemClass.Questitem):lower()] = ITEM_BIND_QUEST,