Download
(275 Kb)
Download
Updated: 01-29-14 07:12 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:01-29-14 07:12 AM
Created:unknown
Downloads:58,518
Favorites:379
MD5:
5.4
RangeDisplay  Popular! (More than 5000 hits)
Version: v4.2.4
by: mitch0 [More]
Description:

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, pet, focus or mouseover unit (if enabled). The mouseover unit display can be anchored to mouse, or placed at a fixed position. As of v3.4.1 interact-distance based checks are only used if the other two are unavaliable due to the strange way interact-distance checks work causing strange results with some mobs.

RangeDisplay is a front-end to LibRangeCheck-2.0, a library addon to
calculate the range estimates. DogTag also supports LibRangeCheck via
the [Range] tag, thus you can get range display in addons using DogTag
to build texts, like PitBull (unit frames) and CowTip (tooltip).

Note: RangeDisplay can only check for some specific distances, thus determining
a minimum and maximum range to the target. Some of these ranges are rather
large, so the range update may be slow, as it takes time to cover a bigger
distance. Unfortunately there is no way (that I know of) of providing higher
resolution for range estimates.

Options:

/rangedisplay locked
Toggle the locked state of RangeDisplay frame.
While unlocked, you can drag it to a position you like with the left mouse button and open its config menu by right-clicking on the frame.
While it is locked, you can click-thru the display.

/rangedisplay
Open the config GUI.

Install instructions:

NOTES:

After installing, RangeDisplay will be enabled by default, and unlocked, so you'll see a semi-transparent rectangle in the center of your UI that you can drag to a position you like. After finding a good place for it you should lock the frame with /rangedisplay locked, so that it won't eat your mouse clicks (note: the enemyOnly option only works in locked mode, too).

Contributors:

sayclub - koKR localization
Carylon - deDE localization
lcncg - zhCN and zhTW localizations
Pixel - frFR localization
This change log is outdated. See the auto-generated logs on Curse for recent changes.

v3.8.2
- Add optional sound notifications when entering range sections
- Make the default profile a shared "Default"
- Auto-lock frames when first entering combat

v3.7.6
- Bug fixes

v3.7.1

- added CONFIGMODE (OneButtonConfig) support
- added a new range section
- added option to use section colors as background
- added option to override the numeric range display with static text for sections
- added option to copy current section settings to all other active units
- hide the tooltip while moving
- made the configuration a separate load-on-demand addon to save memory

v3.5.0

- Added support for mouseover unit

v3.4.1

- Added option to hide the background when no valid target is selected
- disabled interact-distance based checks when spell/item based checks are available

v3.3

- Updated for wow version 3.1

v3.2

- Removed the checkVisibility option (it's not that useful now with the new ranges)
- Localization updates
- Fix melee range for Druids

v3.1-beta7

- Added background (backdrop and border) configuration

v3.1-beta3

- Update for 3.0.2 WoW patch
- Added support for displaying range to Focus and Pet (and of course the player's target)
- New IsItemInRange() based checks, much better granuality
- Nicer config dialog
- Optional minimap icon (needs LibDBIcon-1.0)
- Configurable colors for ranges

r68000
- fixed a (mostly theoretical) issue with font setting
- fixed a problem with the profile management functions
- added configurable suffix settings
- added out-of-range color setting
- isler added some cosmos integration

r67546
- just a minor update to enable the profile management.

r67422
- converted to Ace3 framework. Settings are lost due to AceDB-2.0 -> AceDB-3.0 change, sorry about that.

r45971:
- use Arcane Intellect instead of Remove Lesser Curse for mage friendly 30yd range check 'cos it's available from level 1
- added zhCN and zhTW localizations by lcncg
- added frFR localization by Pixel

r45455:
- use spell minimum ranges for estimates where possible (hunter, warrior)
- tweaked interact distances to be in-line with spell ranges
- fixed the buggy behaviour for tauren warriors (was related to interact distance strangeness)
- fixed the problem when some badly written addon hooked us incorrectly
- deDE localization by Carylon (thanks!)

r44840:
- converted RangeDisplay to use the AceAddon/AceDB/AceConsole framework. Unfortunately this means that previous configuration is lost, but RangeDisplay gained Profiles, and better chat commands. Also, RangeDisplay should be configurable via DeuceCommander and Niagara now.
- New 'enemyOnly' option to restrict range display for enemy targets only.
- New 'strata' option to allow setting the frame strata of the range display.
- Support for Gladiator Gloves (Shaman, Mage) in RangeCheck-1.0.
- Fix for out-of-range bug near the 10yd range for hunters with the Hawk Eye talent in RangeCheck-1.0.
- Range display is disabled now if target == player.

r44002:
- Fixed a bug regarding rangecheck for priests against enemy targets (was always showing out-of-range due to a wrong spell in the HarmSpells list).

r43074:
- Fixed an issue where some other addon hooked OnMouseDown() badly thus preventing dragging the display frame.
- Better font handling.
- Minor speed increase in RangeCheck-1.0.

r42768:
- Renamed from RangeCheck to RangeDisplay because of a naming conflict and to avoid confusion with RangeCheck-1.0 (the library part).
- Added "Shoot", "Throw", "Gift of the Naaru" and "Mana Tap" to spell lists.
- New option to display range when out of range as "minRange +".
- New option to check for 'visibility range', too (~ 100yd).
- Optional GUI config with Waterfall or Dewdrop.
- Font selection (font, size, outline, color) (only via GUI).

r41103:
- Changed spell list for Paladins and Warlocks, now RangeCheck should display the correct range for hostile targets.
- Removed the localization options from RangeCheck-1.0. Now the range is always reported in "min - max" format.
Optional Files (0)


Archived Files (19)
File Name
Version
Size
Author
Date
v4.2.3
275kB
mitch0
01-08-14 04:16 PM
v4.2.2
274kB
mitch0
05-29-13 05:44 AM
v4.1.0
274kB
mitch0
09-28-12 01:20 AM
v4.0.0
273kB
mitch0
09-07-12 02:05 AM
v3.9.8
272kB
mitch0
12-09-11 02:16 AM
v3.9.7
285kB
mitch0
07-09-11 09:40 AM
v3.9.6
285kB
mitch0
04-28-11 10:26 AM
v3.9.4
277kB
mitch0
12-07-10 02:28 AM
v3.9.1
275kB
mitch0
10-27-10 03:56 PM
v3.8.4
270kB
mitch0
10-17-10 06:54 AM
v3.8.2
375kB
mitch0
08-24-10 05:46 AM
v3.7.7
162kB
mitch0
12-11-09 03:28 AM
v3.7.6
160kB
mitch0
11-27-09 07:03 AM
v3.7.1
158kB
mitch0
09-05-09 08:25 AM
v3.5.0
163kB
mitch0
07-10-09 01:37 AM
v3.4.1
159kB
mitch0
06-16-09 06:25 AM
v3.3
165kB
mitch0
04-20-09 07:16 AM
v3.2
157kB
mitch0
02-09-09 03:45 AM
v3.1-beta7
148kB
mitch0
11-08-08 04:14 PM


Post A Reply Comment Options
Unread 03-09-12, 09:07 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar

Forum posts: 62
File comments: 261
Uploads: 0
Thumbs up Loving it!

I <3 this intensely, after one day of using it.

Is it possible to get distance to objects? As in, I'm trying to loot that chest and I don't want to be too near cause of the mob, finding the distance is difficult.

I can see it might not be possible at all, but I, at least, would find it useful. (I think...)

Have a banana!

Barleduq is offline Report comment to moderator  
Reply With Quote
Unread 04-29-11, 11:17 AM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
ZOMG Mitch!

I feel TERRIBLE. Here I was blaming Range Display for this mystery frame when all the time it was caused by an addon called Roguedar!

Please accept my humble apologies...you and Range Display are wonderful
Szyarah is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 01:21 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 73
Uploads: 6
Re: mitch ... all my frames ARE locked

Hello,

This frame is not part of RangeDisplay (at least I don't remember adding anything like this

try typing /framestack and mouseover the offending frame. maybe its name gives a hint as to what addon creates it.

cheers,
mitch

Originally posted by Szyarah
this is a framed window that simply says RD loaded. It does not appear to be a control.

My range display frames are locked, but this frame remains on the screen When I try to move it it attaches to my mouse and will not let go, resulting in me having to terminate wow and restart.

is this part of Range Display?
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 10:55 AM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
mitch ... all my frames ARE locked

this is a framed window that simply says RD loaded. It does not appear to be a control.

My range display frames are locked, but this frame remains on the screen When I try to move it it attaches to my mouse and will not let go, resulting in me having to terminate wow and restart.

is this part of Range Display?
Szyarah is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 10:29 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 73
Uploads: 6
Re: Why is there

Hi,

Make sure you lock the frames (by typing /rangedisplay locked, for example, or ctrl-clicking the frame)

cheers,
mitch


Originally posted by Szyarah
an annoying frame that reads RD is loaded in the middle of my screen? or ... anywhere?

Why can't I turn it off?


Please?
For now, I've reverted to the older version.
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 04-27-11, 09:21 PM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
Why is there

an annoying frame that reads RD is loaded in the middle of my screen? or ... anywhere?

Why can't I turn it off?


Please?
For now, I've reverted to the older version.
Szyarah is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 06:57 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 73
Uploads: 6
4.0.1 compatible version

Hi,

I've uploaded a new version that is compatible with 4.0.1. (version 3.8.4).

cheers,
mitch
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 10-15-10, 03:05 PM  
Dwargh
A Theradrim Guardian
 
Dwargh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 660
Uploads: 2
I get this error:
Code:
LibRangeCheck-2.0-100098:440: attempt to call upvalue 'GetSpellName' (a nil value)
LibRangeCheck-2.0-100098:468: in function <...Display\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:462>
LibRangeCheck-2.0-100098:723: in function `init'
LibRangeCheck-2.0-100098:950: in function `initialOnUpdate'
LibRangeCheck-2.0-100098:1004: in function <...Display\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:998>

Locals:
spellList = <table> {
 1 = 5185
 2 = 467
 3 = 1126
 4 = 28880
}
itemList = <table> {
 25 = <table> {}
 35 = <table> {}
 15 = <table> {}
 8 = <table> {}
 45 = <table> {}
 5 = <table> {}
 10 = <table> {}
 20 = <table> {}
 40 = <table> {}
 80 = <table> {}
 60 = <table> {}
 30 = <table> {}
}
interactList = <table> {
 3 = 8
 2 = 9
 4 = 28
}
res = <table> {
}
(for index) = 1
(for limit) = 4
(for step) = 1
i = 1
sid = 5185
name = "Healing Touch"
_ = ""
_ = "Interface\Icons\Spell_Nature_HealingTouch"
_ = 438
_ = false
_ = 0
_ = 2500
minRange = 0
range = 40
GetSpellInfo = <function> defined =[C]:-1
findSpellIdx = <function> @ RangeDisplay\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:437:
MeleeRange = 5
addChecker = <function> @ RangeDisplay\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:449:
checkers_SpellWithMin = <table> {
}
checkers_Spell = <table> {
}
pairs = <function> defined =[C]:-1
GetItemInfo = <function> defined =[C]:-1
checkers_Item = <table> {
}
next = <function> defined =[C]:-1
checkers_Interact = <table> {
 2 = <function> @ RangeDisplay\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:398:
 3 = <function> @ RangeDisplay\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:398:
 4 = <function> @ RangeDisplay\libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua:398:
Dwargh is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 09:37 AM  
H0PE
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 19
File comments: 279
Uploads: 1
Re: Re: Re: Re: minor bug

I lolled! Its so simple yet hard to understand that I couldn't even think of that when I was mucking around "what that hand could mean when the addon is unlocked".

Thanks!
*BTW Best ever range addon cant live without it at all, not when questing, pvping or in raids! :*** *

Originally posted by mitch0
Hello,

When you unlock the rangedisplay frames (/rangedisplay locked, or by clicking the LDB icon), there'll be a semi-transparent green hand icon in the middle of the screen. Position the mouseover unit's frame relative to that icon (as if it were your real mouse pointer) by dragging the frame, then lock the frames. Also make sure that the "Anchor to mouse" option is set for the mouseover unit (in the configuration window).

cheers,
mitch
H0PE is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 07:10 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 73
Uploads: 6
Re: Re: Re: minor bug

Hello,

When you unlock the rangedisplay frames (/rangedisplay locked, or by clicking the LDB icon), there'll be a semi-transparent green hand icon in the middle of the screen. Position the mouseover unit's frame relative to that icon (as if it were your real mouse pointer) by dragging the frame, then lock the frames. Also make sure that the "Anchor to mouse" option is set for the mouseover unit (in the configuration window).

cheers,
mitch

Originally posted by H0PE
Bug (I think):
Using Tinytip tooltip addon (maybe its important info, not sure).

My mouseover target's range is way over the mouse! I've tried to change it somehow, was looking for some anchor distance, but couldn't find anything. Also tried to change some tooltip related options on mouseover but nothing influencing mouseover target range "anchor" distance from mouse.

Please give some help or if its a bug fix. Thanks! :*
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 01:54 AM  
H0PE
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 19
File comments: 279
Uploads: 1
Re: Re: minor bug

Bug (I think):
Using Tinytip tooltip addon (maybe its important info, not sure).

My mouseover target's range is way over the mouse! I've tried to change it somehow, was looking for some anchor distance, but couldn't find anything. Also tried to change some tooltip related options on mouseover but nothing influencing mouseover target range "anchor" distance from mouse.

Please give some help or if its a bug fix. Thanks! :*
H0PE is offline Report comment to moderator  
Reply With Quote
Unread 11-27-09, 06:50 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 73
Uploads: 6
Re: minor bug

Originally posted by tuff_ghost
minor bug: the frame doesn't properly hide when you don't have a target. If I create a kgpanel and parent it to the frame, the panel will remain even when I drop target and the frame disappears (due to bg autohide option enabled). The same panel will disappear correctly when parented to other addons' target-based frames.
You should anchor to "RangeDisplayFrame_" .. unit, not "RangeDisplayMainFrame_" .. unit (the main frame is not hidden because some folks like to keep the background with the border etc even when no range is displayed (see the Auto Hide option among the background options).

and feature requests:
- ability to increment/decrement sliders by 1, by hovering over them and rolling the mousewheel...currently I can only increment/decrement by 2, by
dragging the slider handle
Can't do much about it, I use AceConfig for the configuration stuff and don't have much to say on how it renders the controls for my options. You can set exact values in the "text" area of the slider though. Also, try clicking on the slider first then use the mouse-wheel, I found this among the changelogs:


Ace3 - AceGUI: The Slider widget will only react to the mousewheel after it has been clicked (anywhere including the label) to prevent accidental changes to the value when trying to scroll the container it is in


- add a border inset slider
The border insets are derived from the Border Thickness parameter, see if changed that suits your needs.

cheers,
mitch
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 11-25-09, 05:22 PM  
tuff_ghost
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
minor bug: the frame doesn't properly hide when you don't have a target. If I create a kgpanel and parent it to the frame, the panel will remain even when I drop target and the frame disappears (due to bg autohide option enabled). The same panel will disappear correctly when parented to other addons' target-based frames.

and feature requests:
- ability to increment/decrement sliders by 1, by hovering over them and rolling the mousewheel...currently I can only increment/decrement by 2, by dragging the slider handle
- add a border inset slider
tuff_ghost is offline Report comment to moderator  
Reply With Quote
Unread 09-07-09, 01:41 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 73
Uploads: 6
Re: Minimap Button?

Originally posted by BJRubino
Is there an option to keep the minimap button? It seems that with this update, the button no longer is displayed on my UI.

Thanks,
BJR
Hello,

There are several addons out there that create minimap buttons for LDB objects, one example is Barrel, give it a try.

cheers,
mitch
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 09-06-09, 05:53 PM  
BJRubino
A Defias Bandit

Forum posts: 3
File comments: 60
Uploads: 0
Minimap Button?

Is there an option to keep the minimap button? It seems that with this update, the button no longer is displayed on my UI.

Thanks,
BJR
BJRubino is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.