Easy way to track misdirects and tricks?

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Re: Easy way to track misdirects and tricks?

Postby fafhrd » Wed May 19, 2010 12:10 am

Darkler wrote:In that case the rule should just be changed to
/tjh rule SPELL_AURA_REMOVED;;YOURNAME;Misdirection;raid;SAY;*spell CD over for *source.;26
as it now announces 26 seconds after the buff misdirection is removed from the player.


This sounds like it should work yes :) I might be slightly wrong and the cooldown might start when the 4s effect has worn off, but in that case your new rule would still work perfectly with the 26 changed to a 30.

I actually have our logs for tonight handy, so:


Code: Select all
5/18 20:02:22.792  SPELL_AURA_APPLIED,0x02800000000A70BA,"Fafhrd",0x511,0x02800000000A70BA,"Fafhrd",0x511,34477,"Misdirection",0x1,BUFF
5/18 20:02:22.803  SPELL_CAST_SUCCESS,0x02800000000A70BA,"Fafhrd",0x511,0x02800000000A32D4,"Daxx",0x20514,34477,"Misdirection",0x1
...
5/18 20:02:24.133  RANGE_DAMAGE,0x02800000000A70BA,"Fafhrd",0x511,0xF130009093000EF0,"The Damned",0x10a48,75,"Auto Shot",0x1,3044,0,1,0,0,0,nil,nil,nil
...
5/18 20:02:24.251  SPELL_AURA_APPLIED,0x02800000000A70BA,"Fafhrd",0x511,0x02800000000A70BA,"Fafhrd",0x511,35079,"Misdirection",0x1,BUFF
5/18 20:02:24.274  SPELL_AURA_REMOVED,0x02800000000A70BA,"Fafhrd",0x511,0x02800000000A70BA,"Fafhrd",0x511,34477,"Misdirection",0x1,BUFF
...
5/18 20:02:28.276  SPELL_AURA_REMOVED,0x02800000000A70BA,"Fafhrd",0x511,0x02800000000A70BA,"Fafhrd",0x511,35079,"Misdirection",0x1,BUFF


where Fafhrd is a hunter, Daxx is a tank.

So it looks like the timeline is (if I'm reading the fields in the log correctly:
- apply aura 34477 to hunter (http://www.wowhead.com/spell=34477)
- cast success of spell 34477 at tank

- wait for damage to occur

- apply aura 35079 to hunter (http://www.wowhead.com/spell=35079)
- remove aura 34477 from hunter

- 4 seconds later remove aura 35079 from hunter

So the spell cast sucess for 34477 wouldn't really be useful for cooldown monitoring, but you need it to tell you who got MD'd by whom. The spell aura remove of 35079 would tell you exactly when to start your cooldown counter from, either as 26s or 30s (someone can tell you this in game with a quick test, sorry I don't want to log in and find something to shoot right now). However you may have a problem because both 35079 and 34477 are buffs named Misdirection, and both are spell_aura_removed events - but one happens at the start of the 4s period and one at the end. If TJH can work off spell IDs instead of names though, that'd work out fine.
ImageImage
1/1 Lore pre-nerf.
User avatar
fafhrd
 
Posts: 5432
Joined: Fri Aug 31, 2007 2:31 pm

Re: Easy way to track misdirects and tricks?

Postby fafhrd » Wed May 19, 2010 12:20 am

Darkler wrote:But how does Tricks work?


Code: Select all
5/18 20:02:37.168  SPELL_AURA_APPLIED,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000002C9DA86,"Pacquiao",0x514,57934,"Tricks of the Trade",0x1,BUFF
5/18 20:02:37.168  SPELL_CAST_SUCCESS,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000000E5E092,"Kimurellia",0x514,57934,"Tricks of the Trade",0x1
...
5/18 20:02:37.433  SPELL_AURA_REFRESH,0x0280000002C9DA86,"Pacquiao",0x514,0xF130009093000EFC,"The Damned",0xa48,51585,"Blade Twisting",0x1,DEBUFF
...
5/18 20:02:37.501  SPELL_AURA_APPLIED,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000002C9DA86,"Pacquiao",0x514,59628,"Tricks of the Trade",0x1,BUFF
5/18 20:02:37.501  SPELL_AURA_REMOVED,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000002C9DA86,"Pacquiao",0x514,57934,"Tricks of the Trade",0x1,BUFF
...
5/18 20:02:37.501  SPELL_ENERGIZE,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000002C9DA86,"Pacquiao",0x514,70804,"Tricks of the Trade",0x1,15,3
...
5/18 20:02:37.705  SWING_DAMAGE,0x0280000002C9DA86,"Pacquiao",0x514,0xF130009093000EFC,"The Damned",0xa48,945,0,1,0,0,0,nil,nil,nil
...
5/18 20:02:37.838  SPELL_AURA_APPLIED,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000000E5E092,"Kimurellia",0x514,57933,"Tricks of the Trade",0x1,BUFF
...
5/18 20:02:43.548  SPELL_AURA_REMOVED,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000002C9DA86,"Pacquiao",0x514,59628,"Tricks of the Trade",0x1,BUFF
...
5/18 20:02:43.848  SPELL_AURA_REMOVED,0x0280000002C9DA86,"Pacquiao",0x514,0x0280000000E5E092,"Kimurellia",0x514,57933,"Tricks of the Trade",0x1,BUFF


Which is more than I'm going to try to figure out right now. It looks similar though, but with the extra bit for I think the t10 set bonus granting energy on tricks, and the duration being longer via a glyph.
ImageImage
1/1 Lore pre-nerf.
User avatar
fafhrd
 
Posts: 5432
Joined: Fri Aug 31, 2007 2:31 pm

Re: Easy way to track misdirects and tricks?

Postby Darkler » Wed May 19, 2010 1:14 am

fafhrd wrote:If TJH can work off spell IDs instead of names though, that'd work out fine.

It can indeed, just insert the spell id number instead of the spell name :)

Now ill plug this into my 'TJH Excel sheet' to play around what rules I can make. I had this problem before showing on who the MD fell off, due to no target name is shown, but I can prob solve it now :) so.. brb
User avatar
Darkler
 
Posts: 66
Joined: Wed Apr 08, 2009 2:57 am

Re: Easy way to track misdirects and tricks?

Postby Darkler » Wed May 19, 2010 1:42 am

Hm, I still think I need more combat log than this sadly.

But working with what I have atm I get the following
Code: Select all
time         event                source    target     spell id      spell name
20:02:22.792 SPELL_AURA_APPLIED   Fafhrd    Fafhrd     34477         Misdirection
20:02:22.803 SPELL_CAST_SUCCESS   Fafhrd    Daxx       34477         Misdirection
20:02:24.133 RANGE_DAMAGE         Fafhrd    The Damned 75            Auto Shot
20:02:24.251 SPELL_AURA_APPLIED   Fafhrd    Fafhrd     35079         Misdirection
20:02:24.274 SPELL_AURA_REMOVED   Fafhrd    Fafhrd     34477         Misdirection
20:02:28.276 SPELL_AURA_REMOVED   Fafhrd    Fafhrd     35079         Misdirection
giving that there is no way to track when the MD from F falls off D. There should be an other line saying that it falls off, (as my rule
/tjh rule SPELL_AURA_REMOVED;;MYNAME;Misdirection;raid;SAY;Misdirection finished.works) but I dont know if that line includes any source. But to conclude the rule can work for you if you just change the rule with the delay to
/tjh rule SPELL_AURA_REMOVED;;;35079;raid;SAY;*spell CD over for *source.;26
or
/tjh rule SPELL_AURA_APPLIED;;;35079;raid;SAY;*spell CD over for *source.;30

Now over to the more wicked Tricks analysis :)
From Combat Log you gave me:
Code: Select all
time         event                source     target       spell id      spell name
20:02:37.168 SPELL_AURA_APPLIED   Pacquiao   Pacquiao     57934         Tricks
20:02:37.168 SPELL_CAST_SUCCESS   Pacquiao   Kimurellia   57934         Tricks
20:02:37.433 SPELL_AURA_REFRESH   Pacquiao   The Damned   51585         Blade T
20:02:37.501 SPELL_AURA_APPLIED   Pacquiao   Pacquiao     59628         Tricks
20:02:37.501 SPELL_AURA_REMOVED   Pacquiao   Pacquiao     57934         Tricks
20:02:37.501 SPELL_ENERGIZE       Pacquiao   Pacquiao     70804         Tricks
20:02:37.705 SWING_DAMAGE         Pacquiao   The Damned   945           0
20:02:37.838 SPELL_AURA_APPLIED   Pacquiao   Kimurellia   57933         Tricks
20:02:43.548 SPELL_AURA_REMOVED   Pacquiao   Pacquiao     59628         Tricks
20:02:43.848 SPELL_AURA_REMOVED   Pacquiao   Kimurellia   57933         Tricks
(removed some spell name text, to make it fit)

Here it seems that the spell put, ie the Tricks, are 57934 which both target and source gets. When the rogue deals damage he gets 59628 and the 57934 is removed from the rogue. (Rogue then gets 15 energy from 2pt10, 70804) Deals 945 damage (this is not a spell id) and the tank gets the aura 57933. 6 seconds after the first attack both the rogues (59628) and the tanks (57933) Tricks are removed. I would then build the rule to trigger on either spell id 59628 trigger, 59628 removal or 59628 removal, if the same methodology works as the MD.

Ie rule would be
/tjh rule SPELL_AURA_APPLIED;;;59628;raid;SAY;*spell CD over for *source.;30 (triggers for first attack by rogue, then 30s delay for the announcement)
or
/tjh rule SPELL_AURA_REMOVED;;;59628;raid;SAY;*spell CD over for *source.;24 (triggers 24s (30-6) after the rogue loses his tricks)
or
/tjh rule SPELL_AURA_REMOVED;;;57933;raid;SAY;*spell CD over for *source.;24 (triggers 24s (30-6) after the tank loses his tricks)

Personally Id go with the 'APPLIED' rules, so that the rule wont trigger beforehand if the tank dies for example :)

I hope this post is understandable..
User avatar
Darkler
 
Posts: 66
Joined: Wed Apr 08, 2009 2:57 am

Re: Easy way to track misdirects and tricks?

Postby RedAces » Wed May 19, 2010 4:50 am

heyho,

I'm using Execution and this rule:
Code: Select all
COMBAT_LOG_EVENT_UNFILTERED;,SPELL_CAST_SUCCESS,,,,,,,,Tricks of the Trade,;;chat(SELF:Tricks  *source -> *target!);


Output (Pixelbandit is our Rogue):
Code: Select all
Tricks Pixelbandit -> Liyandra


Bye, RedAces.
Image
User avatar
RedAces
 
Posts: 500
Joined: Tue Dec 01, 2009 9:39 am
Location: Germany

Re: Easy way to track misdirects and tricks?

Postby Darkler » Wed May 19, 2010 8:38 am

Yeah, but the goal with the rules above was to fulfill the OPs request, to be able to track when the CD on MD and Tricks was over :)
User avatar
Darkler
 
Posts: 66
Joined: Wed Apr 08, 2009 2:57 am

Re: Easy way to track misdirects and tricks?

Postby fafhrd » Wed May 19, 2010 9:28 am

Not looking up the spells on wowhead right now, but I assume the buff the tank is getting from the rogue when the rogue attacks is the actual 15% damage buff, and nothing to do with the threat redirect. In both the hunter and rogue case, the threat portion is only a targetted spell cast by the hunter/rogue to the tank, which is why you only see a spell_cast_success for misdirect from source fafhrd to target kimurellia, and no spell_aura_applied/removed on kim - the auras are on fafhrd, since he first gets one buff for "you will start redirecting your threat when you next attack" and another buff later on for "you are redirecting all threat for the next 4 seconds".

If it's unclear, those were literally the only events relevant to the characters involved during the MD/tricks duration, I didn't skip anything other than heals/buffs/debuffs/damage on them from other players/mobs. The rogue one might have had an extra blade twisting refresh somewhere in there is all.
ImageImage
1/1 Lore pre-nerf.
User avatar
fafhrd
 
Posts: 5432
Joined: Fri Aug 31, 2007 2:31 pm

Previous

Return to Add-ons, UI, and Macros

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Who is online

In total there are 2 users online :: 1 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: Bing [Bot] and 1 guest