RangeDisplay

RangeDisplay

Estimated range display. Type /rangedisplay for configuration or /rangedisplay locked to lock/unlock the frames.

Donate

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. Due to the whackyness of interact-distance based checks, recent versions only use those when spell/item based checks are not possible . The display can be configured in many ways (displaying only the max range, adding border and background, etc).

Currently you can set up RangeDisplay to show your current range to your target, focus, pet and mouseover units. The mouseover unit range can be anchored to the mouse or placed at a fixed position.

New in v3.8.0: It is possible to add sound notifications to "range sections" (similar to color setting). The sound will be played when entering the section. If two sections have the same sound file attached to them, then the sound is not played again if switching between the two sections.

This sound notification is enabled by default for the target unit's close range section.

Displaying max range only: if you want to display only the maxRange, you need to set Text to "%d" and tick the Reverse option for the section(s).

You must login to post a comment. Don't have an account? Register to get one!

  • 9 comments
  • Avatar of mitch0 mitch0 Aug 31, 2009 at 13:00 UTC - 0 likes

    Hi,

    I'm tearing out the options stuff into a separate addon, the upcoming alpha builds will most likely be BROKEN.

    You have been warned :)

    cheers, mitch

  • Avatar of louis79979 louis79979 Apr 24, 2009 at 05:11 UTC - 0 likes

    Thanks, it works perfectly..

  • Avatar of zainph zainph Feb 17, 2009 at 21:32 UTC - 0 likes

    Thanks, it works perfectly.

  • Avatar of mitch0 mitch0 Feb 09, 2009 at 08:34 UTC - 0 likes

    Hi,

      I've applied your changes and re-packaged range-display. Please try the r211 alpha build, and report back if it works or not.

    thanks
    mitch

  • Avatar of zainph zainph Feb 04, 2009 at 09:03 UTC - 0 likes

    Hi,

    First of all, thanks you for this addon. RangeDisplay is my favorate mod. But, there is a little problem for Druid. I couldn't do melee attacks in melee range (displayed 0-5 yard).

    So, I modified LibRangeCheck-2.0.lua.

    Line 62

     5211, -- [Bash], -- 5
    

    Then, I can do melee attacks in 0 ~ 5 yards RangeDisplay displays. And, 5~8 yards is displayed, that was not displayed before modification.

    Bash is an instant melee attack, druid can achieve it at level 14 from trainer.

    Maul is a range restricted spell, but at any range IsSpellInRange API returns 1.

  • Avatar of mitch0 mitch0 Nov 08, 2008 at 21:46 UTC - 0 likes

    Hi,

    I've implemented the background thing in v3.1-beta7, check it out. The "ugly" unlocked overlay is still there, just change its alpha to 0 in the code if you really really want to stay unlocked...

    cheers, mitch

  • Avatar of Zidomo Zidomo Nov 04, 2008 at 01:53 UTC - 0 likes

    Been using disembeds for years; yes, used the newest RangeCheck library with that mod. No range problems. Its errors are (unfortunately) frame related, as with many old mods in WoW 3.x.

    Ahhh...so unlocking is what causes the increased CPU usage of RangeDisplay. One of the reasons I was such a fan of Simple Range Indicator--besides its superior aesthetic design--was because it used a fraction of the CPU time that RangeDisplay did when I last tested them (with OptionHouse). RangeCheck and all other libraries were disembedded, so it was an accurate comparative test.

    I did not lock RangeDisplay during the testing (that I can remember), so that's probably what contributed to the CPU time differences.

    Simple Range Indicator's frame was permanently movable, yet it used a lot less CPU than RangeDisplay. So may be worth looking at it to find a better way of handling those OnUpdates.

    Anyway, ty for responding :)

  • Avatar of mitch0 mitch0 Nov 02, 2008 at 19:10 UTC - 0 likes

    Hi,

    If the bugs with SRI are range related, you might be able to fix it by using a standalone LibRangeCheck-2.0 (or copy the version from RangeDisplay to SRI). I have an open ticket that requests background setting, I'll look into it sometime. I'll see what I can do with keeping the frames unlocked, too (right now keeping it unlocked causes a lot of CPU waste, as OnUpdate is called even when you don't have a target), but since locking/unlocking is just a click away now with the minimap/LDB icon, I don't think it's that useful (and accidently eating up a mouseclick in the middle of a fight can be deadly...).

    So, keeping locked would probably still remain the "preferred" state, and there probably will be an apparent visual indicator (like the current greenish background/overlay) if the frames are unlocked. Changing that would have to be done manually as you just did, but at least changing it will also remain as simple as it it now, I promise :)

    cheers, mitch

  • Avatar of Zidomo Zidomo Nov 01, 2008 at 16:26 UTC - 0 likes
    Now that the terrific Simple Range Indicator (it also used the RangeCheck-2.0 library) is outdated and somewhat buggy in WoW 3.x, RangeDisplay has become my favorite mod of its type. Not a fan at all of a r187 change, though. "Made background uglier to make it more obvious that users should lock the frames". No actually, I don't need to be reminded to lock the frame. I have them unlocked because I prefer my frames movable (whatever they are: unit, healing, etc.). Its why I have not yet moved to oUF ;). So, I reverted that change on my local copy. Changed line 214 from ud.rangeFrameBG:SetTexture(0, 0.42, 0, 0.42) back to r186's ud.rangeFrameBG:SetTexture(0, 0, 0, 0.42) (frame went from an "ugly" green back to its original dark grey). Hope you'll reconsider the frame coloration for those out there that prefer to have their RangeCheck frames permanently movable. Heck, if you added an in-game alpha/color adjuster for the frames, it would be perfect :).
  • 9 comments

Facts

Date created
Apr 06, 2008
Category
Last update
Jan 29, 2014
Development stage
Release
Language
  • deDE
  • enUS
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
Public Domain
Curse link
RangeDisplay
Downloads
1,098,672
Recent files
  • R: v4.2.4 for 5.4.2 Jan 29, 2014
  • A: r357 for 5.4.2 Jan 29, 2014
  • R: v4.2.3 for 5.4.0 Sep 13, 2013
  • A: r355 for 5.4.0 Sep 13, 2013
  • R: v4.2.2 for 5.3.0 May 25, 2013

Authors