WoWInterface (
-   PTR API and Graphics Changes (
-   -   GetNumQuestLogEntries() gone? (

Ehnoah 08-02-20 10:23 AM

GetNumQuestLogEntries() gone?

so I was trying to use a Macro Ingame to quick abadon quests, I used QuestLogEntries() in my Loop, however in Shadowlands it just returns that this Function no longer exists, so I am curious, if anyone know, how it was replaced?

sezz 08-02-20 10:57 AM

did you try C_QuestLog.GetNumQuestLogEntries() ?

Ehnoah 08-02-20 11:18 AM

Oh that works, curious, so this is needed now ?

The Macro I ran before was:

/run for i=1,GetNumQuestLogEntries() do SelectQuestLogEntry(i); SetAbandonQuest(); AbandonQuest(); end

Seems SelectQuestLogEntry is also gone?

p3lim 08-02-20 01:57 PM

Eventually all of the API is moving over to namespaced C_*, they usually do larger portions of this each expansion, this time it was gossip/questlog API.

Have a look at this:

Dools1337 10-24-20 06:52 PM

If anyone is looking for the updated macro :


/run for i=1,C_QuestLog.GetNumQuestLogEntries() do C_QuestLog.SetSelectedQuest(C_QuestLog.GetInfo(i).questID); C_QuestLog.SetAbandonQuest(); C_QuestLog.AbandonQuest(); end

As referenced here :

P.S : Sorry for necro

All times are GMT -6. The time now is 11:06 PM.

vBulletin © 2022, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI