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).
In reply to Macrazz:
item range checks are no longer allowed in combat, that's why you get reduced accuracy in combat now :(
In reply to mitchnull:
well that's a pitty :(
but's not reduced accuracy, the only thing I'm getting all the time while in combat is 0-40.
My bad didn't make profile for each spec. Works fine.
Thanks for a great Addon.
Under profiles "Enable spec profiles" says each spec will have it's
own profile. Doesn't work as specified.
Any changes to a spec profile is reflected in the other spec's.
So only one spec profile.
+40 yards only shows out of combat! -40 yards works in/out of combat
Still not working on combat since last update
1315x ...Display/libs/LibRangeCheck-2.0-10000000000002/LibRangeCheck-2.0.lua:441: IsSpellInRange(): Invalid spell slot
[string "=[C]"]: ?
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000002/LibRangeCheck-2.0.lua"]:441: in function <...Display/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:440>
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000002/LibRangeCheck-2.0.lua"]:558: in function `checker'
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000002/LibRangeCheck-2.0.lua"]:623: in function <...Display/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:615>
[string "=(tail call)"]: ?
[string "@RangeDisplay/RangeDisplay.lua"]:415: in function `update'
[string "@RangeDisplay/RangeDisplay.lua"]:477: in function <RangeDisplay/RangeDisplay.lua:472>
Locals:
(*temporary) = <function> defined @RangeDisplay/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:500
(*temporary) = "spell"
(*temporary) = nil
In reply to NavexEU:
should be fixed in v5.0.9
In reply to mitchnull: I'm still getting this error as of 11/23
994x ...Display/libs/LibRangeCheck-2.0-10000000000003/LibRangeCheck-2.0.lua:442: IsSpellInRange(): Invalid spell slot
[string "=[C]"]: ?
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000003/LibRangeCheck-2.0.lua"]:442: in function <...Display/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:441>
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000003/LibRangeCheck-2.0.lua"]:559: in function `checker'
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000003/LibRangeCheck-2.0.lua"]:624: in function <...Display/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:616>
[string "=(tail call)"]: ?
[string "@RangeDisplay/RangeDisplay.lua"]:415: in function `update'
[string "@RangeDisplay/RangeDisplay.lua"]:477: in function <RangeDisplay/RangeDisplay.lua:472>
Locals:
(*temporary) = <function> defined @RangeDisplay/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:501
(*temporary) = "spell"
(*temporary) = "playertarget"
As someone else mentioned having Mortal Coil for 20 yard check would be splendid.
Gateway has a 10-40 yard range check. Not sure if the 10 yards can be used for anything?
Perhaps it would also be possible when out of range of your highest range spell to show >X yards
In reply to krasnovia:
added Mortal Coil in v5.1.1, please report back if it breaks or not :)
Could you add Mortal Coil for Warlock as a 20 yd check? It is a talent so it's not always available, but it's taken almost all the time in PvE.
Thanks for the update!
I see what you were saying about "limited" range estimates. Not your fault, Blizzard screwed the pooch on this one.
v5.0.8 should be working in combat, too (although with very limited range estimates)
Can an update fix that bug and show the range again in combat? It would be lovely many thanks xx
Same here. Disappears in combat. Something change with WoW?
Just started.
In reply to msc6399: Yep, Blizzard rolled out a patch today and changed something in their rubbish code that affects the 'IsItemInRange()' function.
it works until i get into combat, then it disappears...
Thanks for this addon, I have been using it since forever! <3
With a patch that Blizzard rolled out just today, Rangedisplay works as intended (ie; select a target, shows in range. Then walk away until shows out of range), however as soon as entering combat, Rangedisplay simply shows out of range regardless of distance from target and only returns to working normally once out of combat again.
LUA error is:
2x [ADDON_ACTION_BLOCKED] AddOn 'RangeDisplay' tried to call the protected function 'IsItemInRange()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: ?
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000001/LibRangeCheck-2.0.lua"]:465: in function `checker'
[string "@RangeDisplay/libs/LibRangeCheck-2.0-10000000000001/LibRangeCheck-2.0.lua"]:590: in function <...Display/libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua:585>
[string "=(tail call)"]: ?
[string "@RangeDisplay/RangeDisplay.lua"]:415: in function `update'
[string "@RangeDisplay/RangeDisplay.lua"]:477: in function <RangeDisplay/RangeDisplay.lua:472>
Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}
In reply to dmeister406:
I'm guessing that the "can't check distance when in combat" thing is a side effect of this patch note; what I don't know is if it's intentional or not, and it affects the outdoor world as well where I thought it was only intended to impact the raid. I'm not getting your LUA error, though, I'm just getting nonsense distance indications whenever I go into combat.
Restricted addon functions that allowed for in-combat distance checking between players.
Developers’ notes: This change was intended to be implemented with the launch of the Guardians of the Dream patch, to avoid requiring that addon authors update their addons separately after the content is already being played. We apologize for the confusion and inconvenience.
any chance of a friendly only setting? I'm trying to use this for ressing, to know if I'm in range or not. warning sound when I'm not. but I don't need a warning sound whenever I mouseover a random enemy