ThatJustHappened: Combat Event Announcement Mod

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Postby Sarkan-ZdC » Wed Jul 16, 2008 1:45 am

Guillex wrote:Modus.

You are, by far, the man.


QFT

Request to all: If you create a new rule that you think would be nice for other paladins out there: SHARE IT.
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby moduspwnens » Wed Jul 16, 2008 6:13 am

link wrote:ah ic.
Beginning to understand more.

Thanks
update: Something for my beloved MPW. :D

/tjh rule SPELL_AURA_APPLIED;;;Time's Favor;self;SAY;Pocket Watch is used!
/tjh rule SPELL_AURA_REMOVED;;;Time's Favor;self;SAY;Dodge buff is OVER!


Added this, and made a similar set for the Scarab.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby moduspwnens » Wed Jul 16, 2008 6:13 am

Sarkan-ZdC wrote:Request to all: If you create a new rule that you think would be nice for other paladins out there: SHARE IT.

Even if you can just think of something that we should make as a rule, let us know.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby jere » Wed Jul 16, 2008 6:20 am

Just out of curiousity, there has to be somewhere where these rules are stored for the addon, so I wonder if it is possible to figure that out and "make" a rule file by taking a list of the rules and copy/pasting them into whatever file the addon uses rather than having to add them in manually one by one.

Apologies if you put that in the guide somewhere, but I am at work and was only able to skim through it for the moment.
Image
User avatar
jere
 
Posts: 2389
Joined: Fri May 11, 2007 5:12 pm

Postby moduspwnens » Wed Jul 16, 2008 6:35 am

jere wrote:Just out of curiousity, there has to be somewhere where these rules are stored for the addon, so I wonder if it is possible to figure that out and "make" a rule file by taking a list of the rules and copy/pasting them into whatever file the addon uses rather than having to add them in manually one by one.

Apologies if you put that in the guide somewhere, but I am at work and was only able to skim through it for the moment.


That's possible. I've already seen the file and it's quite easy to configure, but I don't want to put ALL these rules in it, cause that will bug the crap out of people. I may just, say, color code the ones in the base package as red or something, though. I'll be thinking about it.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby jere » Wed Jul 16, 2008 6:40 am

Yep, sorry I didn't mean all of them. I was more thinking on a way of adding multiple ones faster in general. You know, we could copy the ones we wanted into notepad, make a list that we like and then copy paste that list into whatever file the addon uses. Just wasn't sure if this was possible (it would depend on the file's format I would imagine).

Sorry I am a bit scatter brained sometimes.
Image
User avatar
jere
 
Posts: 2389
Joined: Fri May 11, 2007 5:12 pm

Postby moduspwnens » Wed Jul 16, 2008 6:42 am

Hmmm. I see what you mean. I'll think of a good way to do this.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Dimitry » Wed Jul 16, 2008 10:38 am

Thanks Modus! Awesome list. I'll also look at the whole file format thing when I get home. Well, hopefully... ZA tonight. :)

edit: Oh yeah. Is this sticky worthy? IMO it is. :)
Image
Dimitry
 
Posts: 121
Joined: Tue Jun 17, 2008 8:40 am

Postby moduspwnens » Wed Jul 16, 2008 10:47 am

Dimitry wrote:edit: Oh yeah. Is this sticky worthy? IMO it is. :)


I wouldn't say so, at least not yet. If this mod becomes as standard as, say, Tankadin, or close to it, then I'd say probably. For now, though, we can just be sure it gets bumped once in a while to the front page. :)
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Sarkan-ZdC » Wed Jul 16, 2008 11:57 am

moduspwnens wrote:
link wrote:ah ic.
Beginning to understand more.

Thanks
update: Something for my beloved MPW. :D

/tjh rule SPELL_AURA_APPLIED;;;Time's Favor;self;SAY;Pocket Watch is used!
/tjh rule SPELL_AURA_REMOVED;;;Time's Favor;self;SAY;Dodge buff is OVER!


Added this, and made a similar set for the Scarab.


Juwelcrafting Tank Trinket :)

Figurine - Empyrean Tortoise

/tjh rule SPELL_AURA_APPLIED;;;Empyrean Tortoise;self;SAY;Empyrean Tortoise is used!

/tjh rule SPELL_AURA_REMOVED;;;Empyrean Tortoise;self;SAY;Dodge buff is OVER!

------------

Something for Blessing of Protection?
Sarkan-ZdC
 
Posts: 297
Joined: Tue May 13, 2008 4:00 am

Postby Chevalier » Wed Jul 16, 2008 12:16 pm

Um...Modus for MVP
User avatar
Chevalier
 
Posts: 295
Joined: Fri Mar 30, 2007 6:29 am

Postby Chevalier » Wed Jul 16, 2008 12:34 pm

This one isn't working:

Big Bad Wolf (Red Riding Hood Debuff)

/tjh SPELL_AURA_APPLIED;;;Red Riding Hood;;RAID;*target is Little Red Riding Hood.
User avatar
Chevalier
 
Posts: 295
Joined: Fri Mar 30, 2007 6:29 am

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

Sarkan-ZdC wrote:
Juwelcrafting Tank Trinket :)

Figurine - Empyrean Tortoise

/tjh rule SPELL_AURA_APPLIED;;;Empyrean Tortoise;self;SAY;Empyrean Tortoise is used!

/tjh rule SPELL_AURA_REMOVED;;;Empyrean Tortoise;self;SAY;Dodge buff is OVER!

Added. :)
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 rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

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

Chevalier wrote:This one isn't working:

Big Bad Wolf (Red Riding Hood Debuff)

/tjh SPELL_AURA_APPLIED;;;Red Riding Hood;;RAID;*target is Little Red Riding Hood.


That's odd. I'll have to check next time I do the event.

http://www.wowhead.com/?spell=30756

That's (what I think) is the spell name, and if it is, it should be caught by "Red Riding Hood." If anyone has a combat log available of it, that would certainly help.
I rule.
moduspwnens
Moderator
 
Posts: 3382
Joined: Tue Nov 06, 2007 12:28 pm
Location: Shattered Hand

Postby Chevalier » Wed Jul 16, 2008 12:39 pm

When I tried to put it under my rules, nothing happened. Maybe too many ;?
User avatar
Chevalier
 
Posts: 295
Joined: Fri Mar 30, 2007 6:29 am

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: 2389
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

Next

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