LightHeaded

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.

/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.

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:

If you're using the API to retrieve comments and looked at fields other than
rating, date, username, and the body of the comment then you will find that
data is no longer available. However, the API has not changed, I just return
reasonable fake data for those results.

Parsed 23-Jan-2012
Total number of comments: 115267
Total number of quests: 9894
Comments per bucket: 23053

* Added support for AddonLoader. LightHeaded will delay loading until you open the quest log, or another addon queries LightHeaded.
* Moved NPC data and quest name data into LoD stubs to cut down on the initial hit when loading
* Updated to Dongle-1.2

* Added basic searching functionality to LightHeaded by quest name or quest id
* Clicking on a quest link while the cursor is in the search box will copy the quest id into the box and search for that specific quest

* Remove the conflict detection code from LightHeaded. Users that choose to run some of the addons that behave improperly can determine any conflicts on their own. Addons that conflict will be listed on the LightHeaded addon description until those authors resolve the issue.

* Altered the conflict detection system to be a bit more flexible. The only thing I can see tripping it currently are addons that actually misbehave, i.e. Armory
* Altered so clicking on a quest in the DEFAULT quest log actually does reset the page/scroll

* Altered the logic of the LightHeaded display frame, such that it will remember in the same session what page/scroll location you were at for any given quest. This means if you scroll to the bottom of page 3 on a specific quest, select another one and then come back you will go back to that same location.
* Added basic detection for addon conflicts (where the offending addon is causing cyclic scans of the quest log frames). These addons can severely impact the performance of your client when using LightHeaded together with them, so a warning message is displayed.

* 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 quest, and the estimated gold reward for max level characters

* Fixed a bug that caused the wrong quest to be displayed after the frame was unhidden
* Changed the behavior of the close button to close the quest log instead of the frame
* If you are using a quest log other than the default, the behavior shoudl be unchanged

* Fixed an issue where the page would flip back to 1 due to other addons
* Fixed an issue where the close button wasn't clickable
* Fixed a bug that prevented you from clicking on the quest title to go back to page 1
* Fixed a bug that could occur when loading item tooltips

* Made failure and loading messages optional. You can enable these using the /lh debug command.
* If you have a blank LightHeaded window when selecting a quest, please enable debug messages and report the errors to cladhaire.

* Removed LightHeaded:KeyToQID() since we can't provide one to one mappings
* Provide bool = LightHeaded:KeyMatchQID(title, level, qid) to determine if a given title/level combination matches the given qid

* Added a debugstack for bad level in GetBracket()
* Added title,level = LightHeaded:QIDToTitleLevel(qid), will only return a value if the quest database is loaded
* Adjusted offsets for LightHeaded:GetQuestComment() to make more sense now
* Fixed an issue with paging when in single-page mode

* Added guard to GetBracket() for string input
* Renamed the second LoadQuestData to LoadQIDData(qid)
* Added series information to quest info returns.
* Added a stack to the LHFrame
* Can now click on wowhead quest links to go to those links in LH
* Quest Series information is now displayed, and linkable

* Duplicate quest keys (i.e. Varedis Must Be Stopped @ Level 70, which has both Scryer and Aldor versions) now both show on the qinfo screen, with full information about each.
* Comments for duplicate quests are still combined, there is no technical way around this at the moment.

* Added the following comment
-- 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.

* c,z,x,y = Added LightHeaded:IterateNPCLocs(id)
* Recoded the NPC information portion of the addon to use the new function
* Altered the link handling for zcoords, so they will check for TomTom.AddZWaypoint and use it if possible.

* Added hyperlinks to NPC names, and only NPC's.
* Clicking them will bring you to the NPC coordinate page, which has no relevant information yet.
* This page contains a back button, which will take you back to the quest page

* Changed the sliding animation to be time based rather than step based, thanks to JoshBorke.
* Animation and sound should be relatively synced on all clients now, but the animation could be jaggedy under low FPS

* Added a wrapper frame so I can fade it to avoid layering issues.
* Added a frame title, showing the current revision number
* Created a SimpleHTML frame to play with, and see if we'll be able to use it.

Originally posted by Flarin I think if you have waypoints and tomtom installed there is a slight overlap- both UI mods use the /way command to set a waypoint.

It seems Cartographer, at least on my machine, would block the command from getting to TomTom - removing Cartographer-Waypoints allows the /way command to get to TomTom.

I too like the arrow but I prefer the method TomTom displays the waypoint on the minimap.

Again, next version of TomTom will do the same.

__________________
"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..."

Originally posted by Cladhaire No, it would make it simpler for you, and WoWHead would no longer allow this sort of parsing to happen. Add this addon as a favorite, and you get notified by email when its updated.

Since I've updated this addon, Cartographer has been giving me error after error. I though that I might be cratographer, so I updated it. But that wasn't the problem. So I reverted back to the version of this addon that I was using before.

Scratch t hat, it was unfortunately Cartographer. I removed and had to revert back to my old favorite, MetaMap

But i have a small problem with deDE loc, all quests with letters Ä, Ö, Ü, ä, ö, ü, ß do not work. I tried to change this letters to
-- \195\134 Ä
-- \195\150 Ö
-- \195\156 Ü
-- \195\159 ß
-- \195\164 ä
-- \195\182 ö
-- \195\188 ü
like
["Der große Knochenwurm"] = "The Big Bone Worm"
to
["Der gro\195\159e Knochenwurm"] = "The Big Bone Worm"
and it worked, but there are to many letters to change manually and i'm not a coder to help me help myself
it would be nice, if you could do something about this

Originally posted by canyon I like your addon, thx for your great work

But i have a small problem with deDE loc, all quests with letters Ä, Ö, Ü, ä, ö, ü, ß do not work. I tried to change this letters to
-- \195\134 Ä
-- \195\150 Ö
-- \195\156 Ü
-- \195\159 ß
-- \195\164 ä
-- \195\182 ö
-- \195\188 ü
like
["Der große Knochenwurm"] = "The Big Bone Worm"
to
["Der gro\195\159e Knochenwurm"] = "The Big Bone Worm"
and it worked, but there are to many letters to change manually and i'm not a coder to help me help myself
it would be nice, if you could do something about this

Thanks, this was all I really needed. Search and replace in a text editor ftw!. I'll try to push a new update out.

__________________
"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..."

Originally posted by Mercure Hi, would like know if this addons is a compatible version with the french client of WoW?

It should be at the moment with most quests. Please download and test it out.

__________________
"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..."

There might be some of you using Elkano's FrameResized (EFR) over at the Ace web site. This is a nice add on which resizes some default UI frames like CraftUI, TradeSkillUI, TrainerUI, QuestLog and LootFrame to show more lines. However this mod doesn't like the Doublewide add on which makes Lightheaded usable when you open the QuestLog. There is a simple fix for this.

Using a text editor go to your FrameResized.lua file inside your FrameResized file and look at line number 4 and you will see "local FR_QuestLog = true" . Change the true to false and save. This will allow you to use the Doublewide add on with your quest log but still have the benefits for your other windows.

Just started usin the mod today, Looks great... but... When you view the info as a single page even when not viewd as a single page it doesnt seem to sort quest comments by date, I mean it kida does but the dates look all screwy, will try to explain more if needed but u should see what im talking baout when viewing the comments.

Edit : Also, your mod seems to work PERFECT with this... I think it works great with this because I have a WS monitor so everything shows fine when expanded... but that aside the reason I even bring it up is that there seems to be a small "glitch" woth it when the "info" page that yor mod adds is collapsed it doesnt seem to fuly merge with the quest window... u can still see the red x.. when closed it basically hangs out a tad... if you install the above linked mod with your quest mod you should see what I mean... Anyway, I wonder if you could maybe implement a "patch" into your mod so it integrates fine and gets rid of the "hangover"

One slight annoyance using this mod. I typically open quest log to see what is available and at the same time I would been able to open the macro window to type in a LFG macro for LFG channel or local chat the title of the quests. But now with the double wide the macro closes and I have to shuttle back and forth between the macro window and quest log to type in the titles. Is there a way to move the quest log window or temp close the double wide window so I could keep both macro and quest log open?

Originally posted by Xylan Trueheart One slight annoyance using this mod. I typically open quest log to see what is available and at the same time I would been able to open the macro window to type in a LFG macro for LFG channel or local chat the title of the quests. But now with the double wide the macro closes and I have to shuttle back and forth between the macro window and quest log to type in the titles. Is there a way to move the quest log window or temp close the double wide window so I could keep both macro and quest log open?

That's not an issue with LightHeaded, if you don't want DoubleWide or are looking for some way to move the quest log, you'll need another addon. All LightHeaded does is add the extra quest information panel.

__________________
"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..."

Cladhaire I understand what you're saying. I like this mod very much and the Doublewide view. What I am asking is that the mod be made movable or that there be a toggle to temporarily close the double wide window so that I can work with the quest log AND the macro window simultaneously. All that I am asking is a effort be made to increase the utility and flexibility of this mod.

Originally posted by Xylan Trueheart Cladhaire I understand what you're saying. I like this mod very much and the Doublewide view. What I am asking is that the mod be made movable or that there be a toggle to temporarily close the double wide window so that I can work with the quest log AND the macro window simultaneously. All that I am asking is a effort be made to increase the utility and flexibility of this mod.

DoubleWide has nothing to do with LightHeaded. I'm not sure how much clearer I can be about that. DoubleWide is another addon.

__________________
"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..."

Originally posted by Xylan Trueheart Cladhaire I understand what you're saying. I like this mod very much and the Doublewide view. What I am asking is that the mod be made movable or that there be a toggle to temporarily close the double wide window so that I can work with the quest log AND the macro window simultaneously. All that I am asking is a effort be made to increase the utility and flexibility of this mod.

If I'm not mistaken...

you're referring to the fact that the Quest Log is now twice as big - the original size of the log, plus a new frame for the comments. If that is in fact what you mean (and you're not referring to the addon actually named DoubleWide), then just click the little tab on the right side, and the comments window will happily slide away from view.

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.