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,594,565
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


Post A Reply Comment Options
Unread 03-27-08, 07:19 AM  
myztikrice
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0
What exactly does this new version fix? The previous version of Lightheaded was working just fine, now however it takes up 20+ MB of memory and doesn't save your page # when you exit/open the quest log (if I'm looking at page 4 of comments before I close the window, when I go back it's at the starting page, very annoying and frustrating).
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 06:29 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4940
Uploads: 19
Originally posted by weresloth
The two side effects I found are:

1) When you first open the quest log you get the lorem ipsum placeholder instead of the normal page. Selecting any quest solves the issue.

2) Of course, since the modified code prevents the addon from reloading the page when the click event is fired for the same quest, you can't go back to page 1 by simply reclicking on the quest like you could before.

I wouldn't be surprised if the first side effect could be fixed failry easily since I wrote the quickfix without actually understanding the lua environment and how your addon is coded. About the second side effect, that's related to the fix so I guess it can't be removed while preventing the previous issue from reappearing.

Anyway, I agree with you that it would be better to understand why CarboniteQuest keeps forcing WoW to fire that event instead of just removing the consequences, but I doubt you have a lot of control on that, since it is ultimately originated into another AddOn.

While I have a long experience as a developer, I know nothing about WoW programming and specific lua issues so I could very well be wrong.
Indeed the first should be trivial to fix.

I just run in single page mode, I actually hate the paging system :P
__________________
"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 03-27-08, 06:26 AM  
weresloth
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
The two side effects I found are:

1) When you first open the quest log you get the lorem ipsum placeholder instead of the normal page. Selecting any quest solves the issue.

2) Of course, since the modified code prevents the addon from reloading the page when the click event is fired for the same quest, you can't go back to page 1 by simply reclicking on the quest like you could before.

I wouldn't be surprised if the first side effect could be fixed failry easily since I wrote the quickfix without actually understanding the lua environment and how your addon is coded. About the second side effect, that's related to the fix so I guess it can't be removed while preventing the previous issue from reappearing.

Anyway, I agree with you that it would be better to understand why CarboniteQuest keeps forcing WoW to fire that event instead of just removing the consequences, but I doubt you have a lot of control on that, since it is ultimately originated into another AddOn.

While I have a long experience as a developer, I know nothing about WoW programming and specific lua issues so I could very well be wrong.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 05:13 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4940
Uploads: 19
Originally posted by weresloth
Hi Cladhaire.

First off, thanks for bringing us a great addon. My life is a lot easier since I use it.

I'm experiencing the "back to page 1" issue when only CarboniteQuest 1.17 and LightHeaded r215 are enabled.
I know you can't see the carbonite source code and therefore that addon is not good for troubleshooting, but I think I have something that could interest you anyway.

Since LightHeaded was behaving like someone had clicked on the quest name again in the quest log (that brings the LightHeaded frame back on page 1), I figured for some reason the event you get when you click on the quest name was repeatedly fired. To test my idea, I modified your code as follows:

-- This stores all of the quest data
local stack = {}
local previousqid = nil --new variable declaration
local noop = function() return nil end

and:

function LightHeaded:SelectQuestLogEntry(frame, button)
local qid = self:GetCurrentQID()
if not qid then return end

if qid == previousqid then return end

previousqid = qid

-- Clear the stack
for k,v in pairs(stack) do stack[k] = nil end

if self.db.profile.singlepage then
self:UpdateFrame(qid, nil)
else
self:UpdateFrame(qid, 1)
end
end

I don't know lua language so it's probably nothing very refined, but with the modified code the issue disappears.

There are some side effects (of course) but I thought that could be useful for you to understand where the problem lies.

It this doesn't tell you anything new, sorry to have wasted your time.
You say there are side effects. Which ones are they? Yes, this should mask the issue, but I'd rather understand the other ways things are happening and I haven't been able to test any fixes, hence why I'm hesitant to push out a new version that "maybe" fixes an issue. With as many users that user LightHeaded being very adamant about updating, I prefer to be able to test things more thoroughly.

If this doesn't break anything, and fixes most of the issues I can try to push it. Anyone else care to try?
__________________
"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 03-27-08, 05:09 AM  
weresloth
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi Cladhaire.

First off, thanks for bringing us a great addon. My life is a lot easier since I use it.

I'm experiencing the "back to page 1" issue when only CarboniteQuest 1.17 and LightHeaded r215 are enabled.
I know you can't see the carbonite source code and therefore that addon is not good for troubleshooting, but I think I have something that could interest you anyway.

Since LightHeaded was behaving like someone had clicked on the quest name again in the quest log (that brings the LightHeaded frame back on page 1), I figured for some reason the event you get when you click on the quest name was repeatedly fired. To test my idea, I modified your code as follows:

-- This stores all of the quest data
local stack = {}
local previousqid = nil --new variable declaration
local noop = function() return nil end

and:

function LightHeaded:SelectQuestLogEntry(frame, button)
local qid = self:GetCurrentQID()
if not qid then return end

if qid == previousqid then return end

previousqid = qid

-- Clear the stack
for k,v in pairs(stack) do stack[k] = nil end

if self.db.profile.singlepage then
self:UpdateFrame(qid, nil)
else
self:UpdateFrame(qid, 1)
end
end

I don't know lua language so it's probably nothing very refined, but with the modified code the issue disappears.

There are some side effects (of course) but I thought that could be useful for you to understand where the problem lies.

It this doesn't tell you anything new, sorry to have wasted your time.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 04:33 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4940
Uploads: 19
Re: Re: Re: Re: Re: A coding suggestion

Originally posted by RJSmith
Fair enough - here's some more info.

I'm using bEQL r62128 and have used a number of versions of Lightheaded (applied over the last serveral hours) and currently r215-again. (it's worth noting that ALL of the versions of Lightheaded since the 2.4 update have exhibited the "flash back to page 1" behaviour)

Not using Doublewide or TOMTOM, but I am using Cartographer - r65996.

I get that you need more info to help you debug, but a few points of note:
1. I'm using ~80 addons, so en/disabling them one at a time to see which ones cause the problem with Lightheaded is no small feat. (I bet there are ppl using lots more than 80 too)
2. I'm in no way trying to 'score points' or be an ass, but who says it HAS to be a problem caused by another addon? Everything was peachy prior to the update of Lightheaded - is it not even possible that it may be an intermittent problem with Lightheaded and not due to another addon?


Simple, disable all addons except LightHeaded. Hell even download and install TomTom or DoubleWide. The problem does NOT occur.

Anyway - if you need more/further info reply here and let us all know what it is you need.

Hopefully there are enough people getting involved here that maybe just an addon list from each person would be a start in working out whats going on. It could be matched against the list of addons being used by people who are not having this problem to rule out certain suspects?
RJS.
Honestly, if you only have 80 addons actually doing the test would take less time than we've spent posting on the comments here.

Do this on another server/character so it doesn't mess with your addon settings:

1. Disable all but LightHeaded, ensure the problem doesn't occur. If it does, report back.
2. Enable the first 10 addons in the list, test.
3. Enable the next 10 addons in the list, test.
etc.

When you get it to occur, disable all but the last 10 you enabled. Test and verify its still broken

Then eliminate addons from that group of 10 to see which one might be causing the issue.

I'd do this myself, except I don't have the problem with the 40 some-odd addons I run.

Hell, run the following macro:

/script local o = SelectQuestLogEntry; function SelectQuestLogEntry(idx) ChatFrame1:AddMessage(debugstack()) return SelectQuestLogEntry(idx) end

That will print a bunch of lines to your chat frame every time the SelectQuestLogEntry function is called. It will be called when you select a new quest in teh quest log. However, it will also likely fire when it flips back to page 1. The information when that happens would be invaluable.
__________________
"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..."
Last edited by Cladhaire : 03-27-08 at 04:35 AM.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 04:28 AM  
RJSmith
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Re: Re: A coding suggestion

Originally posted by Cladhaire
No, because every single person I've asked to do basic troubleshooting has blown me off. Until I have ONE specific addon that causes the issue (When ONLY LightHeaded and that addon are enabled) I can't do anything about it. Carbonite Quest doesn't help, because I can't view the source without playing ganes.
[/b]
Fair enough - here's some more info.

I'm using bEQL r62128 and have used a number of versions of Lightheaded (applied over the last serveral hours) and currently r215-again. (it's worth noting that ALL of the versions of Lightheaded since the 2.4 update have exhibited the "flash back to page 1" behaviour)

Not using Doublewide or TOMTOM, but I am using Cartographer - r65996.

I get that you need more info to help you debug, but a few points of note:
1. I'm using ~80 addons, so en/disabling them one at a time to see which ones cause the problem with Lightheaded is no small feat. (I bet there are ppl using lots more than 80 too)
2. I'm in no way trying to 'score points' or be an ass, but who says it HAS to be a problem caused by another addon? Everything was peachy prior to the update of Lightheaded - is it not even possible that it may be an intermittent problem with Lightheaded and not due to another addon?

Anyway - if you need more/further info reply here and let us all know what it is you need.

Hopefully there are enough people getting involved here that maybe just an addon list from each person would be a start in working out whats going on. It could be matched against the list of addons being used by people who are not having this problem to rule out certain suspects?

RJS.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 01:59 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4940
Uploads: 19
Re: Re: Re: A coding suggestion

Originally posted by Scre3m
I get this error every time I click on a quest. I'm using beql and lightheaded.

Have the author update. They no longer need to call that function, LightHeaded should update just fine on its own.

Originally posted by Aethenelle
On to the real reason i came over here...

I seem to remember lightheaded having support for cartographer. at this time, 215-again, clicking locations does not result in a waypoint being properly set in cartographer. "Something" happens but it doesn't work right.

Is cartographer support to continue or am i mistaken in the way that worked?

Either way, Thanks for the wonderful mod. Keep up the good work! [/b]
Nothing changed in LightHeaded with this code. Make sure you're using the latest Cart, from wowace since ckknight refuses to update anywhere else.

Originally posted by RJSmith
Yep - I'm getting this problem as well. Are we close to a fix for it ?

Cheers,
RJS
No, because every single person I've asked to do basic troubleshooting has blown me off. Until I have ONE specific addon that causes the issue (When ONLY LightHeaded and that addon are enabled) I can't do anything about it. Carbonite Quest doesn't help, because I can't view the source without playing ganes.

Originally posted by mollie1018
OK, I saw someone brought this up yesterday or whenever, and it wasnt replied to. so please please do so.

When i open up the quest log and go to look at the comment pages, i can not go to next page. It will flash next page and go back to first. So basically, unable to see any comments on quests or get any coordinates. These things are th whole point i have this addon. Please please reply and try and fix this bug. I love this addon. Dont much know what I would do without it. lol

Talk to me
If you want me to fix the bug, do like I've asked about 15 people to do, and do some troubleshooting. I cannot fix a bug I cannot reproduce, and no one is giving me the information I need in order to do that.

Originally posted by Ericc
When viewing the quest log and pressing "Next Page" on lightheaded, then exit. When I open up the log again it goes back to page one. On the last version it stayed on whatever page I left off. Bug or am I doing something wrong? Thanks
Bug, or rather change in behavior. Please post an issue on my portal or googlecode, or via email.

Originally posted by SShadow1974
[b]I am having the EXACT same problem. I do not have Doublewide, but I do have TomTom r120 and UberQuest Reborn Again 2.4.1. My Lightheaded is whatever version is on this site, since this is the first time I've ever used it.
Why on earth did you check the TomTom version, and not the LightHeaded version. There have been over 10 version pushes in the past 24 hours. Saying you have "the same probllem" with "whatever version is on this site" is about as useless to me as can be. Please, when I ask a question, I'm not just asking it for my health.

Also, do as I've asked 15 other people now, and do some basic troubleshooting if you'd like the bug fixed. That means finding ONE addon that ISNT Carbonite Quest that causes this to happen. That means ONLY LightHeaded and the other addon enabled. Anythign else is pretty much useless to us.

Originally posted by azonia
Received an error:

Code:
LightHeaded-215\LightHeaded.lua:70: bad argument #2 to 'format' (string expected, got nil)
LightHeaded-215\LightHeaded.lua:70: in function `GetQuestName'
LightHeaded-215\LightHeaded.lua:394: in function `UpdateFrame'
LightHeaded-215\LightHeaded.lua:920: in function <Interface\AddOns\LightHeaded\LightHeaded.lua:917>
When doing the alt+click on an item that may not have appeared on this server yet. The gem rewards for "Hard to Kill" Magister's Terrace.
Thanks, new variation on an old bug.. was trying to hunt it down. Appreciate it.

Originally posted by RJSmith
As I mentioned before I am using Lightheaded and I have the "flash back to page 1" problem. At first when I log in, I CAN get to the other pages of the quest info, but if I click around on a few different quests in the log, eventually (within a minute or so) the bugged behaviour starts.

I am not using Doublewide, or any other quest log mods except for bEQL.

I've been using bEQL and Lightheaded for ages without a problem until updating to the new version of Lightheaded for 2.4

Please please fix this - I love this addon and really don't want to lose the use of it.

Cheers,
RJS
Again. Do the troubleshooting. I can't do it for you. I don't care if you dont' think you're using any other mods, you need to disable everything except LightHeaded and the mod that causes the issue. Then I can download it, and find out what the hell is going on.

Originally posted by Justgiz
I dont like the new Memory Usage of this mod. heres a screen shot showing what i mean

I liked having the older file set up, turning on a block of data for that level bracket.
Yes, I'm aware. Did you not read the addon description or the forum post where I explicitly explain exactly why this is this way? If you don't like it, revert to a prior version. If you want accurate up-to-date quest information for every quest in the game while I work through the 2.4 issues that are coming up, then use this version.

You wont' have to wait long, but you'll need to wait a week in order to get a LoD version. Alternatively, hack it in yourself. LightHeaded has an enormous database, its going to use memory. Even when I do put LOD back in, you won't be able to disable anything reliably, since it'll be bracketed by QID rather than level and faction.

Originally posted by spiritwulf
I hope they do Clad. I love lightheaded but no way im going back to the garbage blizz quest log or even doublewide. The loss of features gained from nquest, Qfu or just about any of the other quest mods does not make up for it imo. For the meantime lightheaded stays in my addons folder and remains disabled while i cross my fingers and hope the quest mod authors get this resolved.
Write a small adapter between the two *shrug*. The updates are easy. If anyone needs to know exactly what to change, let me know. The basic gist of it is that all functions that previously took <title, level> now take <qid>. The current QID can be determined by using LightHeaded:GetCurrentQID(). That's really 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 03-27-08, 01:38 AM  
spiritwulf
A Cobalt Mageweaver
 
spiritwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 202
File comments: 10
Uploads: 3
The API changed.. LightHeaded doesn't "work" with other addons, they have to work with LightHeaded. Please contact that author and have them update.
I hope they do Clad. I love lightheaded but no way im going back to the garbage blizz quest log or even doublewide. The loss of features gained from nquest, Qfu or just about any of the other quest mods does not make up for it imo. For the meantime lightheaded stays in my addons folder and remains disabled while i cross my fingers and hope the quest mod authors get this resolved.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 01:28 AM  
Justgiz
An Aku'mai Servant

Forum posts: 30
File comments: 23
Uploads: 0
I dont like the new Memory Usage of this mod. heres a screen shot showing what i mean

I liked having the older file set up, turning on a block of data for that level bracket.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 12:58 AM  
RJSmith
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Re: Not sure what I am doing wrong

Originally posted by SShadow1974
I am having the EXACT same problem. I do not have Doublewide, but I do have TomTom r120 and UberQuest Reborn Again 2.4.1. My Lightheaded is whatever version is on this site, since this is the first time I've ever used it.


-=-=-=-=-
Quote:Originally posted by Scaleeone
Before installing this new version, I deleted all my lightheaded folders. Then I installed this new version.

I also have the latest doublewide and Tomtom installed.

Whenever I access my quest log, the lightheaded window shows up, along with the data in that window for the quest. Whenever I hit the arrow to go to the next page, it flashes the data for a second, then goes right back to first page.

Any ideas?

Thank you,
Scaleeone

Can you verify the version number from the top of the LightHeaded window? Can you verify that this bug happens when ONLY LightHeaded and DoubleWide are enabled? If not, please determine what addon is conflicting with it.
As I mentioned before I am using Lightheaded and I have the "flash back to page 1" problem. At first when I log in, I CAN get to the other pages of the quest info, but if I click around on a few different quests in the log, eventually (within a minute or so) the bugged behaviour starts.

I am not using Doublewide, or any other quest log mods except for bEQL.

I've been using bEQL and Lightheaded for ages without a problem until updating to the new version of Lightheaded for 2.4

Please please fix this - I love this addon and really don't want to lose the use of it.

Cheers,
RJS
Report comment to moderator  
Reply With Quote
Unread 03-26-08, 11:55 PM  
quicksylver
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 33
Uploads: 2
Re: Re: Re: A coding suggestion

Originally posted by Scre3m
I get this error every time I click on a quest. I'm using beql and lightheaded.

Scre3m, It's a bug with beql... You'll need to have the author change the Lightheaded function calls in the .lua file.
Report comment to moderator  
Reply With Quote
Unread 03-26-08, 11:18 PM  
azonia
A Kobold Labourer
 
azonia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 32
Uploads: 1
Received an error:

Code:
LightHeaded-215\LightHeaded.lua:70: bad argument #2 to 'format' (string expected, got nil)
LightHeaded-215\LightHeaded.lua:70: in function `GetQuestName'
LightHeaded-215\LightHeaded.lua:394: in function `UpdateFrame'
LightHeaded-215\LightHeaded.lua:920: in function <Interface\AddOns\LightHeaded\LightHeaded.lua:917>
When doing the alt+click on an item that may not have appeared on this server yet. The gem rewards for "Hard to Kill" Magister's Terrace.
Report comment to moderator  
Reply With Quote
Unread 03-26-08, 10:38 PM  
SShadow1974
A Defias Bandit

Forum posts: 2
File comments: 29
Uploads: 0
Re: Re: Not sure what I am doing wrong

I am having the EXACT same problem. I do not have Doublewide, but I do have TomTom r120 and UberQuest Reborn Again 2.4.1. My Lightheaded is whatever version is on this site, since this is the first time I've ever used it.


-=-=-=-=-
Quote:Originally posted by Scaleeone
Before installing this new version, I deleted all my lightheaded folders. Then I installed this new version.

I also have the latest doublewide and Tomtom installed.

Whenever I access my quest log, the lightheaded window shows up, along with the data in that window for the quest. Whenever I hit the arrow to go to the next page, it flashes the data for a second, then goes right back to first page.

Any ideas?

Thank you,
Scaleeone

Can you verify the version number from the top of the LightHeaded window? Can you verify that this bug happens when ONLY LightHeaded and DoubleWide are enabled? If not, please determine what addon is conflicting with it.
Report comment to moderator  
Reply With Quote
Unread 03-26-08, 10:31 PM  
Ericc
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
When viewing the quest log and pressing "Next Page" on lightheaded, then exit. When I open up the log again it goes back to page one. On the last version it stayed on whatever page I left off. Bug or am I doing something wrong? Thanks
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: