I'd like to be redirect the eaten error messages to my combat log, but I can't seem to get them to go anywhere but to my main chat window. Is this possible?
I'd like to be redirect the eaten error messages to my combat log, but I can't seem to get them to go anywhere but to my main chat window. Is this possible?
You need to register a new output sink in Sink-1.0, like
local s = AceLibrary("Sink-1.0")
s:RegisterSink("CombatLog", "Combat Log", nil, function(addon, text, r, g, b) ChatFrameX:AddMessage(text, r, g, b) end)
Where "ChatFrameX" is obviously the chat frame where you want it, usually ChatFrame2, I guess.
And then do /errormonster output CombatLog to route output to your new sink.
I put the code at the end of the Initialization block in ErrorMonster. Is there a better place? My only concern now is that every time ErrorMonster is updated I'll need to add it again.
I put the code at the end of the Initialization block in ErrorMonster. Is there a better place? My only concern now is that every time ErrorMonster is updated I'll need to add it again.
Doesn't really matter where you put it, but that sounds like as good a place as any.
If you use an updater like WAU, it will overwrite your changes every time you update unless you create a directory inside the ErrorMonster folder called ".svn". Another way of keeping it up to date without getting your changes overwritten is using a SVN client insteaed, like TortoiseSVN.
First of all, thank you for an invaluable mod. I simply can't fathom how I could play for over 2 years with all those error messages and crap.
I realize this is a bit of a long shot, but while searching for a way to get rid of /raidwarning spam from teenage idiots in PUGs, I found someone saying that a simple rewrite of ErrorMonster would do the trick.
Any chance of getting an option in ErrorMonster to turn on/off /rw messages from other players?
Yeah yeah - I know, friends don't let friends run in PUGs.
@Parl: so I said to myself, what the heck is an ND1? I never heard of it! So I looked it up, and it's a new rating, says wikipedia: Navy Diver. Cool. No wonder I never heard of it - I retired in 1993. :-)
After installing the 2.4 patch and upgrading all my Ace addons, I noticed that errors (such as "Not enough mana", "Target invalid", etc) were no longer reporting to SCT as they used to.
If I add filters, then they don't print anywhere. If I remove them, they print in the default location (at the upper center of the screen). I've tried setting them to print to SCT "Incoming", "Outgoing" and "Message" frames to no avail. I think the new version of SCT may have changed something.
You need to register a new output sink in Sink-1.0, like
local s = AceLibrary("Sink-1.0")
s:RegisterSink("CombatLog", "Combat Log", nil, function(addon, text, r, g, b) ChatFrameX:AddMessage(text, r, g, b) end)
Where "ChatFrameX" is obviously the chat frame where you want it, usually ChatFrame2, I guess.
And then do /errormonster output CombatLog to route output to your new sink.
This worked great until 2.4.2. Now with the latest versions the error text isn't showing in my Combat Log any more. Backing up to the last version that worked for me (r67589) still works no problem though, but I have to be careful with the Ace Updater now.
Is there a way to make the error text output to my Combat Log again?
In case anyone else is using this method of redirecting error text to their combat log... an FYI:
Rabbit's fix there did the trick. However, unlike previous updates where I'd edit the LUA and be all set, I had to type "/errormonster output CombatLog" again once back in game. Once that was done, all was well again.
Is there a working version of ErrorMonster for WoTLK? The existing one DOES eat errors, but it eats everything and spams you with a ton of LUA errors if you try to redirect. The biggest problem is that it eats all errors and messages though.
I can provide specific errors if you like, but I figure Id ask if there was a known working version.
I'd like to be redirect the eaten error messages to my combat log, but I can't seem to get them to go anywhere but to my main chat window. Is this possible?
Thanks!
You need to register a new output sink in Sink-1.0, like
Where "ChatFrameX" is obviously the chat frame where you want it, usually ChatFrame2, I guess.
And then do /errormonster output CombatLog to route output to your new sink.
That worked like a charm.
I put the code at the end of the Initialization block in ErrorMonster. Is there a better place? My only concern now is that every time ErrorMonster is updated I'll need to add it again.
Doesn't really matter where you put it, but that sounds like as good a place as any.
If you use an updater like WAU, it will overwrite your changes every time you update unless you create a directory inside the ErrorMonster folder called ".svn". Another way of keeping it up to date without getting your changes overwritten is using a SVN client insteaed, like TortoiseSVN.
I would LOVE the ability to do this. Two lists. Useful error messages redirected. Spam blocked!
Is there any chance of seeing this functionality built in? <3
I realize this is a bit of a long shot, but while searching for a way to get rid of /raidwarning spam from teenage idiots in PUGs, I found someone saying that a simple rewrite of ErrorMonster would do the trick.
Any chance of getting an option in ErrorMonster to turn on/off /rw messages from other players?
Yeah yeah - I know, friends don't let friends run in PUGs.
Cheers,
ND1 Larsson, USN
If the thought it still there I'd love to see an option to put some messages to another frame while suppressing others entirely. Thankyou!
SCT 6.0 revision: 65751
After installing the 2.4 patch and upgrading all my Ace addons, I noticed that errors (such as "Not enough mana", "Target invalid", etc) were no longer reporting to SCT as they used to.
If I add filters, then they don't print anywhere. If I remove them, they print in the default location (at the upper center of the screen). I've tried setting them to print to SCT "Incoming", "Outgoing" and "Message" frames to no avail. I think the new version of SCT may have changed something.
This worked great until 2.4.2. Now with the latest versions the error text isn't showing in my Combat Log any more. Backing up to the last version that worked for me (r67589) still works no problem though, but I have to be careful with the Ace Updater now.
Is there a way to make the error text output to my Combat Log again?
Thanks!
local s = LibStub("LibSink-2.0")
instead.
Rabbit's fix there did the trick. However, unlike previous updates where I'd edit the LUA and be all set, I had to type "/errormonster output CombatLog" again once back in game. Once that was done, all was well again.
Thank you Rabbit!
I can provide specific errors if you like, but I figure Id ask if there was a known working version.
thanks
Please give it a try!
Click "Projects" on the top of the page and then search, or wait for it to come up on curse site.