ThatJustHappened: Combat Event Announcement Mod

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Postby dunnark » Mon Jul 28, 2008 8:42 am

Anybody know/remember the buff applied by Commendation of Kael'thas to include in this code?
Image
User avatar
dunnark
 
Posts: 24
Joined: Thu Sep 06, 2007 11:12 pm

Postby JoCald » Mon Jul 28, 2008 9:29 am

dunnark wrote:Anybody know/remember the buff applied by Commendation of Kael'thas to include in this code?


Evasive Maneuvers
JoCald
 
Posts: 2
Joined: Tue Jul 15, 2008 8:29 am

Postby moduspwnens » Mon Jul 28, 2008 5:04 pm

Krasas wrote:
Krasas wrote:Maybe someone else has asked about this I don't know. But does this do taunt resists? If so what would the code look like?


This could be done very easily for warriors and druids, but for Paladins, not as easily. The reason is, for druids and warriors, their taunts would look like this:
    Warrior casts Taunt on Enemy.
    Enemy is afflicted by Taunt.
    Taunt fades from Enemy.
So that's simple. When a taunt resists, it would say:

Warrior fails to cast Taunt due to a resist.

For a Paladin though, our taunt says:
    Paladin casts Righteous Defense on RaidMember.
    Mob1 is afflicted by Righteous Defense.
    Mob2 is afflicted by Righteous Defense.
    Mob3 is afflicted by Righteous Defense.
The difference is that there's no single line of the combat log that includes the spell (Righteous Defense), the caster (you), and the fact that it was resisted. You could easily make one that would announce when anybody's Righteous Defense is resisted, but until new functionality is added (as far as I know), there isn't a way for it to announce Paladin taunt resists.

Sarkan-ZdC wrote:How to Announce the Daeden on EoS P2?

Announce what about Deaden? That it's begun casting? That it landed? Or that it was reflected successfully?

dunnark wrote:Anybody know/remember the buff applied by Commendation of Kael'thas to include in this code?


/tjh rule SPELL_AURA_APPLIED;;PlayerName;Evasive Manuevers;;SAY;8% more dodge!
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Vestori » Tue Jul 29, 2008 5:36 pm

is there any way to raid warning announce?
Vestori
 
Posts: 36
Joined: Tue Apr 29, 2008 6:05 am

Postby moduspwnens » Tue Jul 29, 2008 5:38 pm

Vestori wrote:is there any way to raid warning announce?


Yep. Mark the channel as "RW".
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Sarkan-ZdC » Sun Aug 03, 2008 12:30 pm

/tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;*source taunted from me.

I get an error (the player is not playing or so)
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby Sarkan-ZdC » Sun Aug 03, 2008 12:37 pm

moduspwnens wrote:
Krasas wrote:
Sarkan-ZdC wrote:How to Announce the Daeden on EoS P2?

Announce what about Deaden? That it's begun casting? That it landed? Or that it was reflected successfully?



Who gets it as RW

If you see: MT is affected by daeden you know: Owl Shit. If it is the Mob you know: DON'T KILL YOURSELF
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby moduspwnens » Sun Aug 03, 2008 1:16 pm

Sarkan-ZdC wrote:/tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;*source taunted from me.

I get an error (the player is not playing or so)


I'll have to test it further, then. I thought it would work.

Sarkan-ZdC wrote:
moduspwnens wrote:Announce what about Deaden?
Who gets it as RW


/tjh rule SPELL_CAST_SUCCESS;;;Deaden;raid;*target hit by Deaden.

That should do it. I haven't tested it, though. Let me know how it works out.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Sarkan-ZdC » Sun Aug 03, 2008 3:12 pm

moduspwnens wrote:
Sarkan-ZdC wrote:/tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;*source taunted from me.

I get an error (the player is not playing or so)


I'll have to test it further, then. I thought it would work.

Sarkan-ZdC wrote:
moduspwnens wrote:Announce what about Deaden?
Who gets it as RW


/tjh rule SPELL_CAST_SUCCESS;;;Deaden;raid;*target hit by Deaden.

That should do it. I haven't tested it, though. Let me know how it works out.


I think for the paladin taunt there is a ; to much or so. Have to try, had no time as a tank
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby _Chloe » Sun Aug 03, 2008 4:57 pm

moduspwnens wrote:
Krasas wrote:
Krasas wrote:Maybe someone else has asked about this I don't know. But does this do taunt resists? If so what would the code look like?


This could be done very easily for warriors and druids, but for Paladins, not as easily. The reason is, for druids and warriors, their taunts would look like this:
    Warrior casts Taunt on Enemy.
    Enemy is afflicted by Taunt.
    Taunt fades from Enemy.
So that's simple. When a taunt resists, it would say:

Warrior fails to cast Taunt due to a resist.

For a Paladin though, our taunt says:
    Paladin casts Righteous Defense on RaidMember.
    Mob1 is afflicted by Righteous Defense.
    Mob2 is afflicted by Righteous Defense.
    Mob3 is afflicted by Righteous Defense.
The difference is that there's no single line of the combat log that includes the spell (Righteous Defense), the caster (you), and the fact that it was resisted. You could easily make one that would announce when anybody's Righteous Defense is resisted, but until new functionality is added (as far as I know), there isn't a way for it to announce Paladin taunt resists.


Following this:
/tjh rule EVENT_NAME;SourceName;TargetName;SpellName;Affiliation;Channel;Spam

You get this:

Code: Select all
/tjh rule SPELL_MISSED;YourName;;Righteous Defense;self;RAID_WARNING;*source resisted/Immune to Righteous Defense.
User avatar
_Chloe
Moderator
 
Posts: 831
Joined: Fri Dec 07, 2007 6:36 pm
Location: Santa Monica, CA

Postby moduspwnens » Sun Aug 03, 2008 5:06 pm

Hmm. Well, if that's how a resist shows up in the combat log, then yes. I can't think of a way to test it immediately, but I'll try it out.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby _Chloe » Sun Aug 03, 2008 5:43 pm

Tankadin pulls this from the CLUE
Code: Select all
local timestamp, eventType, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, prefix1, prefix2, prefix3, suffix1, suffix2, suffix3, suffix4, suffix5, suffix6, suffix7, suffix8 = ...;


and here's the code block:
Code: Select all
   --AS Miss
      if( eventType == "SPELL_MISSED" and sourceGUID == PlayerGUID and prefix1 == 32700 and Tankadin_Options.taunt == true )then
         TankadinEventMessage = TANKADIN_MISS_MESSAGE;
      end
   
   --RD Resist
      if( eventType == "SPELL_MISSED" and sourceGUID == PlayerGUID and prefix1 == 31790 and Tankadin_Options.taunt == true and suffix1 == "RESIST")then
         TankadinEventMessage = TANKADIN_RESIST_MESSAGE;
      end
      
   --RD Immune
      if( eventType == "SPELL_MISSED" and sourceGUID == PlayerGUID and prefix1 == 31790 and Tankadin_Options.taunt == true and suffix1 == "IMMUNE" and not Tankadin_Options.NoImmune)then
         TankadinEventMessage = TANKADIN_IMMUNE_MESSAGE;
      end


I use spell IDs to avoid locale issues. The only thing that this mod cant do it seems is return the error message,ie Immune!
Last edited by _Chloe on Sun Aug 03, 2008 5:47 pm, edited 1 time in total.
User avatar
_Chloe
Moderator
 
Posts: 831
Joined: Fri Dec 07, 2007 6:36 pm
Location: Santa Monica, CA

Postby moduspwnens » Sun Aug 03, 2008 5:45 pm

Yeah, that should do it then. I'll add it to the list on the front page.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby _Chloe » Sun Aug 03, 2008 5:48 pm

Took about a week or so to fix the CLUE event for Tankadin for that reason alone.
User avatar
_Chloe
Moderator
 
Posts: 831
Joined: Fri Dec 07, 2007 6:36 pm
Location: Santa Monica, CA

Postby moduspwnens » Sun Aug 03, 2008 5:53 pm

_Chloe wrote:/tjh rule SPELL_MISSED;YourName;;Righteous Defense;self;RAID_WARNING;*source resisted/Immune to Righteous Defense.


I did change the *source to *target, since the *source should be you. I think that's right.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Sarkan-ZdC » Mon Aug 04, 2008 5:33 am

_Chloe wrote:
moduspwnens wrote:
Krasas wrote:
Krasas wrote:/tjh rule EVENT_NAME;SourceName;TargetName;SpellName;Affiliation;Channel;Spam



/tjh rule SPELL_CAST_SUCCESS;DruidName;;Taunt;target;SELF;*source taunted my target.

Paladin taunts off of you:
/tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;*source taunted from me.

Paladin:

/tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;SELF;*source taunted from me.

I think the ;SELF is missing?
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby moduspwnens » Mon Aug 04, 2008 6:04 am

Yeah, you're right. It should have a channel specified.

/tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;SELF;*source taunted from me.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Sarkan-ZdC » Mon Aug 04, 2008 6:25 am

Hah! I start to understand that addon. It IS complex, but it is starting to become really nice.

Only PvP is strange with:

Mortal Strike!
Stun!
Mortal Strike!

But I don't care ;)
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby Arnock » Mon Aug 04, 2008 12:33 pm

I can't seem to get this thing to work

I used /TJH rule;SPELL_HEAL;Arnock;;Arcane Surge;;SELF;arcane surge proc

to let me know when my sso neck proc'd

but I can't seem to get it to notify me. it hasn't worked for other events either, it's enabled and everything. Pity, looks like an amazing mod
Image
Courage not of this earth in your eyes
Faith from far beyond lies deep inside
User avatar
Arnock
 
Posts: 2795
Joined: Tue Apr 08, 2008 6:36 pm
Location: Everywhere and nowhere

Postby moduspwnens » Mon Aug 04, 2008 1:02 pm

Arnock wrote:I can't seem to get this thing to work

I used /TJH rule;SPELL_HEAL;Arnock;;Arcane Surge;;SELF;arcane surge proc

to let me know when my sso neck proc'd

but I can't seem to get it to notify me. it hasn't worked for other events either, it's enabled and everything. Pity, looks like an amazing mod


That first semicolon is confusing it.

/tjh rule SPELL_HEAL;Arnock;;Arcane Surge;;SELF;Arcane Surge proc.

If that doesn't work, then I'd have to see the combat log entry. I don't use this necklace, so I'm just guessing that it shows up that way.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Arnock » Mon Aug 04, 2008 8:22 pm

moduspwnens wrote:
Arnock wrote:I can't seem to get this thing to work

I used /TJH rule;SPELL_HEAL;Arnock;;Arcane Surge;;SELF;arcane surge proc

to let me know when my sso neck proc'd

but I can't seem to get it to notify me. it hasn't worked for other events either, it's enabled and everything. Pity, looks like an amazing mod


That first semicolon is confusing it.

/tjh rule SPELL_HEAL;Arnock;;Arcane Surge;;SELF;Arcane Surge proc.

If that doesn't work, then I'd have to see the combat log entry. I don't use this necklace, so I'm just guessing that it shows up that way.






I used the configuration window, I didn't type that in
Image
Courage not of this earth in your eyes
Faith from far beyond lies deep inside
User avatar
Arnock
 
Posts: 2795
Joined: Tue Apr 08, 2008 6:36 pm
Location: Everywhere and nowhere

Postby moduspwnens » Mon Aug 04, 2008 8:26 pm

In that case, your best bet is to:

Type /combatlog.
Spam heals until it procs.
Type /combatlog.
Logout.
Go to YourWoWDirectory/Logs/WoWCombatLog.txt
Press Ctrl+F, and type in Arcane Surge.
Copy that line in a reply here.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby unlimit » Thu Aug 07, 2008 1:59 pm

Here's a question: is there anyway to specify to only react on a specific mob? Say, when taunting off Kalec to get Sathrothar off of him and have it announce it then?

Or taunting the dragon off of the tank at that time?
OpenRDX Basic Guides: Forum Topic + Vimeo Channel
Image
Image
User avatar
unlimit
Maintankadonor
 
Posts: 231
Joined: Wed Oct 10, 2007 9:49 am
Location: Roseville, CA

Postby moduspwnens » Thu Aug 07, 2008 2:01 pm

unlimit wrote:Here's a question: is there anyway to specify to only react on a specific mob? Say, when taunting off Kalec to get Sathrothar off of him and have it announce it then?

Or taunting the dragon off of the tank at that time?


Yep.

/tjh rule SPELL_CAST_SUCCESS;YourName;Kalecgos;Righteous Defense;;SAY;Taunted Sathrovarr!
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby unlimit » Thu Aug 07, 2008 2:56 pm

moduspwnens wrote:
unlimit wrote:Here's a question: is there anyway to specify to only react on a specific mob? Say, when taunting off Kalec to get Sathrothar off of him and have it announce it then?

Or taunting the dragon off of the tank at that time?


Yep.

Code: Select all
/tjh rule SPELL_CAST_SUCCESS;YourName;Kalecgos;Righteous Defense;;SAY;Taunted Sathrovarr!
Will the use of a macro affect the target of this at all?
Code: Select all
/tjh rule SPELL_CAST_SUCCESS;Unlimit;Kalecgos;Righteous Defense;;RW;Unlimit has taunted Kalecgos!
/tjh rule SPELL_CAST_SUCCESS;Unlimit;Sathrovarr the Corruptor;Righteous Defense;;RW;Unlimit has taunted Sathrovarr the Corruptor!


while using

Code: Select all
#showtooltip Righteous Defense
/cast [noharm][target=targettarget][] Righteous Defense


or do you know if the macro is not necessary anymore?
OpenRDX Basic Guides: Forum Topic + Vimeo Channel
Image
Image
User avatar
unlimit
Maintankadonor
 
Posts: 231
Joined: Wed Oct 10, 2007 9:49 am
Location: Roseville, CA

PreviousNext

Return to Add-ons, UI, and Macros

Who is online

Users browsing this forum: No registered users and 1 guest

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 380 on Tue Oct 14, 2008 6:28 pm

Users browsing this forum: No registered users and 1 guest