Edits the WorldMap title, Quests tracker title, and the minimized Objectives title with your current number of active quests next to the total quests you can have.
The numQuests.lua file contains instructions on how to disable any of the three locations.
NOTE: Emissary quests, the meta quests that give you a chest for doing four world quests, are actually regular quests that count against your 25 quest limit. However, they are hidden from your log. I have included a left click action on the world map header text that prints out a numbered list of your current quests to chat, so you can see what is being counted.
As of 7.2, Emissary quests no longer count toward your 25 quest log total, but I'll keep the header click function.
As of 8.0, the world map header text is no longer a button. Quest link dump moved to a chat command using /numquests /numquest or /numq
numQuests is only hosted on Curse and WoWInterface
If you don't want to manually edit the files (or something else breaks in the future), you can download my updated version here: https://github.com/rdw-wow/NumQuests
There is an easy fix if you are comfortable editing Lua.
Delete line 24:
local title,_,_,header,_,_,_,id,_,_,_,_,task,bounty,_,hidden=GetQuestLogTitle(i)
and replace it with the following lines:
local info = C_QuestLog.GetInfo(i)
local title = info["title"]
local header = info["isHeader"]
local id = info["questID"]
local task = info["isTask"]
local bounty = info["isBounty"]
local hidden = info["isHidden"]
In reply to dougl707:
Thanks for the help. Unfortunately this did not resolve the issue, unless I followed your instruction incorrectly.
I deleted line 24 as instructed, then added the above local code as lines 24-30.
Now I'm receiving the following error.
7x numQuests\nqcore.lua:55: attempt to call global 'GetNumQuestLogEntries' (a nil value)
[string "@numQuests\nqcore.lua"]:55: in function `?'
[string "@numQuests\nqcore.lua"]:66: in function <numQuests\nqcore.lua:66>
Locals:
(*temporary) = nil
(*temporary) = "attempt to call global 'GetNumQuestLogEntries' (a nil value)"
t = <table> {
QUEST_LOG_UPDATE = <function> defined @numQuests\nqcore.lua:54
PLAYER_REGEN_DISABLED = <function> defined @numQuests\nqcore.lua:53
PLAYER_REGEN_ENABLED = <function> defined @numQuests\nqcore.lua:53
}
InCombat = false
QuestsHeader = true
ObjectivesHeader = true
WorldMapTitle = true
In reply to Ookami313:
I've been trying to find a solution to this addon myself since the 9.0.1 update which changed the methods/API used for the questlog, which is where the original suggestion above comes in - changing from using the old GetQuestLogTitle() method to use the new C_QuestLog.GetInfo() method and then interrogating the elements, which gave me a few ideas to learn a very small amount of the WoW API and Lua syntax and found that following solution works to restore this addon's basic functionality.
A solution is very similar to the above suggestion, but expanded:
As always, back-up your nqcore.lua file, then delete lines 24-30:
and replace it with the following lines:
Then, update what should now be line 60 from:
to be:
Then, also update what should now be line 65 from:
to be:
Hope this helps.
Addon seems to no longer function and causes an error when logging on to the game after the update to 9.0.1. Not sure if numQuests is still being supported ot not, but posting the error here just in case. Thanks.
4x numQuests\nqcore.lua:49: attempt to call global 'GetNumQuestLogEntries' (a nil value)
[string "@numQuests\nqcore.lua"]:49: in function `?'
[string "@numQuests\nqcore.lua"]:60: in function <numQuests\nqcore.lua:60>
Locals:
(*temporary) = nil
(*temporary) = "attempt to call global 'GetNumQuestLogEntries' (a nil value)"
t = <table> {
QUEST_LOG_UPDATE = <function> defined @numQuests\nqcore.lua:48
PLAYER_REGEN_DISABLED = <function> defined @numQuests\nqcore.lua:47
PLAYER_REGEN_ENABLED = <function> defined @numQuests\nqcore.lua:47
}
InCombat = false
QuestsHeader = true
ObjectivesHeader = true
WorldMapTitle = true
I switched to Simple Quest Counter. It's actively maintained. https://www.curseforge.com/wow/addons/simple-quest-counter
In reply to sparesimian:
numQuests is still actively maintained. I can personally confirm it works as of two weeks ago. If you have an issue, please report it. If you don't and just want the toc updated, you can do that yourself or enable out-of-date addons.
In reply to Kanegasi:
I'm seeing the same error that tanglies reports. At the top of this page you'll see that this project hasn't been updated since Oct 5, 2018. (My mistake on Simple Quest Counter. It's not been updated since before that. It doesn't throw any errors, though.) I got lazy since BFA and turned off TOC checking (by checking Load Outdated Addons). I used to update the TOCs myself on old addons and still try to fix them myself.
In reply to sparesimian:
The error that tanglies reported was fixed the next day, I replied to them. I provide a sort of debug dump to see what quests you have to compare your count with what you have. This was in response to how Blizzard hides some quests that actually count toward your total. numQuests provides the direct count that the UI uses to prevent you from accepting a quest if the count reaches 25, which is frustrating when you see less than 25 in your log.
The error was because the title text of the world map used to actually be a button, which didn't use the left click portion. I hooked it to dump this debug list. As explained in my description, 8.0 removed this "hidden" button, which causes the error you have. The button hook code was removed and the debug list was put into a chat command.
It is impossible for you to have this error if you have numQuests' most recent version. I do have a local version I haven't got around to uploading that explains in the debug dump that "Azerite for the Alliance/Horde" is listed in quests that do count, but according to the API data, it's supposed to count but it doesn't.
Seems to still be functional in 8.0, but giving the following error:
4x numQuests\nqcore.lua:20: attempt to index global 'WorldMapTitleButton' (a nil value)
numQuests\nqcore.lua:20: in function `?'
numQuests\nqcore.lua:58: in function <numQuests\nqcore.lua:58>
Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'WorldMapTitleButton' (a nil value)"
id = nil
cns = nil
ncns = nil
l = nil
In reply to penguinsane:
I'm getting something similar:
numQuests\nqcore.lua:20: attempt to index global 'WorldMapTitleButton' (a nil value)
numQuests\nqcore.lua:20: in function `?'
numQuests\nqcore.lua:58: in function <numQuests\nqcore.lua:58>
Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'WorldMapTitleButton' (a nil value)"
id = nil
cns = nil
ncns = nil
l = nil
After the 8.0 update I'm getting te following error when I log into the game.
Date: 2018-07-19 03:20:36
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\numQuests\nqcore.lua line 20:
attempt to index global 'WorldMapTitleButton' (a nil value)
Debug:
(tail call): ?
[C]: ?
numQuests\nqcore.lua:20: ?()
numQuests\nqcore.lua:58:
numQuests\nqcore.lua:58
Locals:
(*temporary) = <function> defined =[C]:-1
AddOns:
Thanks.
Seems to work fine in 7.1.5. I updated my copy of the toc to Interface 70100 to allow it to run without enabling out of date addons.
Works perfectly, this is exactly what I was looking for. Not sure why they took it out of the base game but as long as there's an addon to fix it I'm happy. Thanks!
Thank you!