Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

You can not buy back items if 'intelligent learning' is activated

erendur81 opened this issue ยท 1 comments

commented
  • Addon version: 10.0.5
  • Server patch: 10.0.2

Describe the bug
I am not able to buy by error sold items back if intelligent learning is activated.
No error

Steps to reproduce the behaviour:

  1. Activate intelligent learning in the settings of the addon
  2. Sell an item to a vendor
  3. Try to buy it back from the vendor

Expected behaviour
I should be able to buy my items back

Error Logs
56x Scrap/addons/merchant/learning.lua:59: attempt to index global 'Charsets' (a nil value)
[string "@Scrap/addons/merchant/learning.lua"]:59: in function OnItemRefund' [string "@Scrap/addons/merchant/learning.lua"]:35: in function BuybackItem'
[string "*MerchantFrame.xml:393_OnClick"]:1: in function <[string "*MerchantFrame.xml:393_OnClick"]:1>

Locals:
self =

{
SendSignal = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:82
RegisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
SendMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
UnregisterSignal = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:78
GetDecay = defined @Scrap/addons/merchant/learning.lua:79
RegisterEvent = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
IsActive = defined @Scrap/addons/merchant/learning.lua:75
OnItemSold = defined @Scrap/addons/merchant/learning.lua:41
OnEnable = defined @Scrap/addons/merchant/learning.lua:25
UnregisterAllEvents = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
OnItemRefund = defined @Scrap/addons/merchant/learning.lua:56
RegisterSignal = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:68

commented

๐Ÿ‘๐Ÿป