Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

Scrap not working with clean game

rem8 opened this issue ยท 0 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: 10.0.3a
  • Server patch: [e.g. Build 10.0.2]

Have you read the changelog? (please don't waste our time)
YES

Describe the bug
Scrap addon on clean (no addons enabled other than Scrap) not working, producing 4 errors

To Reproduce
Steps to reproduce the behaviour:

  1. Go to vendor
  2. Click on Scrap button
  3. See error

Expected behaviour
Selling scrap

Screenshots
If applicable, add screenshots to help explain your problem.

Error Logs
Type /console scriptErrors 1 in the chat and reload the game. If an error window appears, write here the message with ID: 1 (labelled 1/X). This is generally NOT the message that the window shows by default.

Message: Interface/AddOns/Scrap/addons/merchant/learning.lua:25: hooksecurefunc(): UseContainerItem is not a function
Time: Wed Nov 23 11:47:52 2022
Count: 1
Stack: Interface/AddOns/Scrap/addons/merchant/learning.lua:25: hooksecurefunc(): UseContainerItem is not a function
[string "=[C]"]: in function hooksecurefunc' [string "@Interface/AddOns/Scrap/addons/merchant/learning.lua"]:25: in function ?'
[string "@Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua"]:20: in function <...ce/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:18>
[string "@Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua"]:56: in function <...ce/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:53>
[string "=[C]"]: ?
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...rap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function Fire' [string "@Interface/AddOns/Scrap/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...face/AddOns/Scrap/libs/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in function LoadAddOn'
[string "@Interface/AddOns/Scrap/addons/main/main.lua"]:57: in function <Interface/AddOns/Scrap/addons/main/main.lua:57>
[string "=[C]"]: ?
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...rap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface/AddOns/Scrap/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...face/AddOns/Scrap/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:

Message: Interface/AddOns/Scrap/addons/main/main.lua:99: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Wed Nov 23 11:47:52 2022
Count: 1
Stack: Interface/AddOns/Scrap/addons/main/main.lua:99: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@Interface/AddOns/Scrap/addons/main/main.lua"]:99: in function IterateJunk' [string "@Interface/AddOns/Scrap/addons/merchant/button.lua"]:239: in function AnyJunk'
[string "@Interface/AddOns/Scrap/addons/merchant/button.lua"]:143: in function UpdateState' [string "@Interface/AddOns/Scrap/addons/merchant/button.lua"]:74: in function ?'
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:119: in function <...rap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...rap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function SendMessage' [string "@Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua"]:83: in function SendSignal'
[string "@Interface/AddOns/Scrap/addons/main/main.lua"]:57: in function <Interface/AddOns/Scrap/addons/main/main.lua:57>
[string "=[C]"]: ?
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...rap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface/AddOns/Scrap/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...face/AddOns/Scrap/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:

Message: Interface/AddOns/Scrap/addons/main/spotlight.lua:54: attempt to call global 'GetContainerItemID' (a nil value)
Time: Wed Nov 23 11:47:52 2022
Count: 1
Stack: Interface/AddOns/Scrap/addons/main/spotlight.lua:54: attempt to call global 'GetContainerItemID' (a nil value)
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:54: in function UpdateButton' [string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:47: in function call'
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:73: in function IterateFrames' [string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:46: in function UpdateContainer'
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:41: in function call' [string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:73: in function IterateFrames'
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:40: in function UpdateAll' [string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:35: in function <Interface/AddOns/Scrap/addons/main/spotlight.lua:35> [string "=[C]"]: in function Update'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1133: in function ContainerFrame_GenerateFrame' [string "@Interface/FrameXML/ContainerFrame.lua"]:196: in function <Interface/FrameXML/ContainerFrame.lua:194> [string "@Interface/FrameXML/ContainerFrame.lua"]:220: in function OpenBag'
...
[string "@Interface/FrameXML/MerchantFrame.lua"]:95: in function <Interface/FrameXML/MerchantFrame.lua:93>
[string "=[C]"]: in function Show' [string "@Interface/FrameXML/UIParent.lua"]:2853: in function SetUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2696: in function ShowUIPanel' [string "@Interface/FrameXML/UIParent.lua"]:2561: in function <Interface/FrameXML/UIParent.lua:2557> [string "=[C]"]: in function SetAttribute'
[string "@Interface/FrameXML/UIParent.lua"]:3159: in function ShowUIPanel' [string "@Interface/FrameXML/MerchantFrame.lua"]:27: in function showFunc'
[string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:183: in function `ShowFrame'
[string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:215: in function <Interface/FrameXML/PlayerInteractionFrameManager.lua:212>

Locals: self =

{
SendSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:82
RegisterMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
IterateFrames = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:69
SendMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
UnregisterSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:78
NewIcon = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:95
UpdateAll = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:39
UpdateButton = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:51
RegisterEvent = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
Icons =
{
}
Glows =
{
}
NewGlow = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:83
OnEnable = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:24
UpdateContainer = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:45
RegisterSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:68
UnregisterAllEvents = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
UnregisterEvent = defined @Inte

Message: Interface/AddOns/Scrap/addons/main/spotlight.lua:54: attempt to call global 'GetContainerItemID' (a nil value)
Time: Wed Nov 23 11:47:52 2022
Count: 1
Stack: Interface/AddOns/Scrap/addons/main/spotlight.lua:54: attempt to call global 'GetContainerItemID' (a nil value)
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:54: in function UpdateButton' [string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:47: in function call'
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:73: in function IterateFrames' [string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:46: in function UpdateContainer'
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:32: in function <Interface/AddOns/Scrap/addons/main/spotlight.lua:32>
[string "=[C]"]: in function Update' [string "@Interface/FrameXML/ContainerFrame.lua"]:1133: in function ContainerFrame_GenerateFrame'
[string "@Interface/FrameXML/ContainerFrame.lua"]:206: in function <Interface/FrameXML/ContainerFrame.lua:200>
[string "@Interface/FrameXML/ContainerFrame.lua"]:222: in function OpenBag' [string "@Interface/FrameXML/ContainerFrame.lua"]:1832: in function <Interface/FrameXML/ContainerFrame.lua:1825> [string "@Interface/FrameXML/ContainerFrame.lua"]:1856: in function OpenAllBags'
[string "@Interface/FrameXML/MerchantFrame.lua"]:95: in function <Interface/FrameXML/MerchantFrame.lua:93>
[string "=[C]"]: in function Show' [string "@Interface/FrameXML/UIParent.lua"]:2853: in function SetUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2696: in function ShowUIPanel' [string "@Interface/FrameXML/UIParent.lua"]:2561: in function <Interface/FrameXML/UIParent.lua:2557> [string "=[C]"]: in function SetAttribute'
[string "@Interface/FrameXML/UIParent.lua"]:3159: in function ShowUIPanel' [string "@Interface/FrameXML/MerchantFrame.lua"]:27: in function showFunc'
[string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:183: in function `ShowFrame'
[string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:215: in function <Interface/FrameXML/PlayerInteractionFrameManager.lua:212>

Locals: self =

{
SendSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:82
RegisterMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
IterateFrames = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:69
SendMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
UnregisterSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:78
NewIcon = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:95
UpdateAll = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:39
UpdateButton = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:51
RegisterEvent = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
Icons =
{
}
Glows =
{
}
NewGlow = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:83
OnEnable = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:24
UpdateContainer = defined @Interface/AddOns/Scrap/addons/main/spotlight.lua:45
RegisterSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:68
UnregisterAllEvents = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
UnregisterEvent = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
Ta

Message: Interface/AddOns/Scrap/addons/main/main.lua:99: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Wed Nov 23 11:57:13 2022
Count: 1
Stack: Interface/AddOns/Scrap/addons/main/main.lua:99: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@Interface/AddOns/Scrap/addons/main/main.lua"]:99: in function IterateJunk' [string "@Interface/AddOns/Scrap/addons/merchant/button.lua"]:227: in function GetReport'
[string "@Interface/AddOns/Scrap/addons/merchant/button.lua"]:175: in function `UpdateTip'
[string "@Interface/AddOns/Scrap/addons/merchant/button.lua"]:130: in function <Interface/AddOns/Scrap/addons/merchant/button.lua:128>

Locals: self =

{
SendSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:82
Merchant = Button {
}
PrintMoney = defined @Interface/AddOns/Scrap/addons/main/main.lua:275
NewModule = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:68
IterateJunk = defined @Interface/AddOns/Scrap/addons/main/main.lua:98
IsBetterEquip = defined @Interface/AddOns/Scrap/addons/main/main.lua:204
tip = ScrapTooltip {
}
charsets =
{
}
GuessLocation = defined @Interface/AddOns/Scrap/addons/main/main.lua:215
IsStandardQuality = defined @Interface/AddOns/Scrap/addons/main/main.lua:175
ScanLine = defined @Interface/AddOns/Scrap/addons/main/main.lua:267
Spotlight =
{
}
IsCombatItem = defined @Interface/AddOns/Scrap/addons/main/main.lua:179
Tag = "SCRAP_"
Learning =
{
}
IsLowLevel = defined @Interface/AddOns/Scrap/addons/main/main.lua:171
DestroyJunk = defined @Interface/AddOns/Scrap/addons/main/main.lua:121
ToggleJunk = defined @Interface/AddOns/Scrap/addons/main/main.lua:90
Print = defined @Interface/AddOns/Scrap/addons/main/main.lua:279
Visualizer = ScrapVisualizer {
}
junk =
{
}
sets =
{
}
baseList =
{
}
GuessBagSlot = defined @Interface/AddOns/Scrap/addons/main/main.lua:223
SendMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
OnSettings = defined @Interface/AddOns/Scrap/addons/main/main.lua:66
UnregisterAllEvents = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
UnregisterSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:78
IsJunk = defined @Interface/AddOns/Scrap/addons/main/main.lua:84
LoadTip = defined @Interface/AddOns/Scrap/addons/main/main.lua:250
RegisterMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
RegisterSignal = defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:74
UnregisterAllMessages = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
UnregisterMessage = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
BelongsToSet = defined @Interface/AddOns/Scrap/addons/main/main.lua:246
IsOtherClass = defined @Interface/AddOns/Scrap/addons/main/main.lua:237
OnEnable = defined @Interface/AddOns/Scrap/addons/main/main.lua:55
Name = "Scrap"
IsLowEquip = defined @Interface/AddOns/Scrap/addons/main/main.lua:183
IsGray = defined @Interface/AddOns/Scrap/addons/main/main.lua:167
IsFiltered = defined @Interface/AddOns/Scrap/addons/main/main.lua:138
UnregisterEvent = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
RegisterEvent = defined @Interface/AddOns/Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
}
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to call global 'GetContainerNumSlots' (a nil value)"