Questie

Questie

122M Downloads

Questie LUA ERROR when auto accepting multiple quests

Renier747 opened this issue · 8 comments

commented

Bug description

Screenshots

Questie & WoW version

commented

It does help. Thank you. It's erroring out on a Debug line that's trying to read the Quest Title. I can add a "title" check to that statement to make sure it's there before passing it to the Debug function.

commented

Message: Interface/AddOns/Questie/Modules/Auto/Privates.lua:38: attempt to concatenate local 'title' (a boolean value)
Time: Tue Mar 7 10:47:23 2023
Count: 3
Stack: Interface/AddOns/Questie/Modules/Auto/Privates.lua:38: attempt to concatenate local 'title' (a boolean value)
[string "=[C]"]: ?
[string "@Interface/AddOns/Questie/Modules/Auto/Privates.lua"]:38: in function CompleteQuestFromGossip' [string "@Interface/AddOns/Questie/Modules/Auto/QuestieAuto.lua"]:78: in function GOSSIP_SHOW'
[string "@Interface/AddOns/Questie/Modules/QuestieEventHandler.lua"]:77: in function <...rface/AddOns/Questie/Modules/QuestieEventHandler.lua:76>
[string "=[C]"]: ?
[string "@Interface/AddOns/Capping/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ing/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/Capping/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...UI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

commented

This worked fine before WOTLK had an update.

commented
commented

I just finished looking over this debug stack and I need more information. It's hitting the CompleteQuestFromGossip function so are you getting a quest or turning one in or both?

  1. Which quest is this for?
  2. Were you in combat?
  3. Is this a Rep turn in?

The error in question is freaking out because the table index isn't returning the Quest Title. No change has been made to the Blizzard API we're using to get that data. The only reason I can see why it would be wrong or why it's returning a Boolean value vs a String is if the API isn't returning the data fast enough. Macro mash? Button mash? It's happened before. Blizzard will sometimes throttle an API without telling the Addon community.

https://wowpedia.fandom.com/wiki/API_C_GossipInfo.GetActiveQuests

The first return from this API is the Quest Title in the form of a String... so shrug

commented

Hey @Dyaxler

No change has been made to the Blizzard API we're using to get that data.

This is not entirely correct. With the start of P2 of Wotlk Blizzard added the Dragonflight API which is totally new for us to use. The we QuestieCompat module used the new C_Gossip stuff and I have a feeling the API is not working correctly on Blizzards side.
I noted this somewhere else but we are definitely getting wrong values in some situations.

So adding a check for the title is fine to not crash on users, but we need to validate the root cause.

commented

Thanks, guys,

WOTLK will be lost without Questie.

commented

Merging with #4626