Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(275 Kb)
Download
Updated: 10-30-14 01:04 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-30-14 01:04 AM
Created:unknown
Downloads:59,218
Favorites:380
MD5:
6.0.3
RangeDisplay  Updated less than 3 days ago!  Popular! (More than 5000 hits)
Version: v4.3.1
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 (21)
File Name
Version
Size
Author
Date
v4.2.5
276kB
mitch0
10-18-14 10:57 AM
v4.2.4
275kB
mitch0
01-29-14 07:12 AM
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 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: 10
Love this little addon, simple, efficient, lightweight.. not much more I could ask for.

Thanks
Limb0 is offline 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: 76
Uploads: 6
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
mitch0 is offline 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: 640
Uploads: 3
LDB support would be fantabulous.
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline 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
jinleileiking is offline 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: 76
Uploads: 6
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
mitch0 is offline 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: 76
Uploads: 6
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
mitch0 is offline 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)
srcwiz is offline 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.
T3nchu is offline 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: 76
Uploads: 6
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
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 07-06-07, 06:31 AM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
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.
Last edited by T3nchu : 07-06-07 at 09:12 AM.
T3nchu is offline Report comment to moderator  
Reply With Quote
Unread 07-06-07, 01:48 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 76
Uploads: 6
Originally posted by T3nchu
Got the full version one, not the noext one. I can see the rectangle, but nothing happen when I click it, i can get the drop down window and see the display is unlocked. I end up modifying the pref file and was able to place it where I wanted. Not sure why it's not working for me!?
Hm. I'm really puzzled. If you'd like to help me nail this problem, could you please edit the RangeDisplay.lua file and add these two print() lines as below, and paste here what is printed on your chat window when you try to drag it?

Code:
rangeFrame:SetScript("OnMouseDown", function(this, button)
        print("### button: " .. tostring(button))
        if (button == "LeftButton") then
            this:StartMoving()
            print("### moving...")
            isMoving = true
        end
    end)
Another thing you might try is to start a new character and disable all addons for it except RangeDisplay and see if it works that way.


Thanks,
mitch
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 07-05-07, 04:23 PM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
Got the full version one, not the noext one. I can see the rectangle, but nothing happen when I click it, i can get the drop down window and see the display is unlocked. I end up modifying the pref file and was able to place it where I wanted. Not sure why it's not working for me!?
T3nchu is offline Report comment to moderator  
Reply With Quote
Unread 07-05-07, 12:35 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 76
Uploads: 6
Originally posted by T3nchu
Can't seem to be able to reposition the Range display location and yes it's unlocked
Have you tried it with the left mouse button? Moving is restricted to left button now, 'cos right-click opens the Dewdrop menu.

Which version have you downloaded? The embedded (default) or the -noext.zip?

Do you see the semi-transparent rectangle?

What does /rangedisplay dumpdb show?

I've tried the zips before uploading them and I didn't have any problems (even when all other addons were turned off).

can't think of anything else now...

cheers,
mitch
mitch0 is offline Report comment to moderator  
Reply With Quote
Unread 07-05-07, 12:12 PM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
Can't seem to be able to reposition the Range display location and yes it's unlocked
T3nchu is offline Report comment to moderator  
Reply With Quote
Unread 07-05-07, 05:36 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 76
Uploads: 6
Hello,

I've uploaded the new release, see the ChangeLog for the new stuff. Please note that the addon is renamed, so remove the old RangeCheck folder before installing this.

I'd like to hear from anyone who tried it, especially about bugs, but "working as intended for XXX class" would be nice, too, as I can only test it extensively with my mage.

Cheers,
mitch
Last edited by mitch0 : 07-05-07 at 05:37 AM.
mitch0 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.