Download
(2Kb)
Download
Updated: 09-11-13 01:04 PM
Pictures
File Info
Updated:09-11-13 01:04 PM
Created:10-24-09 03:19 PM
Downloads:14,946
Favorites:79
MD5:

I Interrupted That  Popular! (More than 5000 hits)

Version: v3.5.0
by: ElphieRAWR, qod

I Interrupted That
----
/iit - prints help list
/iit info
/iit auto - Change output to auto. [Raid/Party/Self]
/iit say - Change output to say.
/iit self - Change output to print to self.
/iit emote - change to emote. [Does some funny things to /iit msg, but it doesn't actually affect anything important... Will be fixed soon.]
/iit toggle - Turns the addon on or off.
/iit verbose - Toggles verbose output.
/iit msg - Prints what the output message will look like.
/iit allmembers - Toggles announcement of all party members.
/iit party - Force output to party, even if in a raid. (ie instances where the raid is broken up into interrupt groups and there's no reason to have it broadcast to the raid, or your party is responsible for a specific interrupt....Outputs to self if running solo)

Do people who use macros like:

/s Interrupted
/cast InterruptSpell
Make you sad?
They make me , because they sit there and spam the stupid key, and it always says "Interrupted" regardless of if they actually interrupted. Maybe they missed the cast? Maybe their interrupt is on cooldown? Maybe they're a button- masher and spam it 50 times.

Direct them all here. It fixes the problem.
" How?!" You say? Well...
This little addon of mine watches your combat log silently, and whenever it reads a SPELL_INTERRUPT event [that fires whenever you interrupt someone's casting, with Counterspell, for example] it says the little message.
What could be better than that?

It says -what- you interrupted. Not only does it say it, it -links- it. Amazing. Pure awesome.
As a friend of mine said about something totally unrelated,
"Suck the Awesome Pipe and be made full of Win!"
That's right. Suck it.

v3.5.0 - Fixed Instance Chat issues in LFG, LFR, and BG. (not yet tested in arenas)

v3.4.2 - toc bump

v3.4.1 - Added code to help when changing settings with CAPSLOCK on
Added "/iit party" to force output to party. Thanks keLston

v3.4.0 - minor changes to make compatible with 5.x

v3.3.9 - toc bump

v3.3.8 - Fixed the variable loading issue, everything should be solid now.

v3.3.7b - Fixed "/iit allmembers"

v3.3.7a - My bad, F'd something up royally while half asleep. Use this until I can get the allmembers code working

v3.3.7 - Combat_Log_Event_Unfiltered changes addressed.
Added optional announcement of interrupts from anyone in your party or raid. /iit allmembers

v3.3.6 - Added Battleground announcing (to self if set to self or say, and to /bg if set to auto)

v3.3.4 - Fixed errors on startup and the combatlog parsing issue caused by patch 4.1

v3.3.3 - Verbose output toggle.
=> I Interrupted That: MobName's SpellLink.
Interrupted: MobName's SpellLink.

v3.3.2 - I saved a variable, yo.

v3.3.1 - SLASH COMMAND!

v3.3.0 - TOC update, along with some message changes [smaller 'say' messages, less spam.]
Sorry for so long between updates, I keep myself busy. :)

v1.1 - Added a simple line of config in the lua for an output.
Code:
local OUTPUT= 'Self'     -- Self to print to self. Auto for raid, party, or self - depending on group.
Just change 'Self' to 'Auto' to print in party or raid. If you aren't in a group, it will just print to yourself, to avoid 'You aren't in a party." spam.
Optional Files (0)


Post A Reply Comment Options
Unread 01-20-10, 04:07 PM  
Gupp
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 134
Uploads: 4
Hello,

I looked into your code and it could get optimized a bit on the COMBAT_LOG_EVENT_UNFILTERED part. You create on all events vars that check pary / user / name / spellid etc.. But interupts are only a few percent of the events so those things can put on a later spot.

Code:
function InterruptSay:COMBAT_LOG_EVENT_UNFILTERED(...)

	if InterruptSayDB.intsayonoff==1 then

		local aEvent = select(2, ...)
		if aEvent=="SPELL_INTERRUPT" then
			local aUser = select(4, ...)
			if aUser~=UnitName("player") then return end 
			local destName = select(7, ...)
			local spellID = select(12, ...)
			
			if InterruptSayDB.Verbose~=1 then 
				intsaymsg = ("Interrupted: "..destName.. "'s " ..GetSpellLink(spellID).. ".")
				InterruptSayDB.msg = ("Interrupted: MobName's [SpellLink].")
			else
				intsaymsg = ("=> I Interrupted That: "..destName.. "'s " ..GetSpellLink(spellID).. ".")
				InterruptSayDB.msg = ("=> I Interrupted That: MobName's [SpellLink].")
			end
        
			if InterruptSayDB.INTSAYOUTPUT=='Emote' then
				SendChatMessage("interrupted "..destName.."'s "..GetSpellLink(spellID)..".", "EMOTE")
			elseif InterruptSayDB.INTSAYOUTPUT=='Self' then
				print(intsaymsg)
			elseif InterruptSayDB.INTSAYOUTPUT=='Say' then
				SendChatMessage(intsaymsg, "SAY")
			elseif InterruptSayDB.INTSAYOUTPUT=='Auto' then 
			
				local inParty = GetNumPartyMembers()>=1
				local inRaid = GetNumRaidMembers()>=5
				
				if inParty then xxx="PARTY" end
				if inRaid then xxx="RAID" end
			
				if (not inParty) and (not inRaid) then
					print(intsaymsg)
				else 
					SendChatMessage(intsaymsg, xxx)
				end
			end
		end
	end 
end
Gtz Gup
__________________
Report comment to moderator  
Reply With Quote
Unread 01-20-10, 08:20 PM  
ElphieRAWR
A Deviate Faerie Dragon
 
ElphieRAWR's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 36
Uploads: 7
Optimized Code

Thanks
This is really a big learning process for me, in general, and any help is good help.
__________________
-- Elphie --
[Matanya of Arthas]
Report comment to moderator  
Reply With Quote
Unread 02-10-10, 10:16 AM  
Limb0
A Cobalt Mageweaver
 
Limb0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 220
File comments: 298
Uploads: 5
Originally posted by ElphieRAWR
Thank you. For some reason I had mine as "Interrupted: blahblah" but then it got lost.
<snip> the message will be fixed soon.
About Dismantle/Blind... currently it only looks for the one event [SPELL_INTERRUPT] in the combat log, to keep it simple.
Do you know of a way to look for these things interrupting a spell?
(late reply, I took some time off)

Blind should show "SPELL_CAST_SUCCESS"
Dismantle should show "SPELL_AURA_APPLIED"
Report comment to moderator  
Reply With Quote
Unread 05-02-10, 05:49 PM  
keLston
A Deviate Faerie Dragon

Forum posts: 11
File comments: 174
Uploads: 0
Is there a means to split up the auto function so I could just set it to where it broadcast all the time?
Report comment to moderator  
Reply With Quote
Unread 05-20-10, 10:05 AM  
Starmaggedon
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
hello, I like this addon pretty much!
I would like to ask you how to change code to broadcast to a particular channel, in our guild raids we have a channel only for these messages. Any help would be good and hope this idea will become a future improve for the addon!
Report comment to moderator  
Reply With Quote
Unread 05-27-10, 10:00 AM  
Caramirdan
A Kobold Labourer
 
Caramirdan's Avatar

Forum posts: 0
File comments: 47
Uploads: 0
Hi, I love this add-on also. Would you mind adding in a "Missed" message also? As a healer, I have zero hit, so my raid would benefit from knowing I missed an interrupt (of course I only help out on interrupts as a healer ;-)

Thanks again for this add-on!
Report comment to moderator  
Reply With Quote
Unread 05-30-10, 10:46 PM  
ElphieRAWR
A Deviate Faerie Dragon
 
ElphieRAWR's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 36
Uploads: 7
Due to personal problems I have not been able to play wow [or have internet at all for that matter]. If anyone is willing to make suggested changes/fixes to my addons, feel free to submit it as a patch, but please e-mail me and let me know.
Sorry.

[email protected]
__________________
-- Elphie --
[Matanya of Arthas]
Report comment to moderator  
Reply With Quote
Unread 06-03-10, 05:14 PM  
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 103
File comments: 321
Uploads: 3
Using this addon now for a couple of months and love it
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 06:19 AM  
L3n1n
A Fallenroot Satyr
 
L3n1n's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 86
Uploads: 2
I love this addon and am sad it doesnt work with 4.0.1 yet.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 01:53 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by 4exoB
I love this addon and am sad it doesnt work with 4.0.1 yet.
Working fine for me in 4.0.1
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 10-31-10, 03:58 AM  
Orbitthree
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
As of 4.0.1, this addon does not work for feral druids, due to the combat log not reporting Maim and Skull Bash (Cat) as the SPELL_INTERRUPT function.
__________________
Report comment to moderator  
Reply With Quote
Unread 12-09-10, 07:17 PM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
Needs update!!!
Report comment to moderator  
Reply With Quote
Unread 02-05-11, 05:28 AM  
Crusader86
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
I'm getting this error using the german client :

Code:
Date: 2011-02-05 12:09:38
ID: 3
Error occured in: Global
Count: 13
Message: ..\AddOns\InterruptSay\InterruptSay.lua line 116:
   attempt to index global 'InterruptSayDB' (a nil value)
Debug:
   (tail call): ?
   [C]: ?
   InterruptSay\InterruptSay.lua:116: value()
   ..\FrameXML\ChatFrame.lua:4147:
      ..\FrameXML\ChatFrame.lua:4074
   [C]: ChatEdit_ParseText()
   ..\FrameXML\ChatFrame.lua:3737: ChatEdit_SendText()
   ..\FrameXML\ChatFrame.lua:3775: ChatEdit_OnEnterPressed()
   [string "*:OnEnterPressed"]:1:
      [string "*:OnEnterPressed"]:1
Report comment to moderator  
Reply With Quote
Unread 02-19-11, 11:30 PM  
Orbitthree
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
This addon once again works for feral druids as of 4.0.6a
__________________
Report comment to moderator  
Reply With Quote
Unread 03-26-11, 12:23 AM  
donteventrii
A Murloc Raider

Forum posts: 4
File comments: 68
Uploads: 0
BG Chat?

Is it possible that this could be said in BG chat? I play against people that know I have the addon and when I interrupt something it's a big notice that they can now freecast. If it was in BG chat this wouldn't happen.
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.