Quantcast
Download
(29 MB)
Download
Updated: 10-27-16 02:58 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Legion (7.0.3)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-27-16 02:58 PM
Created:unknown
Downloads:5,418,446
Favorites:7,717
MD5:
7.1.0

LightHeaded  Popular! (More than 5000 hits)

Version: v70100-1.0.0-2016-10-26
by: Cladhaire [More]

The last date of comment parsing is now part of the addon's filename.

Includes over 166,198 comments for more than 15,560 quests


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!

Donations:
Some people have asked, so here is a way to send me donations:

commit 547b33546eb69dccb662beffda2625d74bf11b74
Author: Jim Whitehead <[email protected]>
Date: Thu Oct 27 22:39:13 2016 +0200

Update for 7.1

commit ea5dd596d578663a34044137a34b04b42ff1a4ac
Author: Jim Whitehead <[email protected]>
Date: Wed Sep 7 15:35:26 2016 +0200

Disable auto-popup on SelectQuestLogEntry

commit c3e67123f3233e8e0abd1eb74562f74b1e005209
Author: Jim Whitehead <[email protected]>
Date: Mon Sep 5 14:54:46 2016 +0200

Update TOC for 70000

commit 14d8721ebb51a801b04f4bd7229a57ec5470412e
Author: Jim Whitehead <[email protected]>
Date: Mon Sep 5 14:52:45 2016 +0200

Update for new parsing script

Thanks to lunarwtr we're able to parse again, since I didn't have time
to fix the previous parser. This required some changes to the addon, but
this should get things back up and working.

commit f4a0f7d143c67eb1768662ca73073b103e9e861d
Author: Jim Whitehead <[email protected]>
Date: Sat Jan 31 15:35:53 2015 +0100

Remove dead code

commit 61d0d2ab136d5f79be4edc62e6ae3cbc2964431c
Author: Jim Whitehead <[email protected]>
Date: Sat Jan 31 15:27:56 2015 +0100

Fix LH waypoint set integration

- We now are able to properly reverse WowHead mapFileIds to the in-game
areaIds, so waypoints should be set in the correct zone.
- We don't know how to set a waypoint in an instanced zone, so we just
put those in the current zone
- Integration with MapNotes, Cartographer and friends always set in the
current zone.

commit ce35e8b832925ec497af58a9d53c70c9d387816a
Author: Jim Whitehead <[email protected]>
Date: Sat Jan 31 10:17:44 2015 +0100

Use new API to set waypoint in current zone

Beta Files (2)
File Name
Version
Hits
Size
Author
Date
v70000-1.0.0-beta
130
27MB
Cladhaire
09-05-16 07:11 AM
v60000-0.1.0
704
22MB
Cladhaire
10-20-14 02:50 PM


Archived Files (42)
File Name
Version
Size
Author
Date
v70000-1.1.0-20
27MB
Cladhaire
09-07-16 07:39 AM
v60000-1.2.0-20
22MB
Cladhaire
12-21-14 10:28 AM
v60000-1.1.0-20
21MB
Cladhaire
12-13-14 05:13 AM
v60000-1.0.0-20
21MB
Cladhaire
10-26-14 10:37 AM
v60000-1.0.0
22MB
Cladhaire
10-14-14 02:01 PM
v50400-2014-07-
22MB
Cladhaire
07-26-14 04:14 AM
v50400-2014-01-
21MB
Cladhaire
01-05-14 12:42 PM
v50300-2013-06-
20MB
Cladhaire
06-18-13 11:35 PM
v50100-2013-03-
19MB
Cladhaire
03-24-13 01:54 PM
v50100-2013-03-
19MB
Cladhaire
03-24-13 09:59 AM
v50100-2013-02-
15MB
Cladhaire
02-18-13 02:37 PM
v50100-2012-10-
18MB
Cladhaire
11-28-12 02:22 PM
v50001-2012-10-
18MB
Cladhaire
10-10-12 11:45 PM
v50001-2012-09-
18MB
Cladhaire
09-29-12 02:39 PM
v50001-r352
17MB
Cladhaire
09-10-12 12:02 AM
v50001-r151
16MB
Cladhaire
09-09-12 02:56 AM
r344
16MB
Cladhaire
01-24-12 02:52 AM
r341
17MB
Cladhaire
07-13-11 04:46 AM
r339
15MB
Cladhaire
07-12-11 04:35 AM
r337
14MB
Cladhaire
05-13-11 10:26 AM
r333
13MB
Cladhaire
03-09-11 05:29 AM
r331
12MB
Cladhaire
02-20-11 12:00 PM
r330
12MB
Cladhaire
02-02-11 03:50 AM
r327
12MB
Cladhaire
01-13-11 11:16 AM
r326
12MB
Cladhaire
01-03-11 12:25 PM
r325
12MB
Cladhaire
01-02-11 12:22 PM
r322
11MB
Cladhaire
12-14-10 11:49 PM
r321
11MB
Cladhaire
12-08-10 10:36 AM
r320
11MB
Cladhaire
11-30-10 04:48 PM
r317
14MB
Cladhaire
11-25-10 06:07 AM
r316
14MB
Cladhaire
10-27-10 05:15 AM
r315
14MB
Cladhaire
10-13-10 11:28 AM
r310
14MB
Cladhaire
09-04-10 09:35 AM
r308
14MB
Cladhaire
09-03-10 04:53 AM
r306
13MB
Cladhaire
08-21-10 08:22 AM
r304
13MB
Cladhaire
03-29-10 05:07 AM
r303
13MB
Cladhaire
03-28-10 05:39 AM
r301
12MB
Cladhaire
12-09-09 12:19 PM
r298
12MB
Cladhaire
10-10-09 08:41 AM
r297
11MB
Cladhaire
08-09-09 07:36 PM
r295
11MB
Cladhaire
08-05-09 08:01 AM
r293
10MB
Cladhaire
06-03-09 03:08 PM


Post A Reply Comment Options
Unread 11-04-08, 07:54 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Just get rid of the string.format entirely. You can make the makecoord() function look like this:

Code:
	local function makecoord(x)
		local xi, xf = math.modf(x)
		xf = math.floor(100 * xf)
		return xi .. "." .. xf
	end
That's math.. if it fails, I may just stab myself. Let me know if this works.
__________________
"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 11-04-08, 07:41 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 960
Uploads: 24
After playing around a bit, this is what it noticed:

changing
Code:
xf = string.format("%0.2f", xf):sub(3, -1)
to
Code:
xf = string.format("%0.0f", xf):sub(3, -1)
looks like
Code:
[61., 71.]
(note: this is still un-usable by Crazy Arrow)

changing
Code:
xf = string.format("%0.2f", xf):sub(3, -1)
to
Code:
xf = string.format("%0.1f", xf):sub(3, -1)
looks like
Code:
[61.2, 71.2]
(note: it's still a DOT and works with Crazy Arrow)

For whatever reason an accuracy of 0.2f breaks the second coordinate.
I'll stick with 0.1f for now.


:

changing
Code:
return string.format("|cFF0066FF|Hlhref:coord:%s:%s:"..qid .. "|h[%s, %s]|h|r", xt, yt, xt, yt)
to
Code:
return string.format("|cFF0066FF|Hlhref:coord:%s:%s:"..qid .. "|h[%s,%s]|h|r", xt, yt, xt, yt)
looks like
Code:
[61.20,71.20]
(note: DOT is still there, but it doesn't work, needs to be ", " it seems)
Last edited by Dawn : 11-04-08 at 07:54 AM.
Report comment to moderator  
Reply With Quote
Unread 11-04-08, 03:22 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Originally posted by Dawn


This is what i get when i change the line. Just the same like without it (+ "TestCoord", ofc).

The "fix" posted previously did it for me, but i have to use r248 and the coords obvoiusly lose some accuracy because of it.

: I also disabled all other addons, wich means this can't be the reason, neither.
I didn't thikn it would be any other addons. I really.. for the life of me.. have no idea how this is happening. At least what you wrote clarifies that it's that bit of code causing the "issue".

Code:
	local function makecoord(x)
		local xi, xf = math.modf(x)
		xf = string.format("%0.2f", xf):sub(3, -1)
		return xi .. "." .. xf
	end
This function takes a number and splits it into its integer and fractional parts , in variables xi and xf. This means if you have 45.00 then it turns into xi = 45 and xf = 0. xf then uses string.format to turn the fractional part into a fractional number with 2 decimal places, i.e. 0.00. It is then cut so it only displays the last two numbers of that string, i.e. "00". Then I put it together so we have xi then a period then xf. This should clearly display 45.00.

I don't have access to a deDE client and I'm at my wit's end trying to figure out what is wrong here. If anyone can help me figure it out, I would greatly appreciate it. I can not even possibly come up with a reason why the above code would ever consider failing.
__________________
"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 11-03-08, 09:46 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 960
Uploads: 24


This is what i get when i change the line. Just the same like without it (+ "TestCoord", ofc).

The "fix" posted previously did it for me, but i have to use r248 and the coords obvoiusly lose some accuracy because of it.

: I also disabled all other addons, wich means this can't be the reason, neither.
Last edited by Dawn : 11-03-08 at 09:48 PM.
Report comment to moderator  
Reply With Quote
Unread 11-03-08, 05:33 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Originally posted by Dawn
I'm using r250 on a german client and i still get coordinates shown as [31.30, 31,33] wich still makes them unreadable for CrazyArrow.
I'm not sure how that's possible at all.. where did these coordinates show up? There is only one place in the code that makes those coordinates clickable, and this is the relevant code:

Code:
	local function makecoord(x)
		local xi, xf = math.modf(x)
		xf = string.format("%0.2f", xf):sub(3, -1)
		return xi .. "." .. xf
	end

	-- Href the coordinates
	comment = comment:gsub("(%d%d?%.?%d?%d?)%s*[, ]%s*(%d%d?%.?%d?%d?)", function(x,y)
		local xt,yt = makecoord(x), makecoord(y)
		return string.format("|cFF0066FF|Hlhref:coord:%s:%s:"..qid .. "|h[%s, %s]|h|r", xt, yt, xt, yt)
	end)
In short, I believe you but I'm REALLY unclear about how this is possible. Could you alter the line above to read the following instead:

Code:
		return string.format("|cFF0066FF|Hlhref:coord:%s:%s:"..qid .. "|h[TestCoord %s, %s]|h|r", xt, yt, xt, yt)
Then see if the coordinates in the LH frame are showing "TestCoord", i.e. [TestCoord 41.00, 45.00].
__________________
"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 11-03-08, 05:18 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 960
Uploads: 24
I'm using r250 on a german client and i still get coordinates shown as [31.30, 31,33] wich still makes them unreadable for CrazyArrow.
Report comment to moderator  
Reply With Quote
Unread 11-03-08, 01:47 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Just pushed an update that should fix most of the coordinate parsing issues that non english clients have been seeing. Also includes an estimated gold reward or xp reward. If you're level 70 (soon to be 80) it will tell you how much gold you will earn, whereas if the quest is grey and you are not max level yet, it will tell you how much you can still earn from it. Thanks to Rebligarbune for the code for this:

------------------------------------------------------------------------
r250 | Cladhaire-15704 | 2008-11-03 19:40:57 +0000 (Mon, 03 Nov 2008) | 2 lines

Updated comments parsed 3-Nov-2008

------------------------------------------------------------------------
r249 | Cladhaire-15704 | 2008-11-03 08:52:54 +0000 (Mon, 03 Nov 2008) | 3 lines

* Added a more robust conversion from decimal numbers into coordinates (xx.xx) that should work cross-locale
* Added code courtesty Rebligarbune that displays the estimated experience at your given level for a grey ques
t, and the estimated gold reward for max level characters
__________________
"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 11-03-08, 04:34 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Re: Re: Re: Re: Re: Re:

Originally posted by Kywin
So I'm reply to this post, though the real trigger was the fact that some of you have been damned inconsiderate in your demands to a resolution to your problems. Some of you obviously can't grasp the fact that authors of these mods put alot of hardwork into them, and they don't HAVE to share them with us. I swear, I will never get over the fact that this game I enjoy so much is polluted with the infantile behavior of 12 year olds.

Anyways...the "Page Flipping" bug. As far as what addon's might be causing this, unlike some here...instead of coming here and demanding someone fix it for me as though I was paying them or they had some other reason to OWE me such service, I did some experimenting of my own. Painful and arduous as it was, I discovered that there are many "character/alt" info mods that actually "page" quest log info. The culprit in my case was Armory. Armory is an inventory mod that collects lots of data for toons across an account...INCLUDING QUEST INFO. As soon as I disabled this mod, LH and TomTom worked fine (minus the clickable coordinates...which lets face it isn't it easy enough to key them anyways?). So sometimes if you're not familiar with coding, you're gonna have to do the enable/disable mod trial and error to isolate the issue. LOOK at your mods, which of any are collecting quest info? Start with those...disable them all, and then one at a time...enable them until you see the problem replicate...THEN you know which mod is the cause.

Thanks to this, and all other mod authors...I'm addicted to mods as much as I am to WoW. I wish there were such things to ease the more mundane/painful/meaningless burdens of real life! Thanks for all your time...and more importantly your patience with those who don't seem to care/understand!
In addition, there is absolutely NO need for these addons to do this. There are very specific times when the quest log changes, and these are all covered by the events provided in-game. People can understand page flipping when you pick up a new quest item, or such.. but when it does it on a timed basis.. that's just wrong.
__________________
"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 11-03-08, 04:32 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Originally posted by vanhelsing10
dont get info now on new quests sice new patch.wot am i missing?
... the addon doesn't automatically get that data, I have to run a parse on the wowhead database in order to generate it. The addon description states the last time this happened. The "new quests" have just reached critical mass, i.e. there are enough to bother so I am running a parse today and hope to have it up sometime later tonight.
__________________
"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 11-02-08, 04:59 PM  
vanhelsing10
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
dont get info now on new quests sice new patch.wot am i missing?
Report comment to moderator  
Reply With Quote
Unread 11-02-08, 12:18 PM  
Kywin
A Fallenroot Satyr
 
Kywin's Avatar

Forum posts: 29
File comments: 33
Uploads: 0
Re: Re: Re: Re: Re:

So I'm reply to this post, though the real trigger was the fact that some of you have been damned inconsiderate in your demands to a resolution to your problems. Some of you obviously can't grasp the fact that authors of these mods put alot of hardwork into them, and they don't HAVE to share them with us. I swear, I will never get over the fact that this game I enjoy so much is polluted with the infantile behavior of 12 year olds.

Anyways...the "Page Flipping" bug. As far as what addon's might be causing this, unlike some here...instead of coming here and demanding someone fix it for me as though I was paying them or they had some other reason to OWE me such service, I did some experimenting of my own. Painful and arduous as it was, I discovered that there are many "character/alt" info mods that actually "page" quest log info. The culprit in my case was Armory. Armory is an inventory mod that collects lots of data for toons across an account...INCLUDING QUEST INFO. As soon as I disabled this mod, LH and TomTom worked fine (minus the clickable coordinates...which lets face it isn't it easy enough to key them anyways?). So sometimes if you're not familiar with coding, you're gonna have to do the enable/disable mod trial and error to isolate the issue. LOOK at your mods, which of any are collecting quest info? Start with those...disable them all, and then one at a time...enable them until you see the problem replicate...THEN you know which mod is the cause.

Thanks to this, and all other mod authors...I'm addicted to mods as much as I am to WoW. I wish there were such things to ease the more mundane/painful/meaningless burdens of real life! Thanks for all your time...and more importantly your patience with those who don't seem to care/understand!

Originally posted by DocD
I have the same page flipping problem and have not figured out which addon is causing the problem yet. A work around till you figure it out is to stop the tracking and/or disable auto tracking thru the interface. As soon as nothing is being tracked, it will stop flipping. If you do figure out which one is causing it, please let the rest of us know and the author of it so it can be removed or fixed.

As stated though, it is not caused by LH for if you disable all addons but LH, the problem does goes away.
Last edited by Kywin : 11-02-08 at 12:21 PM.
Report comment to moderator  
Reply With Quote
Unread 10-30-08, 02:49 PM  
Iratrix
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Foreign clients...

Originally posted by Cladhaire
This is likely due to the string.format issue we are seeing in some foreign clients. I may have to write my own that makes it work correctly in any circumstances. I apoligize, but I only play on enUS and enGB clients so testing the behavior of string.format("%0.2f", 64.00) is difficult for me to do. I'm also not really sure why the first one works and the second one doesn't.

I'll see what I can do to fix this.
I guess you are right, I'm using the Spanish client... :-(

And in any case, thanks for the effort and answer!
Report comment to moderator  
Reply With Quote
Unread 10-30-08, 10:56 AM  
Taus
A Kobold Labourer
 
Taus's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Originally posted by Cladhaire
Yes, unfortunately this is not a "fix". Some zones absolutely need this level of accuracy and it seems silly to not provide it.
Your are absolutely right. It was my first look to a .lua source ever and my way to restore at least some of the functionality for those who have to deal with the problem - e.g. me - , but it can and should not replace a real solution.
Report comment to moderator  
Reply With Quote
Unread 10-30-08, 10:28 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4642
Uploads: 18
Originally posted by Taus
I posted a fix a few comments below. I changed LighHeaded.lua r248 line 398 to

return string.format("|cFF0066FF|Hlhref:coord:%0.0f:%0.0f:"..qid .. "|h[%.0f, %.0f]|h|r", x, y, x, y)

(all occurences of .2f changed to .0f)

That removed coordinate decimal accuracy, but also any (false) decimal separator, and therefore put the whole thing back to work.
Yes, unfortunately this is not a "fix". Some zones absolutely need this level of accuracy and it seems silly to not provide 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 10-30-08, 05:23 AM  
Taus
A Kobold Labourer
 
Taus's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Originally posted by Cladhaire
This is likely due to the string.format issue we are seeing in some foreign clients. I may have to write my own that makes it work correctly in any circumstances. I apoligize, but I only play on enUS and enGB clients so testing the behavior of string.format("%0.2f", 64.00) is difficult for me to do. I'm also not really sure why the first one works and the second one doesn't.

I'll see what I can do to fix this.
I posted a fix a few comments below. I changed LighHeaded.lua r248 line 398 to

return string.format("|cFF0066FF|Hlhref:coord:%0.0f:%0.0f:"..qid .. "|h[%.0f, %.0f]|h|r", x, y, x, y)

(all occurences of .2f changed to .0f)

That removed coordinate decimal accuracy, but also any (false) decimal separator, and therefore put the whole thing back to work.
Last edited by Taus : 10-30-08 at 05:50 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.