p3lim-wow / QuickQuest

Quest automation wizardry
Other
12 stars 7 forks source link

addon not working as intented #59

Closed matton300 closed 1 year ago

matton300 commented 1 year ago

Describe the bug trying to quick quest a npc with 2 quests and it does nothing

getting this error

10x Interface/AddOns/QuickQuest/Utils.lua:71: attempt to call global 'GetNumTrackingTypes' (a nil value) [string "@Interface/AddOns/QuickQuest/Utils.lua"]:71: in function ShouldAcceptTrivialQuests' [string "@Interface/AddOns/QuickQuest/Addon.lua"]:144: in functionfunc' [string "@Interface/AddOns/QuickQuest/Utils.lua"]:52: in function `Trigger' [string "@Interface/AddOns/QuickQuest/Utils.lua"]:6: in function <Interface/AddOns/QuickQuest/Utils.lua:5>

Locals: (temporary) = 1 (temporary) = nil (*temporary) = "attempt to call global 'GetNumTrackingTypes' (a nil value)"

another

2x Interface/AddOns/QuickQuest/config/Options.lua:83: attempt to index global 'InterfaceOptionsFrameAddOns' (a nil value) [string "@Interface/AddOns/QuickQuest/config/Options.lua"]:83: in main chunk

Locals: addonName = "QuickQuest" ns =

{ CreateButtonPool = defined @Interface/AddOns/QuickQuest/config/ButtonPoolMixin.lua:133 L =
{ } GetNPCID = defined @Interface/AddOns/QuickQuest/Utils.lua:63 ShouldAcceptTrivialQuests = defined @Interface/AddOns/QuickQuest/Utils.lua:70 EventHandler = Frame { } tLength = defined @Interface/AddOns/QuickQuest/Utils.lua:79 } L =
{ } CreateOptions = defined @Interface/AddOns/QuickQuest/config/Options.lua:4 (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index global 'InterfaceOptionsFrameAddOns' (a nil value)"

matton300 commented 1 year ago

hi, when i have 2 quests to turn in, the addon doesn't auto complete it

p3lim commented 1 year ago

Which quests?

matton300 commented 1 year ago
p3lim commented 1 year ago

I'll assume you're level 60. Those are trivial quests, you'll need to track trivial quests to accept/complete them. I might change this logic to only prevent picking up trivial quests but allow delivery.