Download
(10 Kb)
Download
Updated: 10-21-13 08:07 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Updated:10-21-13 08:07 PM
Created:02-14-10 12:24 PM
Downloads:3,415
Favorites:28
MD5:
Categories:Warlock, Monk
5.4
nRange (Teleport range checker)
Version: 0.8.8
by: Nuggs [More]
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]
The cooldown will be correct with or without the glyph now.
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]
It may be off by a yard or two, I'm sorry. Also, if it bugs out and shows when it shouldn't use /NRANGE RESET to fix it. I'll have a proper fix shortly.
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.
https://github.com/nuggs/nRange

Any suggestions, comments or whatever just leave here.

TODO
  • Add markers to minimap and directional arrows(minimap).
  • Configurable text/icon/both display.
  • Add TukUI support
  • Make it not look so ugly, suggestions, please
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 ****ed 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
Some other things I don't remember

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

08/11/2012
Updated toc for 4.3.

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
Fixed the cooldown time(Again). Blizzard keeps adjusting the time on me.

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.

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).
Optional Files (0)


Archived Files (23)
File Name
Version
Size
Author
Date
0.8.7
10kB
Nuggs
09-17-13 05:13 PM
0.8.6
10kB
Nuggs
09-14-13 05:43 PM
0.8.1
10kB
Nuggs
08-24-13 11:53 PM
0.7.8
10kB
Nuggs
08-06-13 03:32 PM
0.7.5
10kB
Nuggs
07-29-13 06:48 PM
0.3.2
8kB
Nuggs
05-22-13 08:24 AM
0.2.8
8kB
Nuggs
04-04-13 05:31 PM
0.2.7
8kB
Nuggs
03-11-13 01:29 PM
0.2.6
8kB
Nuggs
02-24-13 03:27 AM
0.1.6
6kB
Nuggs
02-17-13 03:44 AM
0.1.5
6kB
Nuggs
02-16-13 11:37 PM
0.1.4
5kB
Nuggs
02-16-13 06:37 AM
0.1.8
391kB
Nuggs
08-29-12 05:08 AM
0.1.7b
391kB
Nuggs
08-11-12 07:42 PM
0.1.7
391kB
Nuggs
10-18-11 06:43 AM
0.1.6
390kB
Nuggs
11-04-10 09:10 PM
0.1.5
390kB
Nuggs
10-14-10 06:37 PM
0.1.4
390kB
Nuggs
10-12-10 09:20 PM
0.1.3
390kB
Nuggs
09-22-10 05:47 AM
0.1.2
390kB
Nuggs
09-20-10 02:32 AM
0.1.1
4kB
Nuggs
03-18-10 05:29 AM
0.0.3
2kB
Nuggs
03-06-10 03:25 AM
0.0.1
2kB
Nuggs
02-14-10 12:24 PM


Post A Reply Comment Options
Old 02-15-10, 09:27 AM  
Freak0o
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Is there a possibility to kinda draw a circle on where the port has been planted ( at least for regions where there are coords. )
Freak0o is offline Report comment to moderator  
Reply With Quote
Old 02-15-10, 03:31 PM  
Nuggs
A Deviate Faerie Dragon
 
Nuggs's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 16
Uploads: 5
Originally posted by Freak0o
Is there a possibility to kinda draw a circle on where the port has been planted ( at least for regions where there are coords. )
If you're talking about placing a marker on your Minimap, I'll look into this as that wouldn't be a bad idea.
Nuggs is offline Report comment to moderator  
Reply With Quote
Old 05-08-10, 08:44 AM  
Popa_popa
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Good addon, waiting for TODO!
Popa_popa is offline Report comment to moderator  
Reply With Quote
Old 06-09-10, 12:56 AM  
Nuggs
A Deviate Faerie Dragon
 
Nuggs's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 16
Uploads: 5
Originally posted by Popa_popa
Good addon, waiting for TODO!
Thanks, sorry for the delayed development, had some real life issues that I had to deal with.

Now that real life is back in order(mostly) I'm going to be able to pick back up on development. Or at least upload my current changes which is a movable frame I just have to get the position saving in.

Regards,
Nuggs
Nuggs is offline Report comment to moderator  
Reply With Quote
Old 05-18-11, 06:16 AM  
Gozer-Forscherliga
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
4.1?

any chance for an update for 4.1?
Gozer-Forscherliga is offline Report comment to moderator  
Reply With Quote
Old 10-07-11, 11:16 PM  
Nuggs
A Deviate Faerie Dragon
 
Nuggs's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 16
Uploads: 5
Re: 4.1?

Originally posted by Gozer-Forscherliga
any chance for an update for 4.1?
Sorry, I haven't been playing my lock this expansion since I just don't like how the class plays.

I also had a hard drive go out on me when I was in the middle of trying to sync it to my github which caused me to lose a lot of updated code and kind of made me lose interest.

I'll see about getting it updated and try and knock out some of the features I had finished if I can't recover my code from the hdd.
Nuggs is offline Report comment to moderator  
Reply With Quote
Old 08-11-12, 10:27 PM  
reale411
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally Posted by Nuggs
Just had my account resubbed by a very special friend. I'll update this so it works on the latest patch.
Add Monk Transcendence?
reale411 is offline Report comment to moderator  
Reply With Quote
Old 02-15-13, 08:31 PM  
Nuggs
A Deviate Faerie Dragon
 
Nuggs's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 16
Uploads: 5
Originally Posted by reale411
Originally Posted by Nuggs
Just had my account resubbed by a very special friend. I'll update this so it works on the latest patch.
Add Monk Transcendence?
Just figured I'd give you an update, a friend ended up getting me MoP for christmas and the first character I leveled was a monk, it's 87 now and I'm mostly done rewriting the addon to handle both warlocks and monks.

The monk part was difficult and there might still be some issues to work through while I'm rewriting it but I'm working on a usable form of the addon by the end of today.

Some of the issues is that transcendence doesn't appear to have an aura so tracking it's activity will be difficult.

There's been some major reworking of the addon so hopefully it'll be a little more usable. One of the biggest things was I finally stopped doing cooldowns the hard way and debugged my cooldown code that broke when I first started this...

Let's just say, it was a simple i like change that fixed it, guess I was too out of it. Anyways, the addon name is changing as well since it's no longer really for warlocks anymore.
Nuggs is offline Report comment to moderator  
Reply With Quote
Old 05-22-13, 05:35 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3675
File comments: 1860
Uploads: 38
You're currently causing "You are not in a guild" errors for characters who are not in a guild every time a comm would be sent. You need to add an IsInGuild() check before trying to send addon messages to the "GUILD" channel.

Though, I'm a bit puzzled as to why all this version checking comm stuff is there at all for an addon that should be purely a local display for your own spells.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 05-22-13 at 05:36 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 05-22-13, 08:23 AM  
Nuggs
A Deviate Faerie Dragon
 
Nuggs's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 16
Uploads: 5
Originally Posted by Phanx
You're currently causing "You are not in a guild" errors for characters who are not in a guild every time a comm would be sent. You need to add an IsInGuild() check before trying to send addon messages to the "GUILD" channel.

Though, I'm a bit puzzled as to why all this version checking comm stuff is there at all for an addon that should be purely a local display for your own spells.
I have it because 0.1.5 was a super crap release. It worked(didn't display) and I ended up releasing a fixed version a few minutes later but curse ended up serving 0.1.5 as the latest even though I had the bugfix released after... lol

Also, I just wanted to learn about the addon communication stuff, I just do this stuff for fun.

Anyways, it should be fixed(0.3.2, didn't see this until after I updated for 5.3), either i forgot or removed the checks.

Forgot to say, it can be disabled as well. It's commented in the code(27:nRange.lua) that it can be disabled. Just set that true to false and save the file and reload your interface, no more version checking.
Last edited by Nuggs : 05-22-13 at 08:31 AM.
Nuggs is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: