GetNumQuestLogEntries() gone? - WoWInterface
Thread Tools Display Modes
08-02-20, 10:23 AM   #1
A Murloc Raider
Join Date: Jun 2012
Posts: 7
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?
  Reply With Quote
08-02-20, 10:57 AM   #2
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 158
did you try C_QuestLog.GetNumQuestLogEntries() ?
  Reply With Quote
08-02-20, 11:18 AM   #3
A Murloc Raider
Join Date: Jun 2012
Posts: 7
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?

Last edited by Ehnoah : 08-02-20 at 11:22 AM.
  Reply With Quote
08-02-20, 01:57 PM   #4
A Pyroguard Emberseer
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,706
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: https://www.townlong-yak.com/framexm...IDocumentation

Last edited by p3lim : 08-02-20 at 02:51 PM.
  Reply With Quote
10-24-20, 06:52 PM   #5
A Defias Bandit
Dools1337's Avatar
Join Date: Jan 2017
Posts: 2
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
  Reply With Quote

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off