Cartas / Peddler

WoW addon that allows you to automatically sell any unwanted items, hassle-free!
http://www.wowinterface.com/downloads/info21402-Peddler.html
3 stars 4 forks source link

[Classic Era] Peddler Quest rewards #22

Open ElegantSerr opened 1 year ago

ElegantSerr commented 1 year ago

line 747 causing lua errors, the function clickedWithPeddlerCombo() does not exist in Classic Era version Peddler.lua Any workarounds (except adding it?)

Daeveren commented 11 months ago

Adding more details to this, since it's a permanent issue on Classic Era - when you select an item quest reward, Peddler throws this lua error:

Message: Interface/AddOns/Peddler/Peddler.lua:739: attempt to call global 'clickedWithPeddlerCombo' (a nil value)
Time: Sun Dec 10 13:00:45 2023
Count: 2
Stack: Interface/AddOns/Peddler/Peddler.lua:739: attempt to call global 'clickedWithPeddlerCombo' (a nil value)
[string "=[C]"]: in function `clickedWithPeddlerCombo'
[string "@Interface/AddOns/Peddler/Peddler.lua"]:739: in function <Interface/AddOns/Peddler/Peddler.lua:738>
[string "=[C]"]: ?

Locals: (*temporary) = <function> defined =[C]:-1
ElegantSerr commented 11 months ago

I simply added this function before the line(s) in question: local function clickedWithPeddlerCombo() return false end Simply return false to avoid the error but quest rewards cannot be flagged in the quest frame.

Daeveren commented 11 months ago

Thanks @ElegantSerr, no more errors now!