Download
(217Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 06-14-24 09:36 AM
Pictures
File Info
Compatibility:
Dark Heart (10.2.7)
Cataclysm Classic (4.4.0)
Classic (1.15.1)
WOTLK Patch (3.4.3)
TBC Patch (2.5.4)
Updated:06-14-24 09:36 AM
Created:unknown
Downloads:101,724
Favorites:384
MD5:
10.2.7

RangeDisplay  Popular! (More than 5000 hits)

Version: v6.1.2
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

RangeDisplay
v6.1.2 (2024-06-14)
Full Changelog
  • bump
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
v6.1.0
217kB
mitch0
05-23-24 02:14 PM
v5.0.3
217kB
mitch0
11-05-22 12:20 PM
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.