Download
(217Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 05-23-24 02:14 PM
Pictures
File Info
Compatibility:
Dark Heart (10.2.7)
Classic (1.15.1)
WOTLK Patch (3.4.3)
TBC Patch (2.5.4)
Updated:05-23-24 02:14 PM
Created:unknown
Downloads:101,555
Favorites:384
MD5:
10.2.7

RangeDisplay  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: v6.1.0
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.0 (2024-05-23)
Full Changelog
  • add release script
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
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 06-20-07, 11:28 AM  
Geboran
A Rage Talon Dragon Guard

Forum posts: 308
File comments: 34
Uploads: 0
This could be rather handy for casters needing to stay "just in range" or at "max" range.

A couple of questions:
1.) Is the text regarding the range able to be "moved" to a destination chosen by the user?

2.) Can the text be formatted, color changed, sized changed, etc. by the user?
I could see this information being useful for: Target, Target of Target, Focus, Focus Target. Any plans for the RangeCheck information to be used to track this information as well?
__________________
------------------------------------------
Geboran - Level 70 Paladin
<Evolution>
Stormreaver (US), Alliance
Report comment to moderator  
Reply With Quote
Unread 06-20-07, 12:02 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
1.) Is the text regarding the range able to be "moved" to a destination chosen by the user?
Yes, initially the display is "unlocked", you can move it wherever you want. The text size can be changed, too. (it's in the description, btw)

2.) Can the text be formatted, color changed, sized changed, etc. by the user?
Not at the moment, it's a "bare-bones" version, which was good enough for me. If enough people would like to see color coding though, it could be added (probably along with custom formatting). I'll look around how to do font selection with minimal fuss. If it's not too ugly, I'll add that too. All this would require a proper config menu though, which I tried to stay away from

I could see this information being useful for: Target, Target of Target, Focus, Focus Target. Any plans for the RangeCheck information to be used to track this information as well? [/b]
I'm planning on adding mousover-tooltip support into RangeCheck directly, but the rest should go into UnitFrame addons (like PitBull). They could use the library part (RangeCheck-1.0) to get the range, and format / display that as they wish. Try bugging your favourite UnitFrame's author about it.

cheers,
mitch
Last edited by mitch0 : 06-20-07 at 12:13 PM.
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 05:43 AM  
Kolakhan
A Deviate Faerie Dragon

Forum posts: 18
File comments: 54
Uploads: 0
Isn't there ranges above 28? Standard range is 30 and certain classes can extend that with skills to past 40 I think. Why increments of 9? Is that the start of melee range? Thanks for the effort.
Last edited by Kolakhan : 06-22-07 at 05:50 AM.
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 08:38 AM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Originally posted by Kolakhan
Isn't there ranges above 28? Standard range is 30 and certain classes can extend that with skills to past 40 I think. Why increments of 9? Is that the start of melee range? Thanks for the effort.
Hi,

Normally, there are ranges above 28, but for some NPCs neither beneficial, nor harmful spells can be cast (most of the NPCs in Shattrah fall in this category). For these only the interact distance based checks are available, which allow checking for 9, 10 and 28 yard range. For me (frost mage) the granuality is: 0-9-10-20-28-30-35-36-40 for an "enemy" target. Unfortunately, you can't get better resolution with the current API.

If you do have a spell that is higher range then 28 and you still don't see higher ranges displayed, then please let me know: what class are you playing, which spell that is, what type of target you tried to target where the range didn't show better results.

thanks,
mitch
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 12:27 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Originally posted by Geboran
...
I could see this information being useful for: Target, Target of Target, Focus, Focus Target. Any plans for the RangeCheck information to be used to track this information as well?
I've added [Range] tag support into DogTag-1.0, so addons using DogTag-1.0 can display the range using RangeCheck-1.0. I know that PitBull (a unit frame mod) and CowTag (a tooltip mod) is using DogTag, for example.

cheers,
mitch
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 03:39 PM  
Geboran
A Rage Talon Dragon Guard

Forum posts: 308
File comments: 34
Uploads: 0
Originally posted by mitch0
I've added [Range] tag support into DogTag-1.0, so addons using DogTag-1.0 can display the range using RangeCheck-1.0. I know that PitBull (a unit frame mod) and CowTag (a tooltip mod) is using DogTag, for example.

cheers,
mitch
Sweet.

I'll take a look at this. I appreciate the patience.
__________________
------------------------------------------
Geboran - Level 70 Paladin
<Evolution>
Stormreaver (US), Alliance
Report comment to moderator  
Reply With Quote
Unread 06-23-07, 10:27 PM  
magehk
A Murloc Raider

Forum posts: 4
File comments: 20
Uploads: 0
Command problem

I found a problem using this addon with DBM (Deadly Boss Mods), when i try to lock the range frame, i typed "/rangecheck lock", the frame didnt lock but only the range check function from DBM showed which is "<Deadly Boss Mods> More Than 30 yards away:". So i try to turn DBM off and then everything works fine. All the setting and commands works.
thanks you for this excellent addon anyway!
Report comment to moderator  
Reply With Quote
Unread 06-25-07, 09:56 AM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
Is it possible to add 40+ display when the target is out of range? I was able to change the Range Check 1.0 r40833

-- uncomment it if you prefer an Out of range display instead of hiding the display
L.OutOfRange = "40+"
L.MeleeRange = "0 - 5"
-- L.MeleeRange = "Melee"

the lastest version, does not include those lines so I can't really modifiy it.

to that, which allow me to have 40+ range displayed if my target is out of range. I know it's not important but I just like the display!

And I also have same problem with DBM as Magehk
Last edited by T3nchu : 06-25-07 at 09:58 AM.
Report comment to moderator  
Reply With Quote
Unread 07-02-07, 08:08 PM  
mitch0
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 79
Uploads: 4
Hi,

I'm working on a new version that'll be renamed RangeDisplay to resolve the naming conflict with DBM and will have options to display out of range as 40 +, or even 40 - 100 (visibility range). Stay tuned

cheers,
mitch
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: 79
Uploads: 4
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.
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
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: 79
Uploads: 4
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
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!?
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: 79
Uploads: 4
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
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.
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.