Download
(3Kb)
Download
Updated: 06-23-08 01:12 PM
Pictures
File Info
Updated:06-23-08 01:12 PM
Created:unknown
Downloads:4,402
Favorites:9
MD5:

NinjaYell

Version: r7
by: ganders [More]

NinjaYell is a small addon useful for announcing to your group when key spells are applied, removed or missed (resisted, immune, dodge, etc.).

By default NinjaYell will announce:

  • Sap
  • Blind
  • Fear
  • Psychic Scream
  • Freezing Trap
  • Polymorph
  • Cyclone
  • Failed Taunts
  • Failed Distracts

How do I add my own spells?
NinjaYell does not have any kind of config, which is one of the things that keeps this addon so small. To edit what spells you want NinjaYell to announce, open up core.lua in the NinjaYell folder and follow the directions inside. It should be pretty straightforward.

I've added quite a few comments to the core.lua file (they're the lines with the -- before them) to help explain what's happening and what you need to do to add your own spells & messages.



Questions, comments, bug reports, etc.:

Use the buttons under the DOWNLOAD button or leave a comment.

r7
- Removed use of a metatable
- Rearranged addon structure to allow referencing to NinjaYell's tables in game.
r6
- Added slash command to enable/disable the mod
- Fixed a few bugs and (hopefully) made it more efficient
- Added "Interrupt" messages for spells like Kick and Counterspell. Simply add the spell in like you would any other, but instead of making messages for Applied or Faded use Interrupt

r4
- So I decided to log on to my mage to make sure NinjaYell worked for Polymorph, and lo and behold! NinjaYell didn't work for casting at all! This is what I get for exclusively playing a rogue. Oh well, it should be fixed now, I'd appreciate it if someone else could give me some feedback on it.
- If you don't have any SCT addons AND you're not using Blizzard's FCT, it will use the SAY channel

r3
- ToC Version change
- Added color variable. Change the values in this table to change the color of the messages displayed through SCT

r2
- Resetting Change Log
Optional Files (0)


Post A Reply Comment Options
Unread 07-08-08, 03:54 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Yes please do, currently i'm using castyeller but it's my only addon using the Ace2 framework, everything is non ace or Ace3, so it's like a hugr brick just to broadcast a message :/
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 07-13-08 at 08:07 AM.
Report comment to moderator  
Reply With Quote
Unread 07-06-08, 01:29 PM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Originally posted by Kyron
In my guild, when hunters have to MD, we're supposed to broadcast it to the hunter channel so it gives something like this:

Misdirecting MobX to PlayerY (to a custom channel)

%t will return MobX name, how do i do to print PlayerY ?
Hrm, I'll have to add this feature in, as well as a way to announce to custom channels.
Report comment to moderator  
Reply With Quote
Unread 07-06-08, 03:42 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
In my guild, when hunters have to MD, we're supposed to broadcast it to the hunter channel so it gives something like this:

Misdirecting MobX to PlayerY (to a custom channel)

%t will return MobX name, how do i do to print PlayerY ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Unread 06-24-08, 09:55 AM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Originally posted by Terodar
Great mod, love the idea of changing the core to keep it light.

Quick question, is there any way to make this announce things in the center of the screen or even in sct? I'd like a way to see when my/my 2s partners' cc breaks somewhere more practical than the chatlog, but if seeing that happen to something that isn't my target isn't going to happen then thats cool.

Also just to make sure i've got the right idea, if i want to announce something to my party, its channel = "PARTY" right?

Thanks in advance
If you're not in a party or raid, then it will look to see if you have any SCT mods (checks for MSBT, SCT and Blizzard's FCT currently) and will use that if it finds one. If it doesn't, then it will use the default "SAY" channel.
Report comment to moderator  
Reply With Quote
Unread 06-21-08, 10:04 PM  
Terodar
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Great mod, love the idea of changing the core to keep it light.

Quick question, is there any way to make this announce things in the center of the screen or even in sct? I'd like a way to see when my/my 2s partners' cc breaks somewhere more practical than the chatlog, but if seeing that happen to something that isn't my target isn't going to happen then thats cool.

Also just to make sure i've got the right idea, if i want to announce something to my party, its channel = "PARTY" right?

Thanks in advance
Report comment to moderator  
Reply With Quote
Unread 06-16-08, 09:56 AM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Originally posted by Steil
Any shackle support?
Not included by default, but you can add this in and it will work.

Code:
["Shackle Undead"] = {},
Report comment to moderator  
Reply With Quote
Unread 06-15-08, 11:11 PM  
Steil
A Cliff Giant
 
Steil's Avatar

Forum posts: 77
File comments: 49
Uploads: 0
Any shackle support?
Report comment to moderator  
Reply With Quote
Unread 06-12-08, 10:30 AM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Re: Re: Re: Don't work in WOW China

Originally posted by Kyron
Did you completely remove misdirection from r6 ?
Yes.

Code:
Misdirection = {
    Channel = "WHISPER",
    Target = function() if (UnitCanAttack("player", "target")) then return UnitName("focus") elseif (UnitIsPlayer("target")) then return UnitName("target") end end,
    Applied = "Misdirecting %t to you!",
},
Something else that I forgot to mention in the changelog, you should no longer be getting those "No whisper target!" errors, so this function should work now.
Last edited by ganders : 06-12-08 at 10:31 AM.
Report comment to moderator  
Reply With Quote
Unread 06-11-08, 11:11 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Re: Re: Don't work in WOW China

Did you completely remove misdirection from r6 ?
Report comment to moderator  
Reply With Quote
Unread 06-10-08, 10:27 AM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Re: Don't work in WOW China

Originally posted by closebeauty
I'm from China and i'm using the addon from WOW 2.33 to 2.4
But, when the WOW China was updated to 2.4.2, i found the addon doesn't work.

Could you pls tell me why and how to fix it?

Thanks, i like your addon very much.
If you didn't already, then you will need to open up the core.lua file inside the NinjaYell folder, and change the spell names that you find in there. (They are all in English by default)

If you don't know where to look, find the line
Code:
local SpellDB = {
Below that, you should see a list of spells in ["this format"]. Simply change the name of the spell, and it should work.
Report comment to moderator  
Reply With Quote
Unread 06-09-08, 03:03 PM  
closebeauty
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Don't work in WOW China

I'm from China and i'm using the addon from WOW 2.33 to 2.4
But, when the WOW China was updated to 2.4.2, i found the addon doesn't work.

Could you pls tell me why and how to fix it?

Thanks, i like your addon very much.
Report comment to moderator  
Reply With Quote
Unread 06-08-08, 09:01 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
With the latest release, the misdirection line u gave me below doesn't work anymore, no errors, just no whisper to the person i'm misdirecting to.

My MD line
Code:
Target = function() if UnitCanAttack("player", "target") then if UnitExists("focus") then return UnitName("focus") else return UnitName("pet") end else return UnitName("target") end end,
Error i get when having no target so the MD is sent to focus

Code:
[2008/06/08 17:18:02-10048-x1]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell\core.lua:192: in function `Announce'
NinjaYell\core.lua:84: in function <Interface\AddOns\NinjaYell\core.lua:65>

  ---
Last edited by Caellian : 06-08-08 at 09:18 AM.
Report comment to moderator  
Reply With Quote
Unread 05-31-08, 07:56 PM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Originally posted by Kyron
Excellent gonna give it a try right now, though, do you really think it's gonna whisper my pet ?

Edit: i recieved this error today, normal MD to focus
Code:
[2008/05/29 21:22:52-9169-x2]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell-r3\core.lua:159: in function `Announce'
NinjaYell-r3\core.lua:65: in function <Interface\AddOns\NinjaYell\core.lua:53>
Also came up when having my MT as focus, Illidan (not in combat yet) in target
Try changing
Code:
UnitCanAttack("player", "target")
to
Code:
UnitCanAttack("target", "player")
Report comment to moderator  
Reply With Quote
Unread 05-28-08, 07:46 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Excellent gonna give it a try right now, though, do you really think it's gonna whisper my pet ?

Edit: i recieved this error today, normal MD to focus
Code:
[2008/05/29 21:22:52-9169-x2]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell-r3\core.lua:159: in function `Announce'
NinjaYell-r3\core.lua:65: in function <Interface\AddOns\NinjaYell\core.lua:53>
Also came up when having my MT as focus, Illidan (not in combat yet) in target
Last edited by Caellian : 05-29-08 at 04:02 PM.
Report comment to moderator  
Reply With Quote
Unread 05-28-08, 04:07 PM  
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 131
File comments: 59
Uploads: 10
Originally posted by Kyron
Works like a charm but as i expected when i saw the line there is an error.

Code:
[2008/05/28 15:02:37-9136-x1]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell-1.0\core.lua:154: in function `Announce'
NinjaYell-1.0\core.lua:60: in function <Interface\AddOns\NinjaYell\core.lua:48>

  ---
This happen if ihave no focus and no friendly target, as the default is then to MD to my pet, the addon generate an error as the pet isn't a player and i have no friendly target.
Right, my mistake. Try this:
Code:
function() if UnitCanAttack("player", "target") then if UnitExists("focus") then return UnitName("focus") else return UnitName("pet") end else return UnitName("target") end,
This will whisper your focus if you're targeting something hostile. If you don't have a focus, it will whisper your pet. If you're targeting something friendly then it will whisper your target.

I hope that's what you needed.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: