Download
(106Kb)
Download
Updated: 01-24-14 02:46 PM
Addon for:
Error Handler.
Pictures
File Info
Updated:01-24-14 02:46 PM
Created:11-15-11 02:59 PM
Downloads:3,508
Favorites:18
MD5:
Categories:Plug-Ins & Patches, Graphic UI Mods

Error Handler Inverted

Version: 20140124
by: Graçi [More]

Get rid of those annoying repeated error messages !

Usage
In the Interface/Addons/Error Handler,
you have a list of common errors that usually spam in red in the top of the screen.

They're sorted by error category.

For each one of them, you can choose :
* - to hide it or show it
* - or display it in a different color
* - and/or display it in a different way (see redirections)
you can change the behaviour of an error, or an error category, or all errors at once.

Redirections
* Default is the defaut print in the top of the screen
* Chatframe : it will be printed in the chat frame(s) that have the "Errors" option checked, and if none, to the main chat frame
* Raidwarning, it will zoom in the top of the screen
* BlizzardCT, it will slide up in the middle of the screen
* Bossemote, it will zoom in the middle of the screen
* SCT, it will redirect to the addon ScrollingCombatText
* MSBT, it will redirect to the addon MikScrollingBattleText
* Parrot, it will redirect to the addon Parrot

Languages
It handles the error in your UI language, so all languages are supported.

Dependencies

It is now an Ace3-addon.

Credit
It is an addon inspired by the original Error Handler from morkesh.

v20140124 : added error "Your target has already had its pockets picked"

v20130913 : Wow 5.4 compat

v20130809 : added some errors including 'You have insufficient blood charges.'

v20130707 : added 'Show all' button for all the errors at once
added 'Reset', 'Show all', 'Hide all', 'Color all' and 'redirect all' for each tab
solved the errors with a pattern like 'Must be in %s' not taken into account
added the choice of the chatframe(s) to display the errors
the color picker now is default to white instead of black

v20130525 : wow 5.3 compat
added 'Hide all', 'Color all' and 'Redirect all' options

v20130306 : solved bug with version 5.2

v20121213 : added several new errors for MOP, and a new interface to manage them. The addon is now an Ace3 addon.

v20121129 :
Wow 5.1.0 compatibility (toc version)

v20121025 :
update toc version for MOP, no change

v20111120 :
the reset to defaut option button now works
Post A Reply Comment Options
Unread 04-15-14, 01:26 AM  
Graçi
A Defias Bandit
 
Graçi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 21
Uploads: 5
thank you !
__________________
Click here to lend your support!
Report comment to moderator  
Reply With Quote
Unread 04-14-14, 10:02 AM  
sui_70
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
The actual fix is in the IsAddonLoaded() line. Disregarding my previous change and modifying:

Code:
		if (IsAddOnLoaded("sct") == 1) then
To:
Code:
		if IsAddOnLoaded("sct") then
resolves the issue for me. I tested both with and without the addon loaded. The "not enabled" message will display in the appropriate case.


Originally Posted by sui_70
I'm not sure whether it's the addon name or return code (I didn't do any debugging), but I commented out the addon checking code for SCT in ErrorHandlerRedirect.lua and it now works:

Change:
Code:
elseif (channel == "SCT") then
		if (IsAddOnLoaded("sct") == 1) then
			SCT:DisplayText(text, {r=rR, g=gG, b=bB}, nil, "damage", SCT.FRAME3)
		else
			print("<Error Handler>|cffFF0000ScrollingCombatText not enabled!|r")
		end
To:
Code:
elseif (channel == "SCT") then
		--if (IsAddOnLoaded("sct") == 1) then
			SCT:DisplayText(text, {r=rR, g=gG, b=bB}, nil, "damage", SCT.FRAME3)
		--else
		--	print("<Error Handler>|cffFF0000ScrollingCombatText not enabled!|r")
		--end
Report comment to moderator  
Reply With Quote
Unread 04-14-14, 09:41 AM  
sui_70
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
I'm not sure whether it's the addon name or return code (I didn't do any debugging), but I commented out the addon checking code for SCT in ErrorHandlerRedirect.lua and it now works:

Change:
Code:
elseif (channel == "SCT") then
		if (IsAddOnLoaded("sct") == 1) then
			SCT:DisplayText(text, {r=rR, g=gG, b=bB}, nil, "damage", SCT.FRAME3)
		else
			print("<Error Handler>|cffFF0000ScrollingCombatText not enabled!|r")
		end
To:
Code:
elseif (channel == "SCT") then
		--if (IsAddOnLoaded("sct") == 1) then
			SCT:DisplayText(text, {r=rR, g=gG, b=bB}, nil, "damage", SCT.FRAME3)
		--else
		--	print("<Error Handler>|cffFF0000ScrollingCombatText not enabled!|r")
		--end
Last edited by sui_70 : 04-14-14 at 09:42 AM.
Report comment to moderator  
Reply With Quote
Unread 04-13-14, 12:59 PM  
Graçi
A Defias Bandit
 
Graçi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 21
Uploads: 5
Originally Posted by sui_70
Originally Posted by Joiku
Hi, Graçi. Was trying to redirect errors to MSBT and Error Handler tells me that MSBT not enabled whilst addon is loaded and works
I'm getting this error when redirecting to SCT as well. Addon is loaded and enabled.
Thank you both for reporting those errors
I'll work on it as soon as I find the time
Graçi
__________________
Click here to lend your support!
Report comment to moderator  
Reply With Quote
Unread 04-13-14, 10:57 AM  
sui_70
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
Originally Posted by Joiku
Hi, Graçi. Was trying to redirect errors to MSBT and Error Handler tells me that MSBT not enabled whilst addon is loaded and works
I'm getting this error when redirecting to SCT as well. Addon is loaded and enabled.
Report comment to moderator  
Reply With Quote
Unread 02-05-14, 09:31 AM  
Joiku
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Hi, Graçi. Was trying to redirect errors to MSBT and Error Handler tells me that MSBT not enabled whilst addon is loaded and works
Last edited by Joiku : 02-05-14 at 09:35 AM.
Report comment to moderator  
Reply With Quote
Unread 08-09-13, 02:13 PM  
Graçi
A Defias Bandit
 
Graçi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 21
Uploads: 5
Re: Looking good...

Originally Posted by Worcester
The changes look nice. Very cool to have the ability to redirect/hide/change color for each individual tab!

Leave it to me to find yet another message that got through the cracks :P

"You have insufficient Blood Charges"

It's a DK talent, so easy to miss. I might be wrong on the exact wording of the message. It's hella late here!

Thanks again, man!
Thanks for pointing that out,
I added it in version 20130809, with some others that could be useful
please report if I missed some more.

(and by the way, I'm a woman ;-) )
Graçi
__________________
Click here to lend your support!
Report comment to moderator  
Reply With Quote
Unread 07-31-13, 01:52 AM  
Worcester
A Deviate Faerie Dragon
 
Worcester's Avatar

Forum posts: 13
File comments: 91
Uploads: 0
Looking good...

The changes look nice. Very cool to have the ability to redirect/hide/change color for each individual tab!

Leave it to me to find yet another message that got through the cracks :P

"You have insufficient Blood Charges"

It's a DK talent, so easy to miss. I might be wrong on the exact wording of the message. It's hella late here!

Thanks again, man!
__________________
I prefer rogues to imbeciles, because they sometimes take a rest.
--Alexandre Dumas
Report comment to moderator  
Reply With Quote
Unread 07-07-13, 03:20 PM  
Graçi
A Defias Bandit
 
Graçi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 21
Uploads: 5
Originally Posted by outlawzgosu
How do you change the chatframe in which the errors go to? The default is set to the main chat box, but I want all of the errors to go into a custom chatbox I made named "Errors"
You've got a good point, thank you for submitting it.
in version v20130707, the errors redirected to 'Chatframe' will be seen in the chatframe(s) that have checked the "Errors" option. And if no chatframe has the "Errors" option checked, then to the main chat box.

Graçi
__________________
Click here to lend your support!
Report comment to moderator  
Reply With Quote
Unread 07-07-13, 03:14 PM  
Graçi
A Defias Bandit
 
Graçi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 21
Uploads: 5
Re: Re: Re: Suggestions

Originally Posted by Worcester

Damn! You're fast! Thanks so much!

Actually, I did find one that has apparently fallen through the cracks. "Must Be in Stealth" seems to get through. It's always in the default text, no matter what. I'm pretty sure I didn't miss it, but it's possible.

Ooh... I didn't realize that the "All" buttons affected all the tabs. Guess that's why there's a confirm to go with it. I was meaning it would be nice to change everything in one tab at a time. Like all the Zone stuff could be set to raid warning, all the Target items could go to MSBT, hide all the player stuff, etc. Probably should be an "unhide" all as well. Sorry for the confusion. Still the best error handling addon there is!!!

Thanks again!
Sorry I haven't seen your edit since now,
I solved the "Must be in %s" problem, it should now work in v20130707
I added a 'Show all' button, and a series of buttons per tab
not worked on the profiles yet
thanks again for the feedback !
Graçi
__________________
Click here to lend your support!
Report comment to moderator  
Reply With Quote
Unread 07-06-13, 05:16 PM  
outlawzgosu
A Deviate Faerie Dragon

Forum posts: 12
File comments: 4
Uploads: 0
How do you change the chatframe in which the errors go to? The default is set to the main chat box, but I want all of the errors to go into a custom chatbox I made named "Errors"
Report comment to moderator  
Reply With Quote
Unread 05-25-13, 09:29 PM  
Worcester
A Deviate Faerie Dragon
 
Worcester's Avatar

Forum posts: 13
File comments: 91
Uploads: 0
Re: Re: Suggestions

Originally Posted by Graçi
Once again your feedback is well appreciated, thanks

I added the 'Hide all', 'Color all' and 'Redirect all' options in v20130525.

and I'll work on the profiles
please post your n°3 when it comes back to your memory ;-)

Graçi
Damn! You're fast! Thanks so much!

Actually, I did find one that has apparently fallen through the cracks. "Must Be in Stealth" seems to get through. It's always in the default text, no matter what. I'm pretty sure I didn't miss it, but it's possible.

Ooh... I didn't realize that the "All" buttons affected all the tabs. Guess that's why there's a confirm to go with it. I was meaning it would be nice to change everything in one tab at a time. Like all the Zone stuff could be set to raid warning, all the Target items could go to MSBT, hide all the player stuff, etc. Probably should be an "unhide" all as well. Sorry for the confusion. Still the best error handling addon there is!!!

Thanks again!
__________________
I prefer rogues to imbeciles, because they sometimes take a rest.
--Alexandre Dumas
Last edited by Worcester : 05-25-13 at 10:23 PM.
Report comment to moderator  
Reply With Quote
Unread 05-25-13, 10:42 AM  
Graçi
A Defias Bandit
 
Graçi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 21
Uploads: 5
Re: Suggestions

Once again your feedback is well appreciated, thanks

I added the 'Hide all', 'Color all' and 'Redirect all' options in v20130525.

and I'll work on the profiles
please post your n°3 when it comes back to your memory ;-)

Graçi
__________________
Click here to lend your support!
Report comment to moderator  
Reply With Quote
Unread 05-25-13, 02:57 AM  
Worcester
A Deviate Faerie Dragon
 
Worcester's Avatar

Forum posts: 13
File comments: 91
Uploads: 0
Suggestions

Back again! I had a couple suggestions if you happen to be working on the add-on anytime soon.

1-Hide/Redirect All
It would be super helpful if I could hide or redirect everything in a particular tab all at once. Then maybe go back and change only the items that I want to be different. Personally, I hate the Default setting, so I find myself going through and changing nearly everything to something else.

2-Profiles
This support would be awesome too. I find myself making alts nowadays and I have to go back into EH each time to reset everything. Profiles might not be too necessary if #1 were present, of course.

3-... something.
I forget. It's late. I thought there was a #3 but I guess not :P

My apologies if either of these two ideas is already in the addon and I just missed them. Anyway, thank you for continuing to allow me to modify my UI! Much appreciated.
__________________
I prefer rogues to imbeciles, because they sometimes take a rest.
--Alexandre Dumas
Report comment to moderator  
Reply With Quote
Unread 03-07-13, 05:36 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Originally Posted by Graçi

Thanks to have reported the error,
I posted version v20130306 that should solve it

Graçi
No, I thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.