Download
(1012Kb)
Download
Updated: 10-22-14 05:10 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-22-14 05:10 AM
Created:unknown
Downloads:500,832
Favorites:1,022
MD5:

Natur Enemy Castbar  Popular! (More than 5000 hits)

Version: 60000-R1
by: Codermik [More]





Natur Enemy Castbar is based on a very old excellent PvP/PvE addon originally created by Naturfreund.


The following have been implemented:


•Show a targets Beneficial buffs and debuffs with the option to ignore certain spells or abilities.
•Target & Focus - Bar display can be switched to your target/focus only, or you can show all player casts around you. In target/focus mode the bars show a T or an F on the right showing you where the cast is from.
•Movable Groups - Groups can be grouped as one or split up.
•Shows your targets cooldowns, beneficial buffs and much more!
•Killing Blow Sounds - Plays a Unreal sound when you get a killing blow on another player - both male and female sounds are provided. This option can be turned off or played during questing normal mobs.
•Play a fun DeathKnight sound!
•Bar Customization – Edit the bar height, width, texture, direction and bar max.
•Rogue warning – Natur detects Stealth, Vanish etc and warns you that a hostile rogue is near by a UI border flash and UI text warning.
•Diminish Returns Timers – also plays warning when your target is immune or resists your abilities. Support is also provided to show others DR timers.
•Correctly shows duration of a cast which your target already started!


For the purpose of the Ability/Spell ignore feature, the following English client abilities and spells are ignored by default:


power word: fortitude
prayer of fortitude
prayer of spirit
divine spirit
prayer of shadow protection
shadow protection
inner fire
mark of the wild
gift of the wild
thorns
seal of righteousness
blessing of might
greater blessing of might
blessing of sanctuary
greater blessing of sanctuary
blessing of kings
greater blessing of kings
arcane intellect
well fed
pirate costume


[OPTIONS]


For in game options please type /natur
Other quick commands are /natur anchor which toggles the group titles.


A list of the available options are below:


Split Timer Groups
Default is ON : this option splits buffs, debuffs, cooldowns etc into their own seperate groups which can be dragged to a suitable area of your screen. When off, all those timers are sent to the Primary Group which is all grouped
together.


Show Friendly Casts
Show Hostile Casts
Default is ON : This shows what your target/focus is casting (unless you have Show Casts Without T/F on), if the target is friendly then it will be sent to the correct group unless you have Split Timer Groups turned off. However, bars show a red/green T/F icon indicating if its a target or focus and if its friendly or hostile.


Show T/F Debuffs
Default is ON : This option tells Natur to show your target/focus debuffs (Dots etc) and their durations. This group is also used by the option "Show Buffs/Debuffs on me" and will therefore not switch off the group anchor if one of the two options is turned on.


Show T/F Gains
Default is ON : As with the "Show T/F Debuffs", this options shows beneficial buffs on your target or focus. The same applies regarding the "Show Buffs/Debuffs on me" options where the group will still show when either of these options are turned on.


Show Target Cooldowns
Default is ON : Natur attempts to calculate the targets cooldowns but will only function correctly if your target used his spell or ability in range of your combat log.


Show Diminish Returns
Default is ON : Displays a 18 second timer when spells which have a diminish return restriction enforced by Blizzard. Show Others DR's : Default is OFF : Displays others DR's around you, this can be quite spammy at the moment in battlegrounds such as Wintergrasp. I will be changing this to a target/focus like the rest of the addon at a later date.


Show Buffs/Debuffs on me
Default is OFF : Any buffs/debuffs applied to me such as renew, corruption etc will show with this option.


Show everyones buffs/debuffs on target and not just mine
Default ON : With this option on you will see all buffs/debuffs on your target or focus. When OFF, only timers are shown for spells you applied to your target or focus.


Show Casts without T/F
Default is OFF : Shows all casts (both friendly/hostile) around you. Nice and spammy in a city


Announce Applied Crowd Controls
Default is ON : Sends a message to chat that you have applied a crowd control spell to your target. Announce When It Breaks : Default is ON : Sends a message to chat when your target breaks from its crowd control spell. Play Sound : Default ON : Play a warning sound when your target breaks. Flash GUI : Default ON : Flashes the border of your screen red when your target breaks.


Announce Crowd Control Immune
Default is ON : Announces to chat when a attempt to crowd control fails, i.e. when diminish returns kick in or in a raid when a mob is immune.
- Play Sound
- Flash GUI


Display Rogue Warning
Default is ON : As it says on the box, displays a rogue warning if a spell is detected nearby by a hostile rogue.
- Play Sound
- Flash GUI


Auto Reputation Bar
Default is ON : Switches your reputation bar to the faction you just received reputation from. Handy when rep grinding in battlegrounds or with factions.


Play fun sound when using Deathknight Deathgrip
Default is ON : Plays a fun "Get over here" or "come here" when you use Deathgrip.


Play PvP Death Sounds
Default is ON : Plays a fun Unreal sound when you get a killing blow on a player (or NPC) if the below option is set.
- Include NPC's


Spell fade monitoring
Default is ON : Turns on spell monitoring which will notify you if a spell has expired or has been dispelled. Note that you must also include the spell name to monitor for this feature to work correctly.

- fixed to work with 6.0 - may not be perfect so please report issues.
Post A Reply Comment Options
Unread 04-18-08, 12:25 PM  
domn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
How to remove headers

First of all, I am glad to see most of the functionality is there.


==== REMOVING HEADERS ===

I found the headers always being there extremely annoying. I was able to hack around to make the bulky headers disappear. If anyone is interested this is how you do it:

in generator.lua:

there are a few lines that "SetBackdropColor". You want to set these to have something low like .02 (or even 0) instead of .75. This number is the transparency.
anchor:SetBackdropColor(0,0,0,0.02);

Also, I got rid of the text by changing:
anchor.title:SetText(title);
to
anchor.title:SetText("");

done.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 12:28 PM  
domn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
How to add spells?

In spells.lua, here is an example line for kidney shot:

add{id=408,duration=6,class="rogue",school="physical",cooldown=20}; -- Kidney Shot

I assume the only thing that connects this with kidney shot is the number 408. If someone could tell me how to find out this number I could populate the list of spells that are missing: CoS, pummel, kick, (there is a post below with a list). I'm glad the functionality is here and one of my major gripes is some missing spells, so I would like to add them for myself (and submit my changes to help).
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 12:38 PM  
domn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Clicking counters

It would be nice if I could click the counters. For example, rejuvination shows up on the enemy buffs list, I would like to click it so I can offensively dispel it.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 01:12 PM  
Exeglow
A Murloc Raider

Forum posts: 5
File comments: 10
Uploads: 1
Re: How to add spells?

Originally posted by domn
I assume the only thing that connects this with kidney shot is the number 408. If someone could tell me how to find out this number I could populate the list of spells that are missing
You can go to Wowhead and look up the spell. The url will contain the spellID. If you have your status bar enabled, you can simply hover over the link to the spell to see it's ID. For example, hover over this and look at your staus bar. That's the spellID for pummel (rank 1)
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 02:30 PM  
Maccaa
A Fallenroot Satyr
 
Maccaa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 83
Uploads: 3
Few things i've noticed already.

Kidney shot timer is hardly ever correct even tho it does remove once debuff has faded.

^ Same with Rupture, see NECB CECB_Debuffs.lua search "cpinterval" for an idea on how to use combo points with these abilites (Will need it for Druid Maim ability aswell)

Need poison timers for rogues.

the
Code:
attempt to concatenate local 'source' (a nil value)
seems to be connected with cross-realm players.
Last edited by Maccaa : 04-18-08 at 03:04 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 04:25 PM  
domn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Adding missing spells

Below are some missing spells that can be added to Spells.lua

However, something very weird happens for some of these. For example, with ice block/water elemental/icy veins it will say the cooldown is the duration and not the cooldown (that is, the bar disappears after the duration is up). For now I might just set the duration = to the cooldown since its not showing up at all in the enemybuffs bar.

Spells I have tested it on that have this problem:
CoS, water elemental, blink, ice block, icy veins

If I am missing something please let me know so I can get this to work.


At the very bottom is a list of hacked versions that have the duration=cooldown, if you want something that works right now.


== ones that dont work ===============

add{id=1769,duration=5,class="rogue",school="physical",cooldown=10}; -- kick
add{id=31224, duration=5, class="rogue",school="physical",cooldown=60}; -- cloak of shadows
add{id=6554, duration=5, class="warrior", school="physical", cooldown=10}; -- pummel
add{id=10890, duration=8, class="priest", school="shadow", cooldown=27}; -- psychic scream (disc priest w/ s3 glove)
add{id= 17116, duration=0, class="druid", school="nature", cooldown=180}; -- nature's swiftnss
add{id=1953, duration=1, class="mage", school="arcane", cooldown=15}; -- blink -- goes away too fast
add{id=45438, duration=10, class="mage", school="frost", cooldown=30}; -- ice block (hypothermia CD, b/c of coldsnap)
add{id=12472, duration=20, class="mage", school="frost", cooldown=180}; -- icy veins
add{id=12043, duration=0, class="mage", school="arcane", cooldown=180}; -- PoM
add{id=31687, duration=45, class="mage", school="frost", cooldown=180}; -- Water Elemental
add{id=1044, duration=10, class="paladin", school="holy", cooldown=25}; -- Blessing of Freedom
add{id=1020, duration=12, class="paladin", school="holy", cooldown=300}; -- Divine Shield (pally bubble)
add{id=18499, duration=10, class="warrior", school="physical", cooldown=30}; -- Berserker Rage



===== hacked version =====

add{id=1769,duration=5,class="rogue",school="physical",cooldown=10}; -- kick
add{id=31224, duration=60, class="rogue",school="physical",cooldown=60}; -- cloak of shadows
add{id=6554, duration=5, class="warrior", school="physical", cooldown=10}; -- pummel
add{id=10890, duration=27, class="priest", school="shadow", cooldown=27}; -- psychic scream r4 (disc priest w/ s3 glove)
add{id=10888, duration=27, class="priest", school="shadow", cooldown=27}; -- psychic scream r3 (disc priest w/ s3 glove)
add{id=8124, duration=27, class="priest", school="shadow", cooldown=27}; -- psychic scream r2 (disc priest w/ s3 glove)
add{id=8122, duration=27, class="priest", school="shadow", cooldown=27}; -- psychic scream r1 (disc priest w/ s3 glove)
add{id= 17116, duration=180, class="druid", school="nature", cooldown=180}; -- nature's swiftnss
add{id=1953, duration=15, class="mage", school="arcane", cooldown=15}; -- blink -- goes away too fast
add{id=45438, duration=30, class="mage", school="frost", cooldown=30}; -- ice block (hypothermia CD, b/c of coldsnap)
add{id=12472, duration=180, class="mage", school="frost", cooldown=180}; -- icy veins
add{id=12043, duration=180, class="mage", school="arcane", cooldown=180}; -- PoM
add{id=31687, duration=180, class="mage", school="frost", cooldown=180}; -- Water Elemental
add{id=1044, duration=25, class="paladin", school="holy", cooldown=25}; -- Blessing of Freedom
add{id=1020, duration=300, class="paladin", school="holy", cooldown=300}; -- Divine Shield (pally bubble)
add{id=18499, duration=30, class="warrior", school="physical", cooldown=30}; -- Berserker Rage
Last edited by domn : 04-18-08 at 04:57 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 04:48 PM  
Maccaa
A Fallenroot Satyr
 
Maccaa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 83
Uploads: 3
Fury and Protection aren't schools.

Also I have been testing a little bit in WSG. Seems the error for 'source' only happens on Prayer of Mending jumping to other targets or a Mage Spell Stealing someone's buff. srcNAME == nil on these
Last edited by Maccaa : 04-18-08 at 04:53 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 04:55 PM  
domn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Maccaa
Fury and Protection aren't schools.

Also I have been testing a little bit in WSG. Seems the error for 'source' only happens on Prayer of Mending jumping to other targets or a Mage Spell Stealing someone's buff. srcNAME == nil on these
What is divine shield? physical or holy?


Found out on my own: its holy
Last edited by domn : 04-18-08 at 04:56 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 05:10 PM  
Maccaa
A Fallenroot Satyr
 
Maccaa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 83
Uploads: 3
Great work <3 the new layout/code
-------------------
It seems on the error

Code:
attempt to concatenate local 'source' (a nil value)
you need to use destNAME rather then srcNAME.

a simple fix in SPELL_AURA_APPLIED (which is the only event giving this error by my tests)

Code:
if srcNAME == nil then srcNAME = destNAME end
I also edited it a little bit to be

Code:
local source = string.match(srcNAME, "[^-]*")
This strips the Realm name from a player on another server (Arena, BGs) which you might want to add in


-----------------------------

Also a few abilites have a shorter duration if the unit is a player (PVP), Maybe add a check?

Example: Sap = 45s on NPC, 10s on Player

-----------------------------

@Domn

Might need to add meta="BUFFS" to a few of those, also I'm not to sure adding Kick/Pummel is the best idea atm as I'm sure a check to see if they actually interrupted anything before showing a timer would be best
Last edited by Maccaa : 04-18-08 at 07:12 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-08, 05:54 PM  
-Dragon-
A Deviate Faerie Dragon
 
-Dragon-'s Avatar

Forum posts: 15
File comments: 25
Uploads: 0
Re: Clicking counters

Originally posted by domn
It would be nice if I could click the counters. For example, rejuvination shows up on the enemy buffs list, I would like to click it so I can offensively dispel it.
Not possible since blizard locks the UI during combat for things like unit frames and button mapping. Best you could possibly hope for is clicking the buff would target the enemy so you could manually cast, tho I'm not even sure the UI will allow that.
Report comment to moderator  
Reply With Quote
Unread 04-19-08, 12:39 AM  
Awwe
A Kobold Labourer
 
Awwe's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 14
Uploads: 1
New Error?

Got this error today, doesn't seem to have an effect on anything but it's still an error :P

Code:
[2008/04/19 01:09:18-117-x1]: NaturCombatTimers\addon\generator.lua:85: attempt to concatenate local 'source' (a nil value)
NaturCombatTimers\addon\parser.lua:51: in function `callback'
NaturCombatTimers\embed\LibWombat\LibWombat.lua:57: in function <...dOns\NaturCombatTimers\embed\LibWombat\LibWombat.lua:52>

  ---
Report comment to moderator  
Reply With Quote
Unread 04-19-08, 12:38 PM  
Caanrial
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
feature request: trash respawn timers

One of the great features I really liked in the original was how it started a timer in a bar when we killed the trash before each raid boss, so I always knew how long before repops. Sure like to have that again...
Report comment to moderator  
Reply With Quote
Unread 04-19-08, 04:04 PM  
Awwe
A Kobold Labourer
 
Awwe's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 14
Uploads: 1
Re: feature request: trash respawn timers

Originally posted by Caanrial
One of the great features I really liked in the original was how it started a timer in a bar when we killed the trash before each raid boss, so I always knew how long before repops. Sure like to have that again...
You can use Incubator instead. It's available from wowace.
Report comment to moderator  
Reply With Quote
Unread 04-20-08, 12:39 AM  
Shaine11
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: feature request: trash respawn timers

DGKS is updated and working.... For those of u that done know its a KB mod that has all the cool sounds like Natur did when it was working. This goes to show that there is no longer a bug that would prevent u guys from making the KB sound work again... files.wowace.com "DGKS" Happy killing guys!
Report comment to moderator  
Reply With Quote
Unread 04-20-08, 03:55 AM  
eNsity
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
well.. i noticed it doesnt work on arena.. am i the only one?
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.