Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

SCrap button on vendor does nothing- the button is there but pressing it does not sell scrap

duanefalk opened this issue ยท 4 comments

commented

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

  • Addon version:
  • Server patch: [e.g. Build 8.0.1.27178]

Have you read the changelog? (please don't waste our time)
Mark if read.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour
A clear and concise description of what you expected to happen.

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.

Additional context
Add any other context about the problem here.

commented

This is one of the error I'm getting when using /console scriptErrors 1.
It does look like #171 would fix those errors.

Time: Thu Nov 17 13:17:53 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 = <table> {
 SendSignal = <function> defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:82
 Merchant = Button {
 }
 PrintMoney = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:275
 NewModule = <function> defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:68
 IterateJunk = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:98
 IsBetterEquip = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:204
 tip = ScrapTooltip {
 }
 charsets = <table> {
 }
 GuessLocation = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:215
 IsStandardQuality = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:175
 ScanLine = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:267
 Spotlight = <table> {
 }
 IsCombatItem = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:179
 Tag = "SCRAP_"
 Learning = <table> {
 }
 IsLowLevel = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:171
 DestroyJunk = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:121
 ToggleJunk = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:90
 Print = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:279
 Visualizer = ScrapVisualizer {
 }
 junk = <table> {
 }
 sets = <table> {
 }
 baseList = <table> {
 }
 GuessBagSlot = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:223
 SendMessage = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:54
 OnSettings = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:66
 UnregisterAllEvents = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
 UnregisterSignal = <function> defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:78
 IsJunk = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:84
 LoadTip = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:250
 RegisterMessage = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
 RegisterSignal = <function> defined @Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:74
 UnregisterAllMessages = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
 UnregisterMessage = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
 BelongsToSet = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:246
 IsOtherClass = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:237
 OnEnable = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:55
 Name = "Scrap"
 IsLowEquip = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:183
 IsGray = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:167
 IsFiltered = <function> defined @Interface/AddOns/Scrap/addons/main/main.lua:138
 UnregisterEvent = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
 RegisterEvent = <function> defined @Interface/AddOns/Details/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
}
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to call global 'GetContainerNumSlots' (```
commented

Same for me

commented

same for me

commented

another upvote with this error!