Download
(2Kb)
Download
Updated: 10-27-10 12:44 AM
Pictures
File Info
Updated:10-27-10 12:44 AM
Created:01-03-10 10:45 AM
Downloads:4,038
Favorites:14
MD5:

Interrupt

Version: 1.4
by: evl [More]

Interrupt announcer

Configuration

Copy config.lua.sample to config.lua and modify as required.

Features

  • Announces to any chat type or custom channel
  • Ignores any announcements from anyone not in your party/raid/battleground (if they are running this addon)

See http://github.com/evl/Interrupt/commits/master/
Optional Files (0)


Post A Reply Comment Options
Unread 01-05-11, 01:31 AM  
evl
A Kobold Labourer
 
evl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 65
Uploads: 8
Originally posted by SamppaAddonnoob
Hello. Might be dumb question, why my gouge, blind, kidney wont say anythging when i interrupt enemy spells?

I put these on lua:

local config = addon.config
local frame = CreateFrame("Frame")
local interruptSpells = {
[408] = "Kidney Shot",
[2094] = "Blind",
[1776] = "Gouge",
[1766] = "Kick",
[47528] = "Mind Freeze",
[6552] = "Pummel",
[72] = "Shield Bash",
[2139] = "Counterspell",
[57994] = "Wind Shear"
The variable name is a bit misleading, that's a list of spells that will report a miss if you fail to interrupt something. So far I've avoided reporting anything but actual interrupt spells since it gets very, very spammy.
Report comment to moderator  
Reply With Quote
Unread 12-26-10, 01:08 AM  
SamppaAddonnoob
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hello. Might be dumb question, why my gouge, blind, kidney wont say anythging when i interrupt enemy spells?

I put these on lua:

local config = addon.config
local frame = CreateFrame("Frame")
local interruptSpells = {
[408] = "Kidney Shot",
[2094] = "Blind",
[1776] = "Gouge",
[1766] = "Kick",
[47528] = "Mind Freeze",
[6552] = "Pummel",
[72] = "Shield Bash",
[2139] = "Counterspell",
[57994] = "Wind Shear"
Report comment to moderator  
Reply With Quote
Unread 12-13-10, 01:19 AM  
evl
A Kobold Labourer
 
evl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 65
Uploads: 8
Originally posted by zoktar
is it possible to have it only say "interupted spell" or "interupt failed"

less spammy. cheers.

edit: or "mindfreezed spell", "mindfreeze failed"
Sadly my addons were never designed to be user friendly. They are however tinkerer friendly, if you can operate a text-editor this stuff is pretty easy.

1. Find text you want to replace
2. Change
Report comment to moderator  
Reply With Quote
Unread 12-09-10, 09:26 PM  
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations

Forum posts: 72
File comments: 262
Uploads: 1
is it possible to have it only say "interupted spell" or "interupt failed"

less spammy. cheers.

edit: or "mindfreezed spell", "mindfreeze failed"
Last edited by zoktar : 12-09-10 at 09:28 PM.
Report comment to moderator  
Reply With Quote
Unread 12-09-10, 01:28 PM  
Verdandi
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Thanks for the reply!

On login/reload, I'm getting the following Lua error:

Message: Interface\AddOns\evl_Interrupt\evl_Interrupt.lua:21: '}' expected (to close '{' at line 14) near '['
Time: 12/09/10 14:25:15
Count: 1
Stack:
Locals:
Edit: Nevermind, it seems it just doesn't like that I added extra spells. I'll have to look at adding them more smoothly later, since the default list isn't exhaustive anymore.
Last edited by Verdandi : 12-10-10 at 01:04 PM.
Report comment to moderator  
Reply With Quote
Unread 12-08-10, 03:31 AM  
evl
A Kobold Labourer
 
evl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 65
Uploads: 8
Originally posted by Verdandi
Now, for the questions. Is there any way to add AoE support for Arcane Torrent?
You only get SPELL_INTERRUPT from a valid UnitID I'm afraid, which means you'll basically only get it for any unit you have a frame for (target, targettarget, focus, focustarget etc.)

Originally posted by Verdandi
What about support for HoJ if your target is a player, or HoJ only with the talent Vindication if your target is an NPC?
I'm not sure why this isn't being announced, I'm not doing any check against the interruptSpells list when a SPELL_INTERRUPT is received, maybe it's just not broadcast as an interrupt. I'll have to dig into this later, which will sadly probably be only after I ding 85 and run out of in-game things to do.

Patches welcome
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 10:32 AM  
Verdandi
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
First off -- love this addon. Very lightweight and not hard at all to edit announces or spell IDs.

Now, for the questions. Is there any way to add AoE support for Arcane Torrent? Or it simply not possible? What about support for HoJ if your target is a player, or HoJ only with the talent Vindication if your target is an NPC? I know that's a bit more advanced than what this addon has going on, for sure, but I think it'd be helpful.

Again, thanks for the great, simple addon.
Report comment to moderator  
Reply With Quote
Unread 11-26-10, 02:59 AM  
evl
A Kobold Labourer
 
evl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 65
Uploads: 8
Originally posted by zoktar
donno how to get it to show in /say
config.party = "SAY"
Report comment to moderator  
Reply With Quote
Unread 11-25-10, 12:26 PM  
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations

Forum posts: 72
File comments: 262
Uploads: 1
donno how to get it to show in /say
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 10:38 AM  
evl
A Kobold Labourer
 
evl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 65
Uploads: 8
Originally posted by warpandas
evl: thanks for implementing battleground support. however, i think you broke something while doing so and now when you're solo (not in party, bg, raid), it will still try to announce to your raid settings even though configuration is set to nil.
Sorry about not testing that very well, I fixed the issues now so download the fixed version from Github!
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 12:09 PM  
warpandas
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
evl: thanks for implementing battleground support. however, i think you broke something while doing so and now when you're solo (not in party, bg, raid), it will still try to announce to your raid settings even though configuration is set to nil.
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 12:51 PM  
Vyral
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Forgive me.. but how would you actually edit it so that let's say.. I'm in a raid and I want it to announce to raid if I interrupted something?

Or even in a party?

I don't exactly get the instruction. I'm sorry
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 12:43 AM  
evl
A Kobold Labourer
 
evl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 65
Uploads: 8
I've added battleground support now.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 07:01 PM  
warpandas
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Not sure what you're talking about but thanks for trying to help. I would probably make it so that it doesn't try to announce at all, or perhaps only in say, but regardless that's all manageable within the configuration file. It's the base code that needs to be changed so that it will recognize when you're in a battleground.

I think the problem lies with the fact that he checks for number of players to determine which configuration to use. This conflicts with the fact that by using this to filter where messages will go, there is nothing different between a raid and a battleground.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 07:19 AM  
Morsker
A Fallenroot Satyr
 
Morsker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 89
Uploads: 8
Originally posted by warpandas
evl, I have a feature request. Please add in config for battlegrounds. Just a minor annoyance that I have with the mod.
I have code for this since I did it in a personal mod I'm probably never releasing.

You can test for BGs with UnitInBattleground("player"). You can test for Wintergrasp-like zones with this:

local pvpType = GetZonePVPInfo()
local isCombatZone = not not (pvpType == "combat")

I recommend say as the default on these. Other players hate it when people spam the whole zone with interrupts.
Last edited by Morsker : 10-26-10 at 07:47 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: