ThatJustHappened: Combat Event Announcement Mod

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Postby moduspwnens » Wed Jul 16, 2008 12:54 pm

Chevalier wrote:When I tried to put it under my rules, nothing happened. Maybe too many ;?


Oh! I thought you put it in, and it wasn't announcing. Lol. Let me check the rule. I probably left out a semicolon. I was checking WWS reports and everything trying to figure out how it would be different. :P

I checked the rule, and nothing is wrong with it, but I, too, was unable to copy and paste it in. You'll have to type /tjh and input the parts manually (it's not too tough), but it does work. I'll point the developer to your post.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Dimitry » Wed Jul 16, 2008 3:27 pm

moduspwnens wrote:
Sarkan-ZdC wrote:Something for Blessing of Protection?

Hmm. For when anybody gains it? Or you cast it on someone? I don't know.


I'd use a rule for when I cast it on someone. I imagine this would be similar to the DI rule.
Image
Dimitry
 
Posts: 121
Joined: Tue Jun 17, 2008 8:40 am

File format

Postby Dimitry » Wed Jul 16, 2008 9:22 pm

Ok, I took a look at the file format and if you want to copy and paste rules in, it's pretty simple.

The ThatJustHappened.lua saved variables file looks something like this:

Code: Select all
TJH_Rules = {
   "SPELL_CAST_SUCCESS;Dimitry;;Holy Shield;;SELF;Shield Baby!", -- [1]
}
TJH_Options = {
   ["enabled"] = 1,
}


You can just add a new rule by adding a new line. The entire rule goes between the quotes. So after adding one of Modus's rules:

SPELL_AURA_APPLIED;;Dimitry;Avenging Wrath;;SELF;Wings popped

The file looks like this:


Code: Select all
TJH_Rules = {
   "SPELL_CAST_SUCCESS;Dimitry;;Holy Shield;;SELF;Shield Baby!", -- [1]
   "SPELL_AURA_APPLIED;;Dimitry;Avenging Wrath;;SELF;Wings popped", -- [2]
}
TJH_Options = {
   ["enabled"] = 1,
}


edit: oops

Anoteher edit: Make sure you close out of wow before you make changes to the files. If you work ion the file while the game is open, your changes will be overwritten.
Image
Dimitry
 
Posts: 121
Joined: Tue Jun 17, 2008 8:40 am

Postby Cakes » Thu Jul 17, 2008 12:08 am

For Felmyst, DBM and Bigwigs typically track encapsulate whenever Felmyst changes targets, so it's slightly more difficult to track when the MT gets it.

/tjh rule SPELL_AURA_APPLIED;;MAIN_TANK_NAME;Encapsulate;;RW;Encap on Main Tank

I think that should be right, just change it based on who the main tank is.
Cakes
 
Posts: 327
Joined: Sun Jul 01, 2007 1:14 pm

Postby Sarkan-ZdC » Thu Jul 17, 2008 4:15 am

moduspwnens wrote:
Sarkan-ZdC wrote:
Sarkan-ZdC wrote:Something for Blessing of Protection?

Hmm. For when anybody gains it? Or you cast it on someone? I don't know.


Someone get's it.

Like that macro in the sticky:

Name has BoP, he can nuke on, but aggro comes back! Or something like that
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby Sarkan-ZdC » Thu Jul 17, 2008 4:20 am

For PvP I had something like Don't manaburn me bro or so. That was yelling for mana-burn. Did not matter if fokus or target did it (for them I have Addons now), but it always yelled if somebody used it.

It was epic win in 5 player arena.

Possible to have a rule?

The other: Taunt Happy Paladin is always getting my mobs in Hyjal (yes, we do go there also with 2 paladins. Boring as hell but works fast),

so is there a way to add a rule for our own kind of taunt?
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby moduspwnens » Thu Jul 17, 2008 6:41 am

Cakes wrote:For Felmyst, DBM and Bigwigs typically track encapsulate whenever Felmyst changes targets, so it's slightly more difficult to track when the MT gets it.

/tjh rule SPELL_AURA_APPLIED;;MAIN_TANK_NAME;Encapsulate;;RW;Encap on Main Tank

I think that should be right, just change it based on who the main tank is.

Added. Thanks :D

Sarkan-ZdC wrote:For PvP I had something like Don't manaburn me bro or so. That was yelling for mana-burn. Did not matter if fokus or target did it (for them I have Addons now), but it always yelled if somebody used it.

It was epic win in 5 player arena.

Possible to have a rule?

Done.

Sarkan-ZdC wrote:The other: Taunt Happy Paladin is always getting my mobs in Hyjal (yes, we do go there also with 2 paladins. Boring as hell but works fast),

so is there a way to add a rule for our own kind of taunt?


At first, I thought no, because it basically works like this in the combat log:
Paladin casts Righteous Defense on PlayerX.
Mob1 is afflicted by Righteous Defense.
Mob2 is afflicted by Righteous Defense.
Mob3 is afflicted by Righteous Defense.

...but if you're wanting when he taunts off of you, we should be able to use that first line. Since he actually has to cast something on you to taunt, it should be fairly simple.
    /tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;Taunt off me again, !@#$%.


I'll add it to the list.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Re: File format

Postby moduspwnens » Thu Jul 17, 2008 6:45 am

Dimitry wrote:<snip>


Thanks! That'll certainly help anyone who's wanting to input rules quickly.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby jere » Thu Jul 17, 2008 6:55 am

Quick question:

In the last field I see you use *target, which I assume is the escape sequence for having the addon put the target's name. Is there a *targettarget perchance?

If so, then it might be possible to set up a global rule where you don't filter on the casters name (leave that part blank if allowed) and using *targettarget in the phrase.

It may not be possible, just tossing out ideas. If it worked, you wouldn't need a separate taunt rule for each tank.
Image
User avatar
jere
 
Posts: 2381
Joined: Fri May 11, 2007 5:12 pm

Postby Teyrocar » Thu Jul 17, 2008 6:57 am

You really only need a separate taunt rule if you're not a paladin anyway. Even the RD rule shouldn't report your own taunts, unless you're taunting off yourself. ;)

I use the taunt rules Modus listed in my topic, without the DruidName/WarriorName fields.
Image
Teyrocar
 
Posts: 78
Joined: Tue Apr 22, 2008 6:35 am
Location: Bloodhoof

Postby moduspwnens » Thu Jul 17, 2008 6:58 am

jere wrote:Quick question:

In the last field I see you use *target, which I assume is the escape sequence for having the addon put the target's name. Is there a *targettarget perchance?

If so, then it might be possible to set up a global rule where you don't filter on the casters name (leave that part blank if allowed) and using *targettarget in the phrase.

It may not be possible, just tossing out ideas. If it worked, you wouldn't need a separate taunt rule for each tank.


Nope. The "target" is really only based on the combat log, so I don't think it could do that.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Jobalq » Thu Jul 17, 2008 7:17 am

For Lay on Hands would be:

/tjh rule SPELL_AURA_APPLIED;;;Lay on Hands;self;PARTY;Lay on Hands used!

Just like the Last Stand/Shield Wall?
Image
"Judge a man by the trials of his shield, not the empty reaping of his sword". - Joanadark.
Jobalq
 
Posts: 158
Joined: Mon May 19, 2008 1:51 pm

Postby moduspwnens » Thu Jul 17, 2008 7:33 am

Jobalq wrote:For Lay on Hands would be:

/tjh rule SPELL_AURA_APPLIED;;;Lay on Hands;self;PARTY;Lay on Hands used!

Just like the Last Stand/Shield Wall?


That would work if you have the Imp Lay on Hands that gives you a buff, but for the spell itself, it would be SPELL_CAST_SUCCESS. :) I'm going to add it, though.

EDIT: I added two, one that announces when anybody casts LoH, and one that announces only when you cast it, and how much it heals for. I also removed the "self" affiliation, and put PlayerName as the source. This is because I'm not sure if the "self" affiliation applies only to the source, or target, or both. Using "self", it may announce others' Lay on Hands cast on you as your own. Those two should work, but further testing couldn't hurt.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Racerover » Thu Jul 17, 2008 8:23 am

Just an error I noticed.

/tjh SPELL_CAST_SUCCESS;Gathios the Shatterer;;Consecration;;SAY;Consecration laid.

You forgot to add "rule" after /tjh. It may confuse retards for up to 15min. (I may or may not have been one of those people)
User avatar
Racerover
 
Posts: 60
Joined: Mon Mar 23, 2009 2:24 pm

Postby moduspwnens » Thu Jul 17, 2008 9:37 am

Racerover wrote:Just an error I noticed.

/tjh SPELL_CAST_SUCCESS;Gathios the Shatterer;;Consecration;;SAY;Consecration laid.

You forgot to add "rule" after /tjh. It may confuse retards for up to 15min. (I may or may not have been one of those people)


Fixed. Thanks.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Dimitry » Thu Jul 17, 2008 11:55 am

It'd be nice if there was a GUI for collectively managing the rules. I think I'm going to try and come up with a quick and dirty Windows app that will let you batch add, remove, and changes rules. Will post here if I have any success.
Image
Dimitry
 
Posts: 121
Joined: Tue Jun 17, 2008 8:40 am

Postby Prinia » Thu Jul 17, 2008 5:57 pm

Zul'aman, Jan'Alai.
Announces in /ra when someone is hit by the bomb, so everyone can /lol at them!
Code: Select all
SPELL_DAMAGE;;;Fire Bomb;raid;RAID;*target got hit by firebomb!
Prinia
 
Posts: 13
Joined: Fri Jul 04, 2008 4:45 pm

Postby moduspwnens » Thu Jul 17, 2008 6:15 pm

Prinia wrote:Zul'aman, Jan'Alai.
Announces in /ra when someone is hit by the bomb, so everyone can /lol at them!
Code: Select all
SPELL_DAMAGE;;;Fire Bomb;raid;RAID;*target got hit by firebomb!


Excellent idea. Added, thanks.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby jere » Thu Jul 17, 2008 7:04 pm

I could have used this when I was doing the murlocs on Tidewalker and people wouldn't quit healing my warlock.

Leave my freakin warlock alone!!!
Image
User avatar
jere
 
Posts: 2381
Joined: Fri May 11, 2007 5:12 pm

Postby Prinia » Thu Jul 17, 2008 7:34 pm

Thought of a new one, announces to yourself when you are standing in Malacrass' consecration, not testet yet thou!
Code: Select all
SPELL_DAMAGE;Hex Lord Malacrass;;Consecration;self;WARN;MOVE FROM CONSECRATION YOU R-TARD!
Prinia
 
Posts: 13
Joined: Fri Jul 04, 2008 4:45 pm

Postby moduspwnens » Fri Jul 18, 2008 11:29 am

Prinia wrote:Thought of a new one, announces to yourself when you are standing in Malacrass' consecration, not testet yet thou!
Code: Select all
SPELL_DAMAGE;Hex Lord Malacrass;;Consecration;self;WARN;MOVE FROM CONSECRATION YOU R-TARD!


Added. Thanks.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Velgarn » Fri Jul 18, 2008 3:21 pm

Some other potentially useful ones would be Fear and Death Coil, for Nightbane and Gruul (Olm tank). Just to let people know you lost aggro. (I also set it up to do another message once fear was over/dispelled. Granted, anyone seeing a giant dragon running around eating them should get the hint, but you never know... :lol:
Velgarn
 
Posts: 22
Joined: Wed Oct 31, 2007 2:14 am

Postby moduspwnens » Fri Jul 18, 2008 5:06 pm

Velgarn wrote:Some other potentially useful ones would be Fear and Death Coil, for Nightbane and Gruul (Olm tank). Just to let people know you lost aggro. (I also set it up to do another message once fear was over/dispelled. Granted, anyone seeing a giant dragon running around eating them should get the hint, but you never know... :lol:


Fears no longer drop aggro, but yeah, I can look into that.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Wyleai » Fri Jul 18, 2008 8:36 pm

I'd like to suggest that you bug the author to let us set flags to have it ignore things triggered by us.

So; call out event X unless I am the one who does X.
Image
Image
User avatar
Wyleai
 
Posts: 306
Joined: Tue Apr 08, 2008 11:05 pm
Location: San Francisco

Postby moduspwnens » Fri Jul 18, 2008 8:39 pm

Wyleai wrote:I'd like to suggest that you bug the author to let us set flags to have it ignore things triggered by us.

So; call out event X unless I am the one who does X.


Already done. No response as of now.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

PreviousNext

Return to Add-ons, UI, and Macros

Who is online

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

cron

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