RangeDisplay
Estimated range display. Type /rangedisplay for configuration or /rangedisplay locked to lock/unlock the frames.
RangeDisplay is a simple range display addon. It is using spell range, item range and interact-distance based checks to determine the approximate range to your current target. Due to the whackyness of interact-distance based checks, recent versions only use those when spell/item based checks are not possible . The display can be configured in many ways (displaying only the max range, adding border and background, etc).
Currently you can set up RangeDisplay to show your current range to your target, focus, pet and mouseover units. The mouseover unit range can be anchored to the mouse or placed at a fixed position.
New in v3.8.0: It is possible to add sound notifications to "range sections" (similar to color setting). The sound will be played when entering the section. If two sections have the same sound file attached to them, then the sound is not played again if switching between the two sections.
This sound notification is enabled by default for the target unit's close range section.
Displaying max range only: if you want to display only the maxRange, you need to set Text to "%d" and tick the Reverse option for the section(s).
fixed, thanks :)
Please check with the latest release (v4.1.1) if the "stuck at 45yd" problem still happens.
Thanks,
mitch
I've been getting this strange bug where sometimes it shows my range as "45" even when I am within 5 - 30 yards of my target. It will go beyond 45 up to 80+, but just gets stuck at 45 when I am actually closer than that. Been using this addon since WotLK launch, and it has never done this before. A quick reloadui fixes it, but then it'll get stuck again rather quickly. Any ideas?
Please post the class/race/level of the character you have this issue with.
cheers,
mitch
I've the exact same issue, on my Level 90 Human SPriest. Normally, a UI Reload fixes it, but in the Phase of the Gara'jal Encounter in the Mogu'shan Raid where you fight the adds, the Problem is always there, even if the Boss is shown correct.
Could you please try commenting out two lines from LibRangeCheck-2.0.lua: search for Wrangling Rope, and change the line from
to
There are two lines like this, one for friendly units, and one for enemy units. Change both. This disables the 45yard item checker. Check if the range display still gets stuck somewhere on that fight.
Thanks,
mitch
Mage/Undead/90
I just updated to your latest, and will leave the Wrangling Rope untouched to see if your solution fixed it, but as I was reading the lua file, I noticed you had this:
Frostbolt and Ice Lance are now 40 yards, and Ice Shards is no longer apart of the mage talents. I do not know what this list is for, or if it affects the addon at all if it's inaccurate. Just thought I'd point that out.
Yeah, the spell list needs to be cleaned up once :) The ranges and talents listed there are just comments though, the actual range is looked up via the WoW API, so those "old" spells doesn't make RangeDisplay inaccurate (most likely most of them won't be used at all during range-check).
cheers,
mitch
First off, great mod! Second, I've had an issue with it ever since 5.0.4 hit. I have the box in a different spot on all of my characters. Since the patch, whenever I move it on the screen for one character, I'll log on another character and find the box moved to where I moved it on the previous character. It didn't do this pre-patch. Is there a way to fix it? Thanks.
Hi,
I think I fixed this issue a couple of days ago, just forgot to tag a new release then. Please try the latest version (v4.1.0). Open a ticket if it's still not fixed.
cheers,
mitch
Still having the same issue. Could another mod be messing with it?
Ah, then your issue is probably unrelated to that fix. :)
Make sure that you use a character specific Profile (instead of "Default") for each of your toons.
If all your characters use the same profile ("Default", for example) then changes made in one config will be visible on the other character's setup, too.
You can change the profile in the RangeDisplay Option's menu under the "Profiles" submenu.
cheers,
mitch
must have addon
Getting this error on MoP 5.0.4 (16004) build since something on this build broke something. Errors happen once ever second while its enabled.
218x libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100115.lua:433: GetSpellName(): Invalid spell slot
<in C code>
libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100115.lua:433: in function <libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:430>
libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100115.lua:461: in function <libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:455>
libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100115.lua:716: in function "init"
libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100115.lua:942: in function "initialOnUpdate"
libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100115.lua:996: in function <libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:990>
Locals:
spellName = "Gift of the Naaru"
i = 184
GetSpellName = <func> =[C]:-1
BOOKTYPE_SPELL = "spell"
Fixed in the latest alpha (r340).
cheers,
mitch
wondering what happned to the max range only checkbox?
see comment #262 below.
cheers,
mitch
Hey , is there a way to tweak this addon so it displays yards betwean target like every yard ? 1.2.3.4.5.6.7 and so on , up to lets say 50 ? , now all i can see or manage , amybe i am just blind , it gives range bewean 2 numbers , 9-28 for an example .
If there was a way to make it display range as you move , and slightly more accurate , would be sweet .
Hello,
What you ask is not possible in the general case, only for units in the same group with you, and even then not on every map / area, so this feature will not be included in RangeDisplay.
cheers,
mitch
For some reason it wont show over 80, is there a way to increase it to at least 100? Ive maxed the distant bars to 100 but it still wont show it.