- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,098 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
LibRangeCheck-2.0
- 0 Likes
- World of Warcraft
- 1,675 Monthly Downloads
- Supports: 5.2.0
- 60,175 Total Downloads
- Updated 04/15/2013
- Created 04/03/2008
- 31 Favorites
- Project Site
- Comments
- Release Type: Release
- License: Public Domain
- Newest File: v3.8.1
About LibRangeCheck-2.0
A library to determine estimated range.
------------------------------------------------------------------------
r137 | mitch0 | 2013-04-15 09:12:30 +0000 (Mon, 15 Apr 2013) | 1 line
Changed paths:
A /tags/v3.8.1 (from /trunk:136)
Tagging as v3.8.1
------------------------------------------------------------------------
r136 | mitch0 | 2013-04-15 06:43:50 +0000 (Mon, 15 Apr 2013) | 1 line
Changed paths:
M /trunk/LibRangeCheck-2.0/LibRangeCheck-2.0.lua
disable Feral Charge, maybe that's causing the reported issue in Moonkin and Travel form
------------------------------------------------------------------------
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| v3.8.1 | Release | 5.2.0 | 3,231 | 04/15/2013 |
| v3.8.0 | Release | 5.2.0 | 3,191 | 03/09/2013 |
| v3.7.4 | Release | 5.2.0 | 2,144 | 03/06/2013 |
| v3.7.2 | Release | 5.1.0 | 5,068 | 11/30/2012 |
| v3.7.1 | Release | 5.0.5 | 3,526 | 10/24/2012 |
| v3.7.0 | Release | 5.0.4 | 5,153 | 08/28/2012 |
| v3.6.5 | Release | 4.3 | 9,837 | 11/30/2011 |
| v3.6.4 | Release | 4.2 | 2,383 | 06/30/2011 |
| v3.6.3 | Release | 4.1 | 381 | 04/27/2011 |
| v3.6.2 | Release | 4.0.6 | 2,349 | 03/03/2011 |
| v3.6.1 | Release | 4.0.3a | 2,607 | 12/06/2010 |
| v3.6.0 | Release | 4.0.1 | 690 | 10/16/2010 |
| v3.5.5 | Release | 3.3.0 | 300 | 12/09/2009 |
| v3.5.4 | Release | 3.2.0 | 108 | 11/12/2009 |
| v3.5.3 | Release | 3.2.0 | 121 | 10/02/2009 |
| v3.5.2 | Release | 3.2.0 | 65 | 10/01/2009 |
| v3.5.2-beta1 | Beta | 3.2.0 | 26 | 10/01/2009 |
| v3.5.1 | Release | 3.2.0 | 39 | 09/28/2009 |
| v3.5.0 | Release | 3.2.0 | 1 | 09/28/2009 |
| v3.4.1 | Release | 3.2.0 | 124 | 08/09/2009 |
| v3.3-beta1 | Beta | 3.1.0 | 305 | 04/15/2009 |
| v3.2 | Release | 3.0.8 | 274 | 02/09/2009 |
| v3.1 | Release | 3.0.3 | 16 | 11/13/2008 |
| v3.1-beta3 | Beta | 3.0.3 | 3 | 11/06/2008 |
| v3.1-beta2 | Beta | 3.0.2 | 23 | 10/19/2008 |
| v3.1-beta1 | Beta | 3.0.2 | 2 | 10/18/2008 |
| v3.0-beta | Beta | 3.0.2 | 2 | 10/18/2008 |
| r8 | Beta | 2.4.3 | 16 | 10/09/2008 |
| LibRangeCheck-2.0-r67856 | Beta | 2.4.3 | 15 | 04/03/2008 |
| LibRangeCheck-2.0-r67461 | Beta | 2.4.3 | 2 | 04/01/2008 |
| LibRangeCheck-2.0-r67439 | Beta | 2.4.3 | 2 | 03/31/2008 |
| LibRangeCheck-2.0-r66493 | Beta | 2.4.3 | 2 | 03/27/2008 |
| LibRangeCheck-2.0-r66485 | Beta | 2.4.3 | 7 | 03/27/2008 |
| LibRangeCheck-2.0-r66468 | Beta | 2.4.3 | 3 | 03/27/2008 |
Top Downloads
-
- Deadly Boss Mods
- Combat, PvP, and Boss Encounters
- 1,063,327 Monthly Downloads
-
- Bagnon
- Bags & Inventory
- 472,647 Monthly Downloads
-
- Recount
- Combat
- 336,477 Monthly Downloads
-
- Auctioneer
- Mail, Tooltip, Bags & Inventory, Professions, and Auction & Economy
- 326,497 Monthly Downloads
-
- HealBot Continued
- Healer and Unit Frames
- 310,169 Monthly Downloads

Comments
Hi,
I am getting this error in 5.0.4 with my Druid:
Message: ...s\DHUD4\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:433: GetSpellName(): Invalid spell slot
Is there a specific reason why, this library doesn't yield a precise distance to a party member, when using GetRange()?
I mean, it should be 100% accurate, as you can simply check if the GUID of 'target' equals the GUID of a friendly player, and if that's the case, simply check the map distance?
I mean, all you have to do is to embed LibMapData-1.0 and use the Lib:distance on that?
// Skeen
Hi,
Several reasons:
1) when the lib was created, it was not possible to get accurate distance to group/raid members in instances
2) even now there are places where this check doesn't work
3) this lib is aimed mostly for spell-range estimates, so it's important that the ranges reported match up with the spell ranges (I'm not sure that the LibMapData based ranges would be 100% correct with regards to spell ranges, that is: if my range to a party member is 39.98 yards by coordinates, the engine might still calculate my heals as out-of-range. This sort of thing happened with interact-based distances, that's why I removed them from the normal checks a while back.
4) simplicity. I'd rather keep this lib as simple as possible.
5) consistency. I think it would be confusing that range estimates changed willy-nilly based on what type of unit you're targeting.
cheers,
mitch
Thanks you, and I'll be sure to rename it, as addon as well as in LibStub.
I think I'll just make a single call library, that combines the results of your library's getRange() and the Distance() of LibMapData.
// Skeen
Hi,
Sure, go ahead, just name it something else than LibRangeCheck-X.Y :)
Ideally you should change the name by which it is registered to LibStub, and modify your addons using LibRangeCheck to use your lib instead.
cheers,
mitch
Hi Mitch.
And thanks you for reporting back to me!
Would you be okay with me uploading a modified version of your library, with the changes needed, in order to embed LibMapData-1.0? (I know you've released this library into public domain, I just like checking that people are okay with it anyways)
// Skeen
ps Parnic says hello, btw
pps Not sure if this will affect anything, but the spell Enlightened Judgements under HarmSpells["Paladin"] was spelled as Elnightened Judgements, in LibRangeCheck.lua
It's probably caused by Holy Shock being whacky. Try removing the Holy Shock lines from LibRangeCheck-2.0.lua (should be lines 125 and 129).
could you paste here the output of "/run print(GetSpellInfo(20473))" while you're Holy specced?
thanks,
mitch
I've removed Holy Shock from the spell list. The next IceHUD build should pick up the new version and hopefully your issue will go away.
cheers,
mitch
the output of /run print(GetSpellInfo(20473)) is
"Holy Shock Interface\Icons\Spell_Holy_SearingLight 259 false 0 0 0 40", in case you still want to take a look at it
GetSpellName has been renamed to GetSpellBookItemName. This error has resulted in the failure of an addon that I am trying to update. I have made the appropriate fixes in my local copy.
v3.6.0 should be working okay.
cheers,
mitch