Jaliborc / Scrap

Sells all your junk when you visit a merchant
34 stars 34 forks source link

Destroy junk requires hardware input #181

Open Noshei opened 1 year ago

Noshei commented 1 year ago

Destroying anything now requires a hardware input for each item (or stack) you want destroy. So the current destroy junk features fails after the first item with the following error:

1x [ADDON_ACTION_BLOCKED] AddOn 'Scrap' tried to call the protected function 'UNKNOWN()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: ?
[string "=[C]"]: in function `DeleteCursorItem'
[string "@Scrap/addons/merchant/button.lua"]:201: in function `Sell'
[string "@Scrap/addons/merchant/button.lua"]:60: in function `?'
[string "@AltReps/Libs/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:119: in function <...eps/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@AltReps/Libs/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:29: in function <...eps/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@AltReps/Libs/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:64: in function `SendMessage'
[string "@Scrap/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:83: in function `SendSignal'
[string "@Scrap/addons/main/main.lua"]:58: in function <Scrap/addons/main/main.lua:58>
[string "=[C]"]: ?
[string "@AltReps/Libs/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:29: in function <...eps/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@AltReps/Libs/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@AltReps/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...ceAltReps/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

This is on 10.0.2 wow and 10.0.4 scrap.

Other addons have gotten around this by using a keybind to destroy each item, though this works best without any popup's.

Jaliborc commented 1 year ago

Goddamit blizzard. Why blizzard why.