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 mitchnull:
Thank you~
In reply to mitchnull:
awesome, thank you!
In reply to mitchnull:
You are awesome!!! Thank You! My Hunter also greatly appreciates this addon! :P
In reply to mitchnull:
Any update for wotlk classic? Phase 2 patch broke this wonderful addon :/
Either way thank you much for your work on it.
In reply to nasia901:
In what way is it broken? Can you provide an error trace?
In reply to mitchnull:
Hey thank you for your work and your response. The range gui is not showing up. i will post .lua errors best I can.
1x RangeDisplay/RangeDisplay.lua:504: Usage: self:SetClampedToScreen(clampedToScreen)
[string "=[C]"]: in function `SetClampedToScreen'
[string "@RangeDisplay/RangeDisplay.lua"]:504: in function `createFrame'
[string "@RangeDisplay/RangeDisplay.lua"]:562: in function `enable'
[string "@RangeDisplay/RangeDisplay.lua"]:786: in function `applySettings'
[string "@RangeDisplay/RangeDisplay.lua"]:819: in function `profileChanged'
[string "@RangeDisplay/RangeDisplay.lua"]:756: in function <RangeDisplay/RangeDisplay.lua:712>
[string "=[C]"]: ?
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
In reply to mitchnull:
In reply to nasia901:
Page 2
1x RangeDisplay/RangeDisplay.lua:360: attempt to index field 'rangeFrameText' (a nil value)
[string "@RangeDisplay/RangeDisplay.lua"]:360: in function `applyFontSettings'
[string "@RangeDisplay/RangeDisplay.lua"]:375: in function `applySettings'
[string "@RangeDisplay/RangeDisplay.lua"]:787: in function `applySettings'
[string "@RangeDisplay/RangeDisplay.lua"]:769: in function <RangeDisplay/RangeDisplay.lua:768>
[string "=[C]"]: ?
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
In reply to nasia901:
You don't seem to be using the latest version. Please try v5.0.4.
Prepatch broke it.
Bugsacks reports:
As of the latest retail patch 10.0, the addon unfortunately no longer functions. LUA error:
28x Interface/AddOns/RangeDisplay/RangeDisplay.lua:265: attempt to call method 'setDisplayColor' (a nil value)
[string "@Interface/AddOns/RangeDisplay/RangeDisplay.lua"]:265: in function `targetChanged'
[string "@Interface/AddOns/RangeDisplay/RangeDisplay.lua"]:803: in function <Interface/AddOns/RangeDisplay/RangeDisplay.lua:802>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20>
[string "@Interface/AddOns/Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function `Fire'
[string "@Interface/AddOns/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Interface/AddOns/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: in function `TargetUnit'
[string "@Interface/FrameXML/SecureTemplates.lua"]:523: in function `handler'
[string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672>
[string "@Interface/FrameXML/SecureTemplates.lua"]:704: in function <Interface/FrameXML/SecureTemplates.lua:697>
[string "@Interface/FrameXML/SecureTemplates.lua"]:779: in function <Interface/FrameXML/SecureTemplates.lua:764>
Out of curiosity: is it hard for addon makers to update what version the game is for? This was updated 2 days ago; but still says it's for version 9.0.5; a version of the game from at least a year ago [or possibly more?]
This isn't the only mod to do this; nut I wonder why they don't update the game version to newest one if the addon has been updated.
In reply to JDM12983:
Hello,
I no longer play WoW, but try to keep some of my mods working as far as I could. So far I relied on #wowace to get notified of new TOC versions but apparently that channel sorta died out ;) I've now read up on the recent changes and it seems that multiple TOC versions are supported now (for retail, Vanilla, TBC, etc). I'll update the versions based on that soonish
In reply to mitchnull:
Well, for your situation, that makes a lot of sense.
But, I have seen others that clearly - actively - work on their mods but will usually be several game versions behind for some reason. Seems like to me that might cause them to get passed over by anyone that might browse based on certain game versions.
I know it most cases it's more of a nitpick thing - if the mod still works, it works. But, also, some people might also not load out of date mods.
I guess it's just one of my "poet peeves" as they call it. lol >< Either way, have a good day.
In reply to JDM12983:
Completely depends on the addon and how much of WoW's API they make use of. Generally, with major expansions or patches, they add or remove API functions and sometimes change the behavior of existing ones, so if your addon relies on something that went away or changed, you have to hope that either it's an easy fix or that there's some kind of work around that isn't a huge pain. As for not updating the version, I believe the author here mentioned that nothing had changed since the last time they updated it (9.0.5) from an API standpoint, so the displayed game version (9.0.5), while out of date, didn't affect functionality (at least, til pre patch). To get the displayed game version to match up, there's a .toc file you edit to set. I believe that would be the first line of RangeDisplay.toc where it says ## Interface: 90005, though to be fair, the only thing that line does is indicates to the game whether or not an addon is out of date: you can still load it. My guess is the author basically forgot to bump TOC versions or didn't care since the TOC version doesn't affect your ability to load the game nor will it cause LUA errors. The above LUA errors are from the most likely large amount of API changes to the 10.0 new expansion and they also seem to look like they're the result of another library: AceAddon, rather than RangeDisplay. However I am not the author so I could be totally wrong on that reason. However looking at the Ace3 addon page, it still shows version 9.27, but it does look like there's been a lot of recent activity so my guess is once Ace3 gets updated (and that'll probably happen quickly as a lot of addons depend on it) RangeDisplay will auto get fixed and still be left working but saying that it's for game version 9.05 =) If the 9.05 bothers you, you could just change that line in the .toc file.
Suggestion: Might it be possible to have an option to count how many targets are within a certain range? Ex. all targets in a 5 yard range, or all targets in melee range, etc.
This would let Rangedisplay replace a weak aura that counts how many targets are currently in range for blade flurry, etc. as the weak aura is a bit of a performance hog.
In reply to aisenfaire:
Hello,
Adding this would make RangeDisplay a "bit of a performance hog", too, so it probably won't happen. I guess you can't get any better than WeakAuras in this regard (if you disable all other auras).
In reply to mitchnull:
Ah, I see; I thought an addon would be able to do it more efficiently. Ty for the reply!
Nameplate distance weakaura
Hi Mitch, is there any way to arrange the range box to vertical fashion?
In reply to Oh_lawdie:
Sorry, but it is not possible at the moment, and it is not likely that I'll have time to add this.