FlightHUD
UPDATE
Since Blizzard removed GetUnitPitch() in 7.1, I no longer plan to maintain this addon. If Blizzards sees fit to put it, or some equivalent, back, then I'll revive it. Until then, this addon is dead.
FlightHUD
Displays a fully configurable fighter jet style Heads Up Display (HUD) while flying, riding, or swimming.
FAQ:
Q: Can altitude/elevation be displayed?
A: No. Blizzard doesn't provide the ability for addons to get z-axis information.
Features:
- Shows your current heading in degrees as text and as a graphic with cardinal points relative to the mimimap.
- Shows the true pitch of your character. This is no longer a hack, as patch 3.0.2 added GetPlayerPitch(), an API call that returns a character's true pitch. Before patch 3.0.2, the camera pitch was used, and the pitch display was not accurate unless you always kept your camera behind your character.
- Shows map coordinates.
- Shows your true speed, horizontal speed, or both, as a percentage, where a normally running character is 100%, or as yards per second, or both.
- Configurable transparency of the text and graphics.
- Configurable transparency of the background.
- Configurable size of the text.
- Configurable size of the pitch graphic.
- Configurable frame size.
- Congigurable colors of all HUD elements.
- Movable frame. Hold control while hovering the mouse over the frame and left click drag to move it. (First unlock the frame in the config with /fh or /flighthud or from the Interface -> Addons -> FlightHUD menu)
- Waypoints. (Configurable Alt/Shift/Ctrl/Combination)-rightclick on the map to add a waypoint. Multiple waypoints are supported. Waypoints appear in the HUD and float as you pan. Each point shows the distance and bearing to the point, plus an ETA if you're moving.
- Waypoints can now be made persistent and configured to show only in the zones they're created in or vice versa.
- Waypoints can be deleted by right clicking on them in the world map or mimi map.
QuestHelper integration: See the default QuestHelper quest as a persistent waypoint.(Seems QuestHelper is no longer a thing)- Blizzard POI (Point of Interest) integration: (modifier)-click a POI on the map to set it, and subsequently unset it, as a waypoint. The modifier can be set in the config.
- Automatic quest tracking waypoints in the HUD.
- Arrival sound: Set a sound to be played upon arrival at a waypoint.
- Keybind to toggle level flight. (Simply toggles pitchlimit from 0 to 88 and back. Still have to pitch up or down for pitch to be 0 once pitchlimit is 0)
TODO:
- Add an odometer.
- Editable, movable waypoints.
- Add an interface to manage waypoints. (Can't delete a POI waypoint when it no longer appears on the map)
- HUD frame skins to make it look like a real fighter HUD.
- Configurable locations of text and graphics within the parent frame. Perhaps at some point make them detachable.
- Fix the waypoint adding text on the map. Seems this stopped working at some point.
Known bugs:
- There's a bug in Astrolabe that causes an error when entering a garrison mine. While this bug shows as coming from FlightHUD, many other addons that use Astrolabe have open bugs showing the exact same trace.
- There's been a pervasive bug that would completely hang the client. I've known about this bug for about 2 years now, but I've never been able to consistently reproduce it, and therefore, debugging has always been non-trivial. If you experience the game client completely hanging after zoning (a portal, a zone instance, teleporting directly to a dungeon, a summon), please report a bug. To get around the bug, disable the "Quest POI Integration" in "Waypoint Options" in the FlightHUD config. This option is now disabled by default.
Reporting bugs:
- Please post bug reports here. While I monitor the comments on curse.com, it makes my life easier if bugs are reported in the wowace bug tracker.
I too also have some sort of memory leak and wow freezing on me when loading into some instances. Tracked it down to this addon.
Same here... takes so long to track down something like this when it happens when you have a lot of addons. :\ Would constantly freeze me on loading screens. Do not recommend you use this until it is updated.
I also had WoW max out my RAM during loading through dungeons and from Orgrimmar to Thunderbluff through Darkmoone Teleporter, and turning off quest POI also worked to fix the problem. This is on version 0.12.7. Thanks Charix for finding that.
I was having load screen freezes for some days and getting crazy! And one by one I found the addon who freeze my system: This one :(
Just like Charix tell you, the POI system freeze the load screen when you are getting into a dungeon.
Can I give you more info to help you? Just ask...I love this addon. Is one of the very fisrt I installed when I started playing ^ ^
This is just a suggestion and idk if it's even possible...( I know this is the ONLY app of it's kind on WOW) ...can you add an altimeter to this app or is there one I haven't yet notived? Thank you.
This has been covered in the FAQ for quite some time.
I'm thinking that (at least when taking off from land) it could still be done by dead reckoning, with a map of takeoff-point heights at each x,y point extracted from the game's data files.
Seahen - What you are describing is very similar to aircraft "INS" - inertial navigation system. INS calculates your position from your acceleration/deceleration, speed, direction, etc. It's still used by some military aircraft. (The GPS can be switched off during conflicts to prevent it's use by the "enemy" so INS is there as a backup in the case that GPS is not available.) The math used for calculations get a bit complicated and would take an excessive amount of CPU time, especially while flying.
Sadly, with the new patch/expansion, FlightHUD is causing game lockups on some zoning for the first time for me ever. I have some ways that I can try to troubleshoot, so I'll cross my fingers. I really like the addon.
Odd feature request:
Can we get an Odometer? I mean, you'd think there'd be one in soe addon somewhere, but nooooooooo. No ongoing tally of distance travelled based on speed over time. :( After seven years of WoW, I think I should start tracking my travel distance. :\
Are you using the latest 0.12.6? That's the newest version which is compatible with WoW 5.0.4. It contains an updated Astrolabe which was supposed to fix that issue. If that is the case, please do me a favor and run this in-game:
/dump DongleStub("Astrolabe-1.0"):GetVersion()
It should report this:
"Astrolabe-1.0", 150
Also, please tell me if you are using the quest POI integration (that's in waypoint options) and which instance is triggering it.
Please also report if you weren't on the latest version and if using the latest version made that better.
I love the odometer request BTW! I'll get on that when I get some time!
Thanks,
Barf
Sorry for the return delay. I'm not used to Addon devs being so responsive. XD
Completely wiped the addon and all settings to ensure starting from a clean slate as installed by Curse. Also removed all other addons temporarily to limit to this one exclusively.
Issue is not in an instance, though. It occurs when taking the portal from Orgrimmar to Hyjal.
Astrolabe returns happily with 150.
Symptoms involve WoW memorry consumption promptly shooting through the roof with a delta > 100MB/s. I left WoW running and "frozen" while adding information here on the first test, then as shocked to note the browser having issues. Poked at things and found WoW consuming 6.8GB of RAM. :D
In default settings, Quest POI is on. Turning off Quest POI resolved the issue.
Further testing reveals that tracking of the Completed "Raging River Ride" (Northern Barrens) causes the issue when tracked in combination with still having the Thansgiving quest from last year in the quest log at all. I think the specifics in this case are edge enough that addressing the exact issue is not needed, however the information may assist if you are seeing this in other cases as well.
Now things work and I am a happy cow flipflap once again, so I shall wait patiently (if possible to be patient) for the potential for an odometer.
If only all bug reporters were like you! Thanks for your very comprehensive testing. You've definitely given me more to work with.
You're right, the issue normally stems from zoning, not necessarily an instance. I'm glad you tested the quest POI integration. The quest POI code has given me trouble in the past.
My biggest obstacle with this problem is the fact that I can't consistently reproduce it. Add the fact that reproducing it causes the client to hang, and this makes for quite a difficult bug to fix.
I plan to spend the next day trying to fix this, and possibly adding some new features. Please watch for updates.
Barf
The thing of note is that the memory consumption of the client skyrockets without limitation. On my system, at about 100 MB/s increase. Perhaps it's a point at which a debugging build that monitors its own memory use would be called for? If you know what code runs when zoning, especially if it's "on demand" from something that could be called repeatedly or looping, put a memory check into it. If the memory use spikes suddenly, halt everything and puke informatively.
(I'm cheating, technically. ^.^ I'm a QA Engineer by trade.)
Months ago I started having an issue where zoning into certain dungeons or the Deeprun Tram would sometimes cause WoW to go into "not responding" and I'd have to use "end task" to force-close the game, then restart it. There was no pattern to which particular instance would cause it, but once it happened, it would keep happening every time I entered that particular instance. Didn't seem to matter whether it was via the dungeon finder or if I was going into something on my own. I just chalked it up to my old tired computer (Pentium 4 3.2ghz HT, 2.5GB DDR400, 7600GT AGP, XP Pro SP3) not having the horsepower to load some thing or other.
3 days ago I got a newer computer (AM2 4600+ dual core, 4GB DDR800, 9600GTX, Win 7 Ultimate 64-bit) and loaded up all the same addons I had on my old system. The game looks awesome and my framerates don't stutter anymore, just tons better performance. So I'm questing in Twilight Highlands and decide I'll go into Gram Batol and grab the quests in there real quick...and what do you know, "not responding". WTF? I was in queue so I only got a couple of tries to disable some addons and re-enter GB before my queue came up. No issues getting into Vortex Pinnacle, that went fine, then when I was done I resumed going into GB and having the "not responding" come up, killing addons each time before I logged back into game. Turns out as soon as I disabled FlightHUD, no more "not responding". I turned all my other addons back on and still get right into the dungeon no problem. I really like FlightHUD but this issue is bad enough I will keep it disabled until something can be done.
I've known about this issue for a very long time. It's been there for years. Thing is, due to the nature of the bug, there's very little I can do to debug it, since the game stops responding when it happens, which means I can't get any debugging information from it when it happens. Files are only saved when the game client exits normally.
I'm going to ask around about what I can do. Maybe someone knows of something new.
Barf
Please give 0.12.4 a try. I've taken our an event that has shown to cause problems in the past. Please let me know if this is finally fixed.
Barf
Want a programming nightmare?
Have the artificial horizon tilt relative to the rate of turn speed. This would come closer to a for-real HUD. And keep the antacid and aspirin companies in business.
I'm actually kinda-sorta serious. But wanting you to keep your sanity you can put this on the priority list just after watching grass grow and watching paint dry.
Great mod! Keep it going! (Now if Blizz would just provide the z-axis info and make the ceiling altitudes of all the zones the same. I know, but I can dream, can't I?)
Hmm,
With the new version, I get nothing on screen. Put the old version back and working again. Let me know if I can help in anyway. TY for the updates and the mod.
There was an issue with 0.12.0 which caused this. Have you tried 0.12.1? It should work.
Barf
My whole HUD thing seems to be a bit off-center. How can I change this? Otherwise I love this addon. Very nice : )