Addon Info.
Change Log
Optional Files (2)
Comments (21)
  Category: Ace: Combat
Addon Information
Works with WoTLK
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
v3.1-beta7
Date:
11-08-2008 05:14 PM
Size:
147.76 Kb
Downloads:
7,083
Favorites:
98
MD5:
Pictures
Click to enlarge
28-30
Click to enlarge
35-36
RangeDisplay   Popular!
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. If, for example, a mage's Arcane Missile spell is
in range, but the character is out of follow-range (an interact distance based range), the addon will display 28 - 30.

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 config
Open the config GUI.

Note: the rest of the options changed a bit, I'll update the info soon

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
  Change Log - RangeDisplay
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 - RangeDisplay
File Name
Version
Size
Author
Date
Type
r45969
8kB
08-08-2007 03:53 AM
Addon
r45971
16kB
08-08-2007 03:52 AM
Addon
  Comments - RangeDisplay
Post A Reply
Author Comments Comment Options
Old 10-09-2008, 09:27 PM  
jinleileiking
A Murloc Raider

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

worked very in cwow 2.4.3
jinleileiking is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-31-2007, 07:46 PM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
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

Quote:
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   Edit/Delete Message Reply With Quote
Old 07-28-2007, 09:49 PM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
Uploads: 4
Re: Could not move the display

Quote:
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   Edit/Delete Message Reply With Quote
Old 07-28-2007, 02:56 PM  
srcwiz
A Cyclonian

Forum posts: 49
File comments: 14
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   Edit/Delete Message Reply With Quote
Old 07-07-2007, 02:21 PM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 11
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-2007 at 03:28 PM.
T3nchu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-07-2007, 09:06 AM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
Uploads: 4
Quote:
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   Edit/Delete Message Reply With Quote
Old 07-06-2007, 08:31 AM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 11
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-2007 at 11:12 AM.
T3nchu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-06-2007, 03:48 AM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
Uploads: 4
Quote:
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   Edit/Delete Message Reply With Quote
Old 07-05-2007, 06:23 PM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 11
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   Edit/Delete Message Reply With Quote
Old 07-05-2007, 02:35 PM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
Uploads: 4
Quote:
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   Edit/Delete Message Reply With Quote
Old 07-05-2007, 02:12 PM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 11
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   Edit/Delete Message Reply With Quote
Old 07-05-2007, 07:36 AM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
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-2007 at 07:37 AM.
mitch0 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-02-2007, 10:08 PM  
mitch0
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 24
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
mitch0 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2007, 11:56 AM  
T3nchu
A Kobold Labourer

Forum posts: 0
File comments: 11
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-2007 at 11:58 AM.
T3nchu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-24-2007, 12:27 AM  
magehk
A Kobold Labourer

Forum posts: 0
File comments: 10
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!
magehk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOUI | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.