Display the distance to your target. More accurate than any other AddOn.
Works great in Legion Patch 7.1!
Why Yards are so Hard to Calculate
AddOns are not able to obtain map coordinate data for NPCs and other players. This is a Blizzard decision to cripple range finding AddOns. Hard Yards is the most accurate at estimating distance across a full gamut of target types. Hard Yards displays the minimum and maximum yards to your target, friend or foe!
Blizzard further restricts distance estimation in Patch 7.1. This AddOn survives!
- Best possible range estimation to a target
- Choice of borders
- Text colours are up to you
- Distance also appears in mouse over Tooltips
- Other AddOns can use the min/max range results New!
- Can separately show/hide the range frame and the tooltips New!
How To Use
Configuration: Hard Yards is ready 'as is' but you might like to change the border, alter the text colours or disable the tooltips. Type '/hy', '/hard', or '/yards' in chat for configuration options.
Moving: Mouse over the Hard Yards frame, holding down the 'Control' key. Drag and release.
Other AddOns:If one of HardYards_min & HardYards_max is not nil then Hard Yards is loaded and running. Range values from zero to 80 yards maximum. When beyond 80 yards, -1 is returned.
'/hy hide' will hide the frame BUT still allows other AddOns to obtain the range estimation.
If You Like Hard Yards
Taraezor's main AddOn is We Don't Wipe, an excellent DPS maximiser! While adventuring, map your way with X and Y, pickup a great raptor pet with Adorable Hatchling Nests, search for Netherwing Eggs, try Tip to enhance your Tooltips, go the Hard Yards, the most accurate way to measure distance, use This Scampi Happening for fish flavoured Tooltips, or Yarrr for pirate Tooltips, and instal Let Minnow to show off your fishing poles!
Cookies, Beer & Donations
It is all about the cookies & beer although, and don't let Gallywix know about this, a "thank you" in the comments section fuels my programming appetite and is very much appreciated. And then, you could cut straight to Donate to lend your support! because as Gallywix would say... "time is money, friend".
v2.07 - 25th October 2016
- More of the same
v2.06 - 25th October 2016
- Retested / fixed / added more items / improved everything
- Width extended a little
v2.05 - 23rd October 2016
- Version update to support Patch 7.1 "Return to Karahzan"
v2.04 - 25th September 2016
- Return values for other AddOns only if actually targeting and not mouse over
- Use a different highlight colour in the TOC file
v2.03 - 9th September 2016
- On / Off switch removed
- Added a Show / Hide switch
- Supports requests from other AddOns now via two globals
v2.02 - 30th August 2016
- Fix for switching "off" - actually disappears now
v2.01 - 23rd July 2016
- Interface Version now 70000
v2.00 - 27th May 2016
- Rewritten. Cleaner and obvious taint sources removed.
- Some new ranges for increased precision added.
- Distance now appears on all tooltips
- Patch 6.2 'toc' file update to keep Hard Yards up to date.
- Fix to fun chat command '/wdw sal'
- Patch 6.1 'toc' file update to keep Cool Aid up to date.
- Fixed some dodgy Interface frame headers
- Removal of an unused assigned local variable
- Corrected code for the (fun) hourly easter egg salute
- Interface set/save/default/ etc option mechanics bug
- Some Interface text here and there I suppose
- Forgot to manually add Specialization support due to API changes by Blizzard
- Help text improvements, copyright notice, contact details etc.
- Versioning numbers now correct
- Typo in interface text
- Determining Specialization changed due to API changes by Blizzard
- New logic for distance for Warlords of Draenor v6.0.2
- Version bump for Patch 6.0.3
- Version bump for Patch 5.4
- When not shown, was still triggering the 'move' script
- Moved some local lists as causing memory usage to rapidly climb. Gets caught in garbage collection but would be a worry for players micro-managing computer performance.
- Localised almost everything. Achieved a large cpu performance boost.
- Fixed bug with moving Hard Yards too far from the centre of the screen
- Changing Talents now no longer gets positions, colours etc muddled
- Sometimes during a first time use of Hard Yards there is a long delay before the WoW server recognises we are trying to move the Hard Yards frame. Mysterious. Suspect that it is because the frame hot spot is right on top of our toon. Default position is now offset right and down a bit, clear of our toon. Seems to help.
- Sometimes Hard Yards seemed to forget the last place to which it was moved. Mysterious. To work around this I (1) removed some dead code left over from a copy/paste from one of my other AddOns, (2) explicitly (rather than assuming the default) link the relative position of the Hard Yards frame to the main game window, (3) the previous fix now forces an explicit default location rather than assuming 0,0.
- A better calculation of the 'hot' region dimensions for enabling moving. Benefits really small text sizes.
- Corrected the Class Specialization English language lookup table
- Now handles players with no specialisation (i.e. sub level 10 and any player who has unlearnt or not yet learnt one)
- We Dont Wipe AddOn support
- Show/Hide & on/off options properly differentiated and fixed
- Small change to help/about panels
- Sloppy naming of a variable borrowed from another of my AddOns caused fatal runtime error
- Initial release