Download
(49MB)
Download
Updated: 12-25-22 01:22 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Shadowlands patch (9.0.2)
Visions of N'Zoth (8.3.0)
Updated:12-25-22 01:22 PM
Created:unknown
Downloads:5,593,276
Favorites:7,690
MD5:

LightHeaded  Popular! (More than 5000 hits)

Version: v100002-1.0.0-2022-12-15
by: Cladhaire [More]

Classic not updated at the moment, only retail.


LightHeaded is a very simple addon that displays quest information and comments from http://www.wowhead.com in game, eliminating the need to Alt-Tab when you get stuck on quest. This addon was inspired by qcomments and wowhead_quests, which both serve a similar purpose. Data is only loaded when you first request it, so you can be sure you're not using more memory than you need to.

I HIGHLY suggest using this addon with TomTom, another one of my addons (http://www.wowinterface.com/download...32-TomTom.html ). This allows you to simply click any coordinate in LightHeaded to add it to your map as a waypoint.

The following slash commands are valid:
  • /lh attach - Attaches the frame to the quest log
  • /lh detach - Detaches the frame, allows you to resize and move it
  • /lh sound - Toggles the open/close sound
  • /lh page - Toggles showing all comments on one page, or with multiple pages
  • /lh bgalpha <0.0-1.0> - Changes the alpha of the LH window background textures, so you can see the world.
  • /lh debug - Enables or disabled debug messages when loading quest databases
  • /lh config - Opens the LightHeaded configuration window
  • /lh autodetails - Toggle automatic opening of the Lightheaded window when clicking a quest in the objective tracker

LightHeaded now includes the English descriptions and introductory text for most of the quests in the game. This is disabled by default, but can be enabled for those players that are not playing in their native locale.

LightHeaded supports sending coordinates to TomTom, MapNotes, Cartographer2 and Cartographer3.

IMPORTANT: Addon authors that wish to use this API and data should
include the wowhead logo in the frame that displays this information.
They are kind enough to let me continue parsing their database, and we
owe them at least that much. Thank you.

Thanks for using my addons!

Updated 2022-12-15 for retail.
Beta Files (7)
File Name
Version
Hits
Size
Author
Date
v30401-1.1.0-2022-12-15
0
32MB
Cladhaire
02-04-23 03:41 AM
v11302-1.0.0-2020-05-01
591
10MB
Cladhaire
05-05-20 11:47 AM
v11302-1.1.0
1,322
10MB
Cladhaire
10-04-19 11:26 AM
v11302-1.0.0
1,464
10MB
Cladhaire
09-05-19 12:16 AM
v70100-1.1.0-2016-12-29
299
30MB
Cladhaire
01-12-17 02:27 PM
v70000-1.0.0-beta
307
27MB
Cladhaire
09-05-16 07:11 AM
v60000-0.1.0
1,012
22MB
Cladhaire
10-20-14 02:50 PM


Archived Files (1)
File Name
Version
Size
Author
Date
v90200-1.0.0-2020-12-09
42MB
Cladhaire
01-03-21 09:37 AM


Post A Reply Comment Options
Unread 12-12-20, 03:17 AM  
lloska
A Kobold Labourer
 
lloska's Avatar

Forum posts: 0
File comments: 37
Uploads: 0
Originally Posted by Thorgrimr
Originally Posted by Cladhaire
Originally Posted by soyolas
Shadowlands update anytime soon?
Not soon, but I'm working on it.
Thank you so very much! I have to say, this has made quality of life in WoW a lot easier for me, and I'm sure a lot of other people. Thank you for the work you do.

Thorgrimr
Amen
__________________
Salu2 y a portarse bien.
JOSÉ CARLOS PÉREZ CARREÑO.
Report comment to moderator  
Reply With Quote
Unread 12-11-20, 11:23 AM  
Thorgrimr
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Cladhaire
Originally Posted by soyolas
Shadowlands update anytime soon?
Not soon, but I'm working on it.
Thank you so very much! I have to say, this has made quality of life in WoW a lot easier for me, and I'm sure a lot of other people. Thank you for the work you do.

Thorgrimr
Report comment to moderator  
Reply With Quote
Unread 12-08-20, 09:55 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally Posted by soyolas
Shadowlands update anytime soon?
Not soon, but I'm working on it.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-08-20, 09:49 AM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
Shadowlands update anytime soon?
Report comment to moderator  
Reply With Quote
Unread 12-02-20, 03:42 PM  
snichols1122
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 132
Uploads: 10
Originally Posted by Cladhaire
Originally Posted by lloska
Originally Posted by snichols1122
has anyone found a way to make this addon work for shadowlands until the author puts out an update
from my part nay

This addon should not be discontinued but... give it to an another author to proper update.
LightHeaded seems to function just fine in Shadowlands, although the quests for the expansion obviously aren't included within.

What in particular isn't working for you?
i didnt realize you had to code the quests in individually you covered what it was the shadowlands quests showing blanks
Report comment to moderator  
Reply With Quote
Unread 12-02-20, 05:51 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally Posted by Gello
I'm making a fix in ClassicQuestLog to work around this, but for the issue:

In the 9.0 client on retail servers today and since the pre-patch, the following are no longer defined:

These were pretty central to the pre-9.0 quest API. (It's a testament to how well LightHeaded was written that it works at all with the above two functions are nil!)

Complicating this, the addon ClassicQuestLog was rewritten to use the new quest API so the hook it makes to ClassicQuestLog:SelectQuestIndex(index) no longer exists. (I wasn't aware LightHeaded was hooking this.) This causes the error at line 96 in LightHeaded.lua.

However, adding an empty function call and calling it with an index (ClassicQuestLog selects quests by questID now, not log index), will trigger an error on line 97 in LightHeader.lua because GetQuestLogTitle was deprecated in the 9.0 client.

So for the interim, until LightHeaded is fixed, I'm adding two functions to ClassicQuestLog:

Lua Code:
  1. -- to make it easier for outside programs to hook quests being selected
  2. function cql.log:SelectQuestID(questID)
  3.     C_QuestLog.SetSelectedQuest(questID)
  4.     cql:SetMode("detail")
  5.     -- for LightHeaded (or anything else that calls the old 1.x function that was removed)
  6.     cql:SelectQuestIndex(C_QuestLog.GetLogIndexForQuestID(questID))
  7. end
  8.  
  9. -- fix for lightheaded which hooks this deprecated function and calls deprecated GetQuestLogTitle and GetQuestLogSelection
  10. function cql:SelectQuestIndex(index)
  11.     if IsAddOnLoaded("LightHeaded") then
  12.         -- this defines GetQuestLogTitle which is replaced by C_QuestLog.GetInfo in the 9.0 client
  13.         if not GetQuestLogTitle then
  14.             GetQuestLogTitle = function(index)
  15.                 local info = C_QuestLog.GetInfo(index)
  16.                 return info.title, info.level, info.suggestedGroup, info.isHeader, info.isCollapsed, info.isComplete, info.frequency, info.questID
  17.             end
  18.         end
  19.         -- this defines GetQuestLogTitle which is replaced by C_QuestLog.GetSelectedQuest in the 9.0 client
  20.         if not GetQuestLogSelection then
  21.             GetQuestLogSelection = C_QuestLog.GetSelectedQuest
  22.         end
  23.     end
  24. end

I'm posting my updates later tonight. When LightHeaded is next updated, I recommend changing this in LightHeaded.lua:

Lua Code:
  1. hooksecurefunc(ClassicQuestLog,"SelectQuestIndex", function(cql, index)
  2.     local title, level, suggestedGroup, isHeader, isCollapsed, isComplete, frequency, questID = GetQuestLogTitle(index);
  3.     self:OpenQuestID(questID)
  4. end)

to this:
Lua Code:
  1. hooksecurefunc(ClassicQuestLog.log,"SelectQuestID", function(cql, questID)
  2.     self:OpenQuestID(questID)
  3. end)

One LightHeaded is updated, I'll remove the cql:SelectQuestIndex() above if it's no longer called.
Thanks Gello, this came at a weird time for me and slipped through my cracks. You can always reach out to me directly as well if there's something like this. I'll see what I can do.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-02-20, 05:50 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally Posted by lloska
Originally Posted by snichols1122
has anyone found a way to make this addon work for shadowlands until the author puts out an update
from my part nay

This addon should not be discontinued but... give it to an another author to proper update.
LightHeaded seems to function just fine in Shadowlands, although the quests for the expansion obviously aren't included within.

What in particular isn't working for you?
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 12-02-20, 02:07 AM  
lloska
A Kobold Labourer
 
lloska's Avatar

Forum posts: 0
File comments: 37
Uploads: 0
Originally Posted by snichols1122
has anyone found a way to make this addon work for shadowlands until the author puts out an update
from my part nay

This addon should not be discontinued but... give it to an another author to proper update.
__________________
Salu2 y a portarse bien.
JOSÉ CARLOS PÉREZ CARREÑO.
Report comment to moderator  
Reply With Quote
Unread 12-01-20, 03:54 PM  
snichols1122
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 132
Uploads: 10
has anyone found a way to make this addon work for shadowlands until the author puts out an update
Report comment to moderator  
Reply With Quote
Unread 11-18-20, 03:11 AM  
lloska
A Kobold Labourer
 
lloska's Avatar

Forum posts: 0
File comments: 37
Uploads: 0
Originally Posted by barlar
Originally Posted by Cladhaire
I'll be working on it but it will take a bit of time, I'm down and out with a cold this week and needed to prioritize the other addons that are a bit more crucial. Will get around to updating though, I promise.
We appreciate you greatly!
200%
__________________
Salu2 y a portarse bien.
JOSÉ CARLOS PÉREZ CARREÑO.
Report comment to moderator  
Reply With Quote
Unread 11-17-20, 02:10 AM  
barlar
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally Posted by Cladhaire
I'll be working on it but it will take a bit of time, I'm down and out with a cold this week and needed to prioritize the other addons that are a bit more crucial. Will get around to updating though, I promise.
We appreciate you greatly!
Report comment to moderator  
Reply With Quote
Unread 11-01-20, 08:57 AM  
Radoznali
A Deviate Faerie Dragon
 
Radoznali's Avatar

Forum posts: 11
File comments: 156
Uploads: 0
Bug

Error occured in: Global
Count: 1
Message: ..\AddOns\LightHeaded\LightHeaded.lua line 162:
attempt to call global 'GetQuestLogSelection' (a nil value)
Debug:
[string "=[C]"]: GetQuestLogSelection()
[string "@LightHeaded\LightHeaded.lua"]:162: GetCurrentQID()
[string "@LightHeaded\LightHeaded.lua"]:275: SelectQuestLogEntry()
[string "@LightHeaded\LightHeaded.lua"]:269: OpenQuestID()
[string "@LightHeaded\LightHeaded.lua"]:58:
LightHeaded\LightHeaded.lua:57
[string "=[C]"]: OnBlockHeaderClick()
[string "@Blizzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua"]:686:
...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:684
Report comment to moderator  
Reply With Quote
Unread 10-25-20, 09:13 AM  
snichols1122
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 132
Uploads: 10
LUA

24x LightHeaded\LightHeaded-v80200-1.0.0-2020-05-01.lua:162: attempt to call global 'GetQuestLogSelection' (a nil value)
[string "@LightHeaded\LightHeaded-v80200-1.0.0-2020-05-01.lua"]:162: in function `GetCurrentQID'
[string "@LightHeaded\LightHeaded-v80200-1.0.0-2020-05-01.lua"]:275: in function `SelectQuestLogEntry'
[string "@LightHeaded\LightHeaded-v80200-1.0.0-2020-05-01.lua"]:269: in function `OpenQuestID'
[string "@LightHeaded\LightHeaded-v80200-1.0.0-2020-05-01.lua"]:58: in function <LightHeaded\LightHeaded.lua:57>
[string "=[C]"]: in function `OnBlockHeaderClick'
[string "@Blizzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua"]:686: in function <...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:684>

Locals:
self = <table> {
defaults = <table> {
}
EnableDebug = <function> defined @LightHeaded\Dongle.lua:618
IterateQuestComments = <function> defined @LightHeaded\LightHeaded.lua:399
QUEST_LOG_UPDATE = <function> defined @LightHeaded\LightHeaded.lua:157
CancelTimer = <function> defined @LightHeaded\Dongle.lua:605
ChangeFontSize = <function> defined @LightHeaded\LightHeaded.lua:1705
GetQIDOffsets = <function> defined @LightHeaded\LightHeaded.lua:219
LoadNames = <function> defined @LightHeaded\LightHeaded.lua:170
OnHyperlinkEnter = <function> defined @LightHeaded\LightHeaded.lua:1108
SavePosition = <function> defined @LightHeaded\LightHeaded.lua:1611
quest_clicked = true
OnHyperlinkClick = <function> defined @LightHeaded\LightHeaded.lua:885
GetQuestName = <function> defined @LightHeaded\LightHeaded.lua:195
ScheduleTimer = <function> defined @LightHeaded\Dongle.lua:558
LockUnlockFrame = <function> defined @LightHeaded\LightHeaded.lua:1589
GetCurrentQID = <function> defined @LightHeaded\LightHeaded.lua:161
RestorePosition = <function> defined @LightHeaded\LightHeaded.lua:1629
RegisterMessage = <function> defined @LightHeaded\Dongle.lua:412
UnregisterMessage = <function> defined @LightHeaded\Dongle.lua:426
IterateNPCLocs = <function> defined @LightHeaded\LightHeaded.lua:428
db = <table> {
}
uihistory = <table> {
}
TogglePages = <function> defined @LightHeaded\LightHeaded.lua:1676
IterateModules = <function> defined @LightHeaded\Dongle.lua:316
ToggleDebug = <function> defined @LightHeaded\LightHeaded.lua:1741
SelectQuestLogEntry = <function> defined @LightHeaded\LightHeaded.lua:272
GetCoordText = <function> defined @LightHeaded\LightHeaded.lua:491
IsMessageRegistered = <function> defined @LightHeaded\Dongle.lua:467
TriggerMessage = <function> defined @LightHeaded\Dongle.lua:450
Enable = <function> defined @LightHeaded\LightHeaded.lua:31
IsEventRegistered = <function> defined @LightHeaded\Dongle.lua:396
Echo = <function> defined @LightHeaded\Dongle.lua:696
ChangeBGAlpha = <function> defined @LightHeaded\LightHeaded.lua:1712
ToggleSound = <function> defined @LightHeaded\LightHeaded.lua:1666
GetNumQuestComments = <function> defined @LightHeaded\LightHeaded.lua:370
ScheduleRepeatingTimer = <function> defined @LightHeaded\Dongle.lua:589
UpdateFrame = <function> defined @LightHeaded\LightHeaded.lua:793
PrintF = <function> defined @LightHeaded\Dongle.lua:689
SearchQuests = <function> defined @LightHeaded\LightHeaded.lua:1754
GetQIDDescription = <function> defined @LightHeaded\LightHeaded.lua:244
version = "v80200-1.0.0-2020-05-01"
GetQuestData = <function> defined @LightHeaded\LightHeaded.lua:317
InitializeSlashCommand = <function> defined @LightHeaded\Dongle.lua:1175
GetQuestComment = <function> defined @LightHeaded\LightHeaded.lua:377
bad_select = 0
Print = <function> defined @LightHeaded\Dongle.lua:682
cmd = <table> {
}
GetMapIdFromWowheadZone = <function> defined @LightHeaded\LightHeaded.lua:1810
GetPageText = <function> defined @LightHeaded\LightHeaded.lua:567
ToggleAutoDetails = <function> defined @LightHeaded\LightHeaded.lua:1694
HasModule = <function> defined @LightHeaded\Dongle.lua:298
IsTimerScheduled = <function> defined @LightHeaded\Dongle.lua:594
NewModule = <function> defined @LightHeaded\Dongle.lua:283

if you try to click on quest in quest tracker this shows up no way around it thats with no other quest addons active
Last edited by snichols1122 : 10-26-20 at 02:55 PM.
Report comment to moderator  
Reply With Quote
Unread 10-24-20, 03:51 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
I'm making a fix in ClassicQuestLog to work around this, but for the issue:

In the 9.0 client on retail servers today and since the pre-patch, the following are no longer defined:

These were pretty central to the pre-9.0 quest API. (It's a testament to how well LightHeaded was written that it works at all with the above two functions are nil!)

Complicating this, the addon ClassicQuestLog was rewritten to use the new quest API so the hook it makes to ClassicQuestLog:SelectQuestIndex(index) no longer exists. (I wasn't aware LightHeaded was hooking this.) This causes the error at line 96 in LightHeaded.lua.

However, adding an empty function call and calling it with an index (ClassicQuestLog selects quests by questID now, not log index), will trigger an error on line 97 in LightHeader.lua because GetQuestLogTitle was deprecated in the 9.0 client.

So for the interim, until LightHeaded is fixed, I'm adding two functions to ClassicQuestLog:

Lua Code:
  1. -- to make it easier for outside programs to hook quests being selected
  2. function cql.log:SelectQuestID(questID)
  3.     C_QuestLog.SetSelectedQuest(questID)
  4.     cql:SetMode("detail")
  5.     -- for LightHeaded (or anything else that calls the old 1.x function that was removed)
  6.     cql:SelectQuestIndex(C_QuestLog.GetLogIndexForQuestID(questID))
  7. end
  8.  
  9. -- fix for lightheaded which hooks this deprecated function and calls deprecated GetQuestLogTitle and GetQuestLogSelection
  10. function cql:SelectQuestIndex(index)
  11.     if IsAddOnLoaded("LightHeaded") then
  12.         -- this defines GetQuestLogTitle which is replaced by C_QuestLog.GetInfo in the 9.0 client
  13.         if not GetQuestLogTitle then
  14.             GetQuestLogTitle = function(index)
  15.                 local info = C_QuestLog.GetInfo(index)
  16.                 return info.title, info.level, info.suggestedGroup, info.isHeader, info.isCollapsed, info.isComplete, info.frequency, info.questID
  17.             end
  18.         end
  19.         -- this defines GetQuestLogTitle which is replaced by C_QuestLog.GetSelectedQuest in the 9.0 client
  20.         if not GetQuestLogSelection then
  21.             GetQuestLogSelection = C_QuestLog.GetSelectedQuest
  22.         end
  23.     end
  24. end

I'm posting my updates later tonight. When LightHeaded is next updated, I recommend changing this in LightHeaded.lua:

Lua Code:
  1. hooksecurefunc(ClassicQuestLog,"SelectQuestIndex", function(cql, index)
  2.     local title, level, suggestedGroup, isHeader, isCollapsed, isComplete, frequency, questID = GetQuestLogTitle(index);
  3.     self:OpenQuestID(questID)
  4. end)

to this:
Lua Code:
  1. hooksecurefunc(ClassicQuestLog.log,"SelectQuestID", function(cql, questID)
  2.     self:OpenQuestID(questID)
  3. end)

One LightHeaded is updated, I'll remove the cql:SelectQuestIndex() above if it's no longer called.
Report comment to moderator  
Reply With Quote
Unread 10-24-20, 12:08 PM  
tazrulezall
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
If I have Classic Quest Log disabled, Lightheaded has no problem. If I re-enable Classic Quest Log, I get the following error on login:

Code:
1x LightHeaded\LightHeaded-v80200-1.0.0-2020-05-01.lua:96: hooksecurefunc(): SelectQuestIndex is not a function
[string "@LightHeaded\Dongle.lua"]:1316: in function <LightHeaded\Dongle.lua:1308>
[string "@LightHeaded\Dongle.lua"]:1338: in function <LightHeaded\Dongle.lua:1325>
[string "=[C]"]: in function `pcall'
[string "@LightHeaded\Dongle.lua"]:246: in function <LightHeaded\Dongle.lua:245>
[string "@LightHeaded\Dongle.lua"]:336: in function <LightHeaded\Dongle.lua:327>
[string "=[C]"]: in function `LoadAddOn'
[string "@FrameXML\UIParent.lua"]:495: in function `UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:618: in function `TimeManager_LoadUI'
[string "@FrameXML\UIParent.lua"]:1373: in function <FrameXML\UIParent.lua:1258>
[string "=[C]"]: ?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: