ErrorMonster is a small addon to block a few standard action errors from printing. Please note that it does not block the "Error Speech" that comes with them - you have to disable that in Sound Options.
Default Filters
Ability is not ready yet.
Not enough energy
There is nothing to attack.
That ability requires combo points
Your target is dead
Another action is in progress
Commands
ErrorMonsters slash commands are accessed through /errormonster or /em. Commands exist to list, add and remove filters to the blocking list.
Someone feel free to expand the text if they find something to write.
Things that might be worth adding are options to redirect errors to a ChatFrame and blocking these things from spamming the combat log as well.
Nice, I can finally ditch my old mod SpamIam, which I based off of RogueSpam.
I added the following to the errorlist so the mod is more useful to other classes:
errorList = {
ERR_ABILITY_COOLDOWN, -- Ability is not ready yet. (Ability)
ERR_SPELL_COOLDOWN, -- Spell is not ready yet. (Spell)
ERR_OUT_OF_ENERGY, -- Not enough energy. (Err)
OUT_OF_ENERGY, -- Not enough energy.
ERR_OUT_OF_RAGE, -- Not enough rage.
ERR_NO_ATTACK_TARGET, -- There is nothing to attack.
SPELL_FAILED_NO_COMBO_POINTS, -- That ability requires combo points.
SPELL_FAILED_TARGETS_DEAD, -- Your target is dead.
SPELL_FAILED_SPELL_IN_PROGRESS, -- Another action is in progress. (Spell)
SPELL_FAILED_TARGET_AURASTATE, -- You can't do that yet. (TargetAura)
SPELL_FAILED_CASTER_AURASTATE, -- You can't do that yet. (CasterAura)
SPELL_FAILED_NO_ENDURANCE, -- Not enough endurance
ERR_INVALID_ATTACK_TARGET, -- You cannot attack that target.
SPELL_FAILED_BAD_TARGETS, -- Invalid target
SPELL_FAILED_NOT_MOUNTED, -- You are mounted
SPELL_FAILED_NOT_ON_TAXI, -- You are in flight
},
woot go devla, thanks for posting those, ive been using spamiam and errormonster side by side as i havent had the time to convert all the class specifics yet
look forward to seeing the new revision :D
[2006/10/24 09:36:40-172]: ErrorMonster\ErrorMonster.lua:69: AceHook-2.1: Could not find the handler you supplied when hooking method "AddMessage"
<in C code>: in function `error'
AceLibrary\AceLibrary.lua:117: in function `error'
AceHook\AceHook-2.1.lua:333: in function <...ce\AddOns\ag_UnitFrames\libs\AceHook\AceHook-2.1.lua:303>
AceHook\AceHook-2.1.lua:435: in function `Hook'
ErrorMonster\ErrorMonster.lua:69: in function `OnEnable'
AceAddon-2.0\AceAddon-2.0.lua:568: in function `obj_method'
AceEvent\AceEvent-2.0.lua:244: in function `TriggerEvent'
AceEvent\AceEvent-2.0.lua:894: in function <...\AddOns\ag_UnitFrames\libs\AceEvent\AceEvent-2.0.lua:886>
ErrorMonster is a small addon to block a few standard action errors from printing. Please note that it does not block the "Error Speech" that comes with them - you have to disable that in Sound Options.
Default Filters
Commands
ErrorMonsters slash commands are accessed through /errormonster or /em. Commands exist to list, add and remove filters to the blocking list.
Someone feel free to expand the text if they find something to write.
Things that might be worth adding are options to redirect errors to a ChatFrame and blocking these things from spamming the combat log as well.
Obtain
Files here: http://www.wowace.com/projects/error-monster/
I added the following to the errorlist so the mod is more useful to other classes:
look forward to seeing the new revision :D
keep up the awesome work!
-Ammo
Would like that too, could replace error redirect...
edit: or better, maybe make it possible to have two lists... one to block, one to redirect to a chosen chatframe
If i revert back its fine; error messgae is like something add message didnt copy it :(
<in C code>: in function `error'
AceLibrary\AceLibrary.lua:117: in function `error'
AceHook\AceHook-2.1.lua:333: in function <...ce\AddOns\ag_UnitFrames\libs\AceHook\AceHook-2.1.lua:303>
AceHook\AceHook-2.1.lua:435: in function `Hook'
ErrorMonster\ErrorMonster.lua:69: in function `OnEnable'
AceAddon-2.0\AceAddon-2.0.lua:568: in function `obj_method'
AceEvent\AceEvent-2.0.lua:244: in function `TriggerEvent'
AceEvent\AceEvent-2.0.lua:894: in function <...\AddOns\ag_UnitFrames\libs\AceEvent\AceEvent-2.0.lua:886>
---
Would be great if you could add the option to redirect to chatframes (1 to 10) too, would save me from editing ;-)
Ydrisselle, you can add your own filters easily.
I'll take a look at it, when I'm playing again...
How could I miss it before... Thx. :D