Download
(146Kb)
Download
Updated: 04-27-08 05:22 AM
Pictures
File Info
Updated:04-27-08 05:22 AM
Created:unknown
Downloads:1,637
Favorites:7
MD5:

MTRCastInform

Version: 1.3.0b1_zip
by: osanaco [More]

An addon helps you inform others while casting spells.
Also provides Dead/Alive informing.


Macro-specified spell event informs and general spell event informs:
start, interrupt, fail, done, immune, resist, evade.

Supports character dead/alive informing.

Supports arguments for macro-specified informing:
"<%%sn/>" for the spell name,
"<%%sr/>" for the spell rank,
"<%%st/>" for the spell target,
"<%%sT/>" for the spell type,
"<%%mr/>" for the reason why the spell missed,
"<%%rnd/>" for the random message array picking up one message in it.

Supports arguments for general informing:
"<%%sn/>" for the spell name,
"<%%sr/>" for the spell rank,
"<%%mr/>" for the reason why the spell missed,

Supports simple pet general informing.

Provides GUI and instant toggles for general spell event informs.

Provides Monitor Frame of casted spells.



Use "/mci" for help.
Use "/ci" or "/mci ci func" for CastInform macro function help.
Use "/ci [<EventCategory>=] <action>" in macro to set event actions
Use "/ci c" in the end point of a macro to ensure malfunction never happened.
Use "/mci monit level" to set the level of cast monitor frame.
Default is "MEDIUM". The others are "DIALOG", "HIGH", "LOW", and "BACKGROUND"
Use "/mci monit move" to toggle the UI movable or not.
Use "/mci monit show" to toggle the UI being show or hide.
Use "/mci monit rows <num>" to set the maximal history rows in UI.
Range is 1 to 20. Default is 10. Recommend to set 5.
Use "/mci ci note" to see CastInform notes.
Use "/mci ci ex" to see CastInform examples.
Use "/mci ci <GeneralEvent>= <action>" to set event actions for 7 general events.


How to use in macro?
Usage:
/ci [EventCategory=] <action>

EventCategory is listed as follows:
"s": when casting started (excluding instant spell)
"i": when casting interrupted (excluding channel and instant spell)
"f": when cast failed (must start casting first)
"d": when casting done
"u": successful spell but immune
"r": successful spell but resisted
"e": successful spell but evaded
"rnd": the name of global random message array
"clear" or "c": clear all event actions

The resist category (r) includes "RESIST", "MISS", "DODGE", "PARRY".

Notice that it implicitly uses "done" event category if EventCategory
is not given. So two lines list below are equivalent:
/ci d= /e completed the work
/ci /e completed the work


Set General Event Actions
Usage:
/mci ci <GeneralEventCategory>= <action>

GeneralEventCategory is listed as follows:
"gs": when any spell you casted starts (excluding instant spell)
"gi": when any spell you casted interrupts (excluding channel and instant spell)
"gf": when any spell you castedcast fails (must start casting first)
"gd": when casting done
"gu": when any spell you casted fails since target is immune
"gr": when any spell you casted is resisted
"ge": when any spell you casted is evaded (not dodged)

Notice: to clear event action, the action should be given
only 2 double quotes, that is, to clear the general evade action,
just type as follows:
/mci ci ge= ""

Ex:
You could first set general event action by typing once
"/mci ci ge= /y Watch out! %t is evaded!".
And go to enjoy WoW.
Each time your target evaded your spell,
you would automatically yell "Watch out! %t is evaded!".


Arguments, random message array are supported for events.
Please read the readme file inside.

1.3.0b1
Add: provides simple pet general Immune, Resist eventaction
Fix: bugs of special channel spells (Shaman, Warlock)
Fix: bugs of codes
Fix: bugs of timeout mechanism
Fix: bugs of recognization of spell states under certain situations
Modify: foundamental library uses ACE3 from ACE2
Modify: use dialog setting UI
Modify: now RESIST,MISS,DODGE,PARRY,BLOCK all are part of resist EventCategory

1.2.8b3
Add: random informing functionality (command "/ci rnd=" and argument "<%%rnd/>")
Add: spell missed reason in detail (argument "<%%mr/>")
1.2.8b2
Add: error tolerance mechanism for unstopped spell only sending
Fix: event actions malfunction while casting normal spells
Fix: bugs while casting melee spell
Fix: bugs while casting auto-repeated spell (hunter)
1.2.8b1
Add: on UI directly toggles for general event actions (including dead informing
and alive informing)
Modify: improving performance a little bit
Modify: compatible to WOW ver. 2.4
Modify: the event action's arguments of immune, resist, evade only supports
<%%sn/>, <%%st/>
1.2.7b5
Add: dead informing and alive informing
Fix: error tolerance mechanism bug
Fix: in previous fix of warrior, the state is set wrong
Fix: the notes in help doesn't consist with the update
Modify: the event action's arguments of immune, resist, evade support
<%%sn/>, <%%st/>, <%%NUM/> at the same time
1.2.7b4
Fix: awaiting target spells malfunction
Modify: supports %t and %f for whispering(/w) in event action,
although <%%st/> better suits for.
Ex: /ci s=/w %t I want to <%%sn/> on you
Better Ex: /ci s=/w <%%st/> I want to <%%sn/> on you
1.2.7b3
Fix: enUS localization can't work because of incorrect lua pattern
Fix: warrior skills are handled incorrectly
Modify: the event action's arguments of immune, resist, evade are changed from
<%%NUM/> to two others, that is, <%%sn/> and <%%st/>.
1.2.7b2
Add: recognization of miss event of spell, which categorized in resisted event.
Optional Files (0)


Post A Reply Comment Options
Unread 12-20-07, 02:40 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Avenger's Shield missed

Good Addon.
I just tried it for my paladin's Avenger's Shield.
But it seems MTRCastInform don't support "miss" of Avenger's Shield.
It is one of the few spells which really do 'miss' instead of fail nor resited.

Message will be, for example:
Your Avenger's Shield missed Bladespire Mystic.
Last edited by Tageshi : 12-20-07 at 02:41 AM.
Report comment to moderator  
Reply With Quote
Unread 12-20-07, 04:17 AM  
osanaco
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Re: Avenger's Shield missed

Originally posted by Tageshi
Good Addon.
I just tried it for my paladin's Avenger's Shield.
But it seems MTRCastInform don't support "miss" of Avenger's Shield.
It is one of the few spells which really do 'miss' instead of fail nor resited.

Message will be, for example:
Thank you a lot.
It's true that "miss" event is not handled in this addon so far.
I will check it and try to recognize it.
Report comment to moderator  
Reply With Quote
Unread 12-20-07, 11:30 AM  
osanaco
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Now the new version 1.7.2b2 could recognize "miss" event of spell.
It is categorized in the "Resisted" category event action.
That is, when the spell "miss" , it invokes resist event ation.
Report comment to moderator  
Reply With Quote
Unread 12-21-07, 10:44 PM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Originally posted by osanaco
Now the new version 1.7.2b2 could recognize "miss" event of spell.
It is categorized in the "Resisted" category event action.
That is, when the spell "miss" , it invokes resist event ation.
I have tried new version.
But it didn't work on "miss" yet. Just nothing happen on "miss".
I have both settings on "resisted" category.
/mci ci gr= /y blahblah
/ci r=/y blah blha

"Interupt" category is working for me.
Last edited by Tageshi : 12-21-07 at 10:44 PM.
Report comment to moderator  
Reply With Quote
Unread 12-23-07, 05:50 PM  
osanaco
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
After checked it, I got the problem.
In enUS localization file, i use incorrect lua patterns.
I do sorry for that.
It makes MTRCastInform not able to work right.
Now version 1.2.7b4 uses wider patterns.
I think it should work ^^

In addition, it also fixes some problems and modifies argument's usage.
Currently, the spell events unhandled are: blocked, dodged, parried, reflected.
The version 1.2.7b3 doesn't release.

And...
Wish everybody a Merry Xmas


The changed log is as follows:
1.2.7b4
Fix: awaiting target spells malfunction
Modify: supports %t and %f for whispering(/w) in event action,
although <%%st/> is better. Ex: /ci s=/w %t I want to <%%sn/> on you
1.2.7b3
Fix: enUS localization can't work because of incorrect lua pattern
Fix: warrior skills are handled incorrectly
Modify: the event action's arguments of immune, resist, evade are changed from
<%%NUM/> to two others, that is, <%%sn/> and <%%st/>.
Last edited by osanaco : 12-24-07 at 03:20 AM.
Report comment to moderator  
Reply With Quote
Unread 12-29-07, 12:12 PM  
rhyek
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I tried this addon for a little bit a few moments ago. A simple macro was working flawlessly. One problem I have with it though is every time I cast any spell my video has a split second skip. This can be any spell casted in any way. It gets pretty annoying after a while. Had to disable it unfortunately.
Nice addon though. Works much better than Aftercast (though AC doesn't have said skipping )
Last edited by rhyek : 12-29-07 at 12:21 PM.
Report comment to moderator  
Reply With Quote
Unread 12-30-07, 05:39 AM  
osanaco
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Originally posted by rhyek
I tried this addon for a little bit a few moments ago. A simple macro was working flawlessly. One problem I have with it though is every time I cast any spell my video has a split second skip. This can be any spell casted in any way. It gets pretty annoying after a while. Had to disable it unfortunately.
Nice addon though. Works much better than Aftercast (though AC doesn't have said skipping )
Sorry I can't exactly understand the problem. ><
Maybe you can give some examples or more details to help me find out where it can improve.
Report comment to moderator  
Reply With Quote
Unread 12-30-07, 12:23 PM  
rhyek
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Whenever I cast anything, at the very beginning of the cast, whether it be instant or not, my game just sort of makes a split second pause. It basically feels like overhead. When I disable your addon the overhead's cleared.
Report comment to moderator  
Reply With Quote
Unread 12-30-07, 02:39 PM  
osanaco
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Oh~ I see. You are right.
MTRCastInform uses object-oriented concept to pack infos per casting.
Besides, to be able to get resisted, immune and evaded events,
it parses every "CHAT_MSG_SPELL_SELF_BUFF" and
"CHAT_MSG_SPELL_SELF_DAMAGE" events, which come from
combat log mechanism of the game.
Parsing would take a lot computing time.

Otherwise, it traces MTRCastInform how it works for debugging purpose at the same time.
You may disable the "Trace Function" to see if it can reduce overhead.
I wish this helpful for you. ^^
Report comment to moderator  
Reply With Quote
Unread 12-31-07, 04:02 PM  
rhyek
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I disabled the option, but it didn't fix the problem. Maybe you could make it so your addon only tracks events and results based on what the macros require and dispose of said checks once the macro has concluded. I don't really understand why so many checks need to be done when I'm summoning my dreadsteed when all I want is to check if my spellstone is succesful or not
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: