Get an Epic Experience with Premium

nRange (Teleport range checker)

Warlock Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 804 Monthly Downloads
  • Supports: 6.0.2
  • 16,359 Total Downloads
  • Updated 10/24/2014
  • Created 03/22/2010
  • 21 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: WTFPL
  • Newest File: nRange 0.8.9
or

About nRange (Teleport range checker)

Nuggs Teleport Range Checking for 'locks and Monks

This will notify you whether you're in range or out of range of Demonic Circle or Transcendence. If your spell is on cooldown, it'll show that along with a timer on how much time is left on the cooldown.

[Warlocks]
This was mostly a rewrite of nDemonic. It's a lot better than nDemonic and I don't use that silly font anymore.
The cooldown will be correct with or without the glyph now, praise jesus(i guess), I properly handle cooldowns.
It doesn't matter how far away you get from your portal, it'll stay active as long as you have the buff.
When you die or change zones that removes your buff, it'll hide itself.

[Monks]
Distance might be off for your in range/out of range notification. Also, if it starts trying to show itself when it's not out, just use /nrange reset
Monks, I'm sure there's going to be some bugs with. It was a pain in the rear to get it working but I did.
When you get too far away from your clone and it despawns, the addon will hide itself as would be expected.
If you die or change zones, it gets hidden, that's all there is to it.

Configuration is handled by /nrange

Any further configuration can be done by editing the nRange.lua file itself.
Any suggestions, comments or whatever just leave here, also, I'll add the github repo when i create a new one.

TODO:

  • Add markers to minimap and directional arrows(minimap).
  • Configurable text/icon/both display.

10/24/2014
Updated toc. Might be a few tweaks. 10/21/2013
Added nRange_Clear to GetDistance for monks to clear after they reach 100 yards away

09/17/2013
Added check in zone_changed_new_area to clear automatically for monks without question. This should fix the
the issue with it showing when it shouldn't.

09/14/2013
Updated for 5.4
Removed all dependancies on pets from monks to relfect changes from Blizzard
Adjusted distance setting a smidge
adjusted monks spell to be based on distance, may not be completely accurate
added nRange_Reset in case monks bug out and you need to hide it.

08/24/2013
Range should be displayed almost properly, forgive a yard or two off.
Fixed setting distance, reversed "indoor" and "outdoour" I fucked up, sorry guys.
Changed color setting, lol... Now that we get distance properly(Mostly, it might be off a yard or two)... I suck.
Indoor outdoor transitions are still incorrectly handled, I'm working on it...

08/06/2013
Made a few changes, I honestly don't remember what they were. :)
Fixed a bug from 0.7.6 which caused it to not display the distance.
Started changing how range is stored and called.
Had a strange dream I uploaded code last night, caused me to upload code that was broke,
that was pretty awesome. :/

07/29/2013
Fixed UNIT_SPELLCAST_SUCCEEDED call. Apparently, I formated my conditional incorrectly and it was setting
stuff it should set whenever a spell was cast.
Added distance checking, it's sloppy, it's straight from Astrolabe with help from kjado(EchoPort) with minor changes from me.
added nRange_GetDistance for checking the distance of our ping
We now listen for the events dealing with minimap zoom updates and pings
Added new text nRangeDistance
Probably a few things I forgot about. I'm awesome like that.

05/22/2013
Updated for patch 5.3
Added IsInGuild to the communication function
Some other stuff...

04/04/2013
Players should only get cached if they aren't cached already instead of clearing anyways on full cache.(Not that it matters)
Changed max cache to 5

03/11/2013
Version change
Uploaded to WoWI/Curse, sorry, I was busy the past week and a half

02/26/2013
Fixed it showing in vehicles and whatnot
Removed a debug message from the communication module

02/23/2013
Finished(I hope) the version tracking, took a while, i don't have many friends to test with. :p

02/17/2013
Started version tracking since my last little screw up.
Corrected the cooldown calculation, it was about .5 seconds too slow.
Ack!! Moved the UnitInVehicle call in nRange_IsActive to the beginning of the function. Fixes it not displaying at all

02/16/2013
Shouldn't show when you're in a vehicle on a monk any longer. lol
nRange_SetMessage(int) sets the spell icon to NULL so we don't have it flashing when we use abilities,
a better fix would be to actually just fix whatever is causing it to flash when an ability is used.
Removed GetSpellInfo caching, that wasn't suppose to actually be here
Added a new variable 'nRange_IconSet' for displaying or hiding the spell icon... basically, a cheap workaround.
Rewrote a lot of the addon, some frame handling stuff was left but the core of it works completely different than before

08/29/2012
Removed TukUI based code, has to be rewritten for 5.x WoW
Updated the version number to 0.1.8
Updated toc.

8/11/2012
Updated toc

10/18/2011
Fixed COMBAT_LOG_EVENT_UNFILTERED to have the correct arguments for 4.2.
Changed a few if statements in COMBAT_LOG_EVENT_UNFILTERED
Added nDemonic_SetCooldown(duration), checks for glyph then sets the cooldown duration.
Added nDemonic_TukInit(), checks for tukui then sets the options accordingly.
Added new help display with more information and better formatting.
Added reset option to return nDemonic back to it's default state, incomplete.
Remove Tukui frames/panels. Started using new v13 API.
Changed OnUpdate function to throttle itself. Might revert back if I don't notice a performance boost.

11/04/2010
Updated the cooldown timers again. Damn Blizzard.

10/14/2010
Now that the cooldown bug is fixed, I've adjusted the cooldown timers to work properly

10/12/2010
Updated the version in the TOC file.

09/22/2010
Added a check for Glyph of Demonic Circle(I'm bad).
Adjusted the code for the changes coming in Cataclysm.(Do to changes in cataclysm, glyph detection only works on live with this version)

09/20/2010
Added draggable frame
Added slash commands ndemonic lock and unlock
base icon flashing when cooldown is up implemented(not included)
Cooldown display partially implemented, not included.

03/18/2010
Version changed to 0.1.1
Forgot to remove pointless comments. Bumping version. :)
Bumped the version to 0.1.0

03/14/2010
Most of the code went through a pretty major rewrite.
We now clear our portal when we die or change zones.
The portal no longer gets displayed as on cooldown when gcd is triggered
The only localization issues should be my nMessage text.
We now check COMBAT_LOG_EVENT_UNFILTERED for teleport/summon.
We no longer write the message to the frame each update(lol).

03/05/2010
Added a function to disable the UI if you're not a warlock
Fixed a memory leak if you're not a warlock and the addon is active.
Further worked on reducing memory usage.

02/24/2010
Added a change log
Cleaned up code to reduce the amount of lines to reduce the file size.
Stripped out comments to reduce file size.
Started work on adding a marker to the minimap(lol).

Addon Packs Containing This...

Comments

First Previous Page 2 of 3 Next Last
  • #21

    Something like this is planned, I've just yet to work on the warlock side of things which will have to be be handled differently than monks I'm thinking(Monks are handled by the "clone" or whatever, locks have a buff I can use) ...  Then again, I haven't delved too deep into it. I'm slowly getting to my feature list but I've just been swamped with work and after writing code all day(night), it's hard to get into the hobby side of it.  :p

     

    Forgot to mention, it's Lua.  :D  Some of the users of the language may take offense to it if you say LUA when searching for help if you ever do decide to mess with it.  :p

    Last edited by Major_Nuggs on 7/5/2013 11:53:27 AM
  • #22

    I suppose you mean I should not write Lua in all capitals.

    Take your time bro. Just have fun ^^

     

  • #18

    NOT Working at all.

  • #19

    Sounds like you're using 0.1.5, I applied a fix to something on that version that fixed it a little too well...

    For some reason, curse hasn't been serving the latest version...  :(

    Either way, 0.1.5 is broken, anything not 0.1.5 should work as advertised. 

  • #16

    This is the LUA error I get when it first loads (on a warlock toon - I have it turned off for my other toons)

     

    Date: 2012-02-08 18:47:34
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\nDemonic\nDemonic.lua line 127:
       bad argument #1 to 'unpack' (table expected, got nil)
    Debug:
       [C]: ?
       [C]: unpack()
       nDemonic\nDemonic.lua:127:
          nDemonic\nDemonic.lua:125
       nDemonic\nDemonic.lua:161: ?()
       nDemonic\nDemonic.lua:254:
          nDemonic\nDemonic.lua:254
    AddOns:

  • #17

    I just got my account resubbed by a friend so I'll look into correcting this.  I had assumed people weren't really using this too much.  :p

  • #13

    It crashes and generates a LUA error if loaded on a non warlock toon.

  • #14

    Can you post the error?  Only thing that happens it me is it disables the mod and reloads the game.

  • #11
    I am not sure what I am doing wrong, but I can't get this addon to show up at all. When I try to enter to config, it tells me that there are only lock and unlock in the chat frame, so I know that it is loaded. When I drop my portal, I do not see the text anywhere at all on my screen. I uninstalled it and re-downloaded it again, and still nothing.
  • #12

    lol, I hadn't had it updated for 4.2 apparently.  Anyway, should be updated whenever curse approves it.

  • #10
    any chance for an update for 4.1?
  • #7
    works fine in cata!

    changing the font style would be nice. at my installation the font looks not like the screenshot
  • #8
    nDemonicText:SetFont("Interface\\AddOns\\nDemonic\\Fonts\\times_new_yorker.ttf", 14, "OUTLINE")

    :) kk
  • #9
    You can change that line to this

    nDemonicText:SetFont(STANDARD_TEXT_FONT, 14, "OUTLINE");

    Or you can throw in any font you want(compatible with wow) and just change the "times_new_yorker.ttf" to whatever you put there and be golden. You can change the size by adjusting the 14 to whatever you need. :D

    I want to keep this as lightweight as possible so I may add in some lua configuration for these things to make it easier to change without getting the addon too bloated with configuration done in game.
  • #5
    how do i move the words around?
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship