Download
(217Kb)
Download
Updated: 11-05-22 12:20 PM
Pictures
File Info
Compatibility:
Shadowlands patch (9.2.7)
WOTLK (3.4.0)
Dragonflight Pre-patch (10.0.0)
Classic (1.14.3)
Eternity's End patch (9.2.5)
TBC Patch (2.5.4)
Classic Patch (1.14.2)
Eternity's End (9.2.0)
TBC Patch (2.5.3)
Updated:11-05-22 12:20 PM
Created:unknown
Downloads:101,356
Favorites:385
MD5:

RangeDisplay  Popular! (More than 5000 hits)

Version: v5.0.3
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 (1)
File Name
Version
Size
Author
Date
v4.9.8
212kB
mitch0
07-18-22 05:30 AM


Post A Reply Comment Options
Unread 10-14-10, 07:10 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
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! :*
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 01:54 AM  
H0PE
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 299
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! :*
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: 79
Uploads: 4
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
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
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: 79
Uploads: 4
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
Report comment to moderator  
Reply With Quote
Unread 09-06-09, 05:53 PM  
BJRubino
A Defias Bandit

Forum posts: 3
File comments: 64
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
Report comment to moderator  
Reply With Quote
Unread 09-05-09, 09:45 AM  
Limb0
A Cobalt Mageweaver
 
Limb0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 220
File comments: 298
Uploads: 5
Love this little addon, simple, efficient, lightweight.. not much more I could ask for.

Thanks
Report comment to moderator  
Reply With Quote
Unread 06-17-09, 03:02 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Re: LDB support

Originally posted by xtoq
LDB support would be fantabulous.
Erm, it does have LDB support, although only for quick-launch functionality (to lock/unlock the frames or bring up the config dialog).

Do you mean a data-feed like functionality so that the range could be displayed in an LDB display addon? What exactly would be the benefit? (it would definitely add some overhead in terms of CPU usage).

cheers,
mitch
Report comment to moderator  
Reply With Quote
Unread 06-16-09, 09:28 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
LDB support would be fantabulous.
__________________
There is absolutely no evidence to support the theory that life is serious.
Report comment to moderator  
Reply With Quote
Unread 10-09-08, 07:27 PM  
jinleileiking
A Murloc Raider

Forum posts: 6
File comments: 102
Uploads: 0
very useful

worked very in cwow 2.4.3
Report comment to moderator  
Reply With Quote
Unread 07-31-07, 05:46 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Re: Re: Could not move the display

Should be OK in r45455 (although the problem is still in that other addon that hooks us incorrectly...)

cheers,
mitch

Originally posted by mitch0
Hi,

That error is most probably caused by some other addon incorrectly hooking RangeDisplay's OnMouseDown script (not passing the parameters). I'll add some checks to give a better error in this case to users, and try to "unhook" OnMouseDown, but the fix should be in the misbehaving addon really.

In the meantime, you could try disabling most of your addons, configure RangeDisplay, then turn your addons back again (this script is only used when moving the frame, once you put it to a good place, this won't get called).

cheers,
mitch
Report comment to moderator  
Reply With Quote
Unread 07-28-07, 07:49 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Re: Could not move the display

Originally posted by srcwiz
Love the addon

really help in judging the distance

problem is that I could not left-click on the screen to reposition the display.

the new version gives the following bug when left-click

Date: 2007-07-28 11:22:49
ID: 51
Error occured in: Global
Count: 1
Message: ..\AddOns\RangeDisplay\RangeDisplay.lua line 204:
attempt to index local 'this' (a nil value)
Hi,

That error is most probably caused by some other addon incorrectly hooking RangeDisplay's OnMouseDown script (not passing the parameters). I'll add some checks to give a better error in this case to users, and try to "unhook" OnMouseDown, but the fix should be in the misbehaving addon really.

In the meantime, you could try disabling most of your addons, configure RangeDisplay, then turn your addons back again (this script is only used when moving the frame, once you put it to a good place, this won't get called).

cheers,
mitch
Report comment to moderator  
Reply With Quote
Unread 07-28-07, 12:56 PM  
srcwiz
A Wyrmkin Dreamwalker

Forum posts: 51
File comments: 17
Uploads: 0
Could not move the display

Love the addon

really help in judging the distance

problem is that I could not left-click on the screen to reposition the display.

the new version gives the following bug when left-click

Date: 2007-07-28 11:22:49
ID: 51
Error occured in: Global
Count: 1
Message: ..\AddOns\RangeDisplay\RangeDisplay.lua line 204:
attempt to index local 'this' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 07-07-07, 12:21 PM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
Sweet, thanks for the fast update, love this little mod. I will give it a try.

Update: It's working great now, thanks
Last edited by T3nchu : 07-07-07 at 01:28 PM.
Report comment to moderator  
Reply With Quote
Unread 07-07-07, 07:06 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Originally posted by T3nchu
It prints out

### buttton: nil

without any other addons loaded it seems to work fine. I have too many addons to sort out which is causing the conflict :P So I will stick to manual editing the pref file for now. if I get time in the future I will try to sort it out. Thanks for the help, great addon.
Hi,

I think I found the issue, the workaround should be in r43074. (The problem is caused by some other addon badly hooking our script, and not passing the button parameter)

cheers,
mitch
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.