Download
(1Kb)
Download
Updated: 06-16-11 08:34 AM
Pictures
File Info
Updated:06-16-11 08:34 AM
Created:unknown
Downloads:66,969
Favorites:343
MD5:

pError  Popular! (More than 5000 hits)

Version: 40100.5-Release
by: p3lim [More]

This addon is discontinued.


Description:
pError is a simple addon to filter out spam in the UIErrorsFrame.
Its designed to be robust and easy to use.
If you're not exactly sure about what it does, take a look at the screenshot to the right.


FAQ:
How do I filter more errors?
Simple, just use the '/perror' slash command to add error strings.
Example: '/perror spell is not ready yet'

This takes a long time! Can't I do this faster?
You can make pError listen to the UIErrorsFrame and put anything that shows into the database.
Usage: '/perror listen'

How do I remove error filters?
Just use the '/perror' slash command like you added it.

How can I see what errors I filter out?
Use '/perror list' and the saved list will be printed out.

How can I reset the whole list?
Use '/perror reset' to reset the database.

How can I remove all errors at once?
This addon does not do this, look for a different one.

Full changelog can be found on GitHub:
http://github.com/p3lim/pError/commits/master/
Post A Reply Comment Options
Unread 02-08-09, 02:56 PM  
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 680
File comments: 373
Uploads: 15
Originally posted by p3lim
I do have a feature request page, use it!
Not sure if it was a bug or not a feature. So I posted it generally.
Report comment to moderator  
Reply With Quote
Unread 02-10-09, 05:51 PM  
Faraque
A Theradrim Guardian
 
Faraque's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 105
Uploads: 1
Thank you for another outstanding addon.
__________________
"imo Fara raged and gave Joker his scars" - Blueninja of Shadowmoon
Report comment to moderator  
Reply With Quote
Unread 04-13-09, 12:36 PM  
siema_co
A Deviate Faerie Dragon
 
siema_co's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 64
Uploads: 7
This addon is wonderful. It does everything that old good ErrorMonster could (now it only redirects errorframe ><)
However when i tried to use both - pError for filtering and ErrorMonster for redirecting unfiltered messages, it doesn't work because pError puts unfiltered strings directly into errorframe and ErrorMonster can't catch it for redirecting.
However i came with a solution:
change in file pError.lua:
Code:
local function OnEvent(self, event, ...)
	if(event == 'UI_ERROR_MESSAGE') then
		local str = ...
		if(pErrorDB2.all) then
			return
		else
			for k,v in ipairs(pErrorDB2.blacklist) do
				if(string.find(string.lower(str), string.lower(v))) then return end
			end
		end
	end
	return UIErrorsFrame_OnEvent(self, event, ...)
end
to:

Code:
local originalOnEvent = UIErrorsFrame:GetScript("OnEvent")
local function OnEvent(self, event, ...)
	if(event == 'UI_ERROR_MESSAGE') then
		local str = ...
		if(pErrorDB2.all) then
			return
		else
			for k,v in ipairs(pErrorDB2.blacklist) do
				if(string.find(string.lower(str), string.lower(v))) then return end
			end
		end
	end
	return originalOnEvent(self, event, ...)
end
This way unfiltered messages are put back into main message stream and are ready to be captured by other addons.
Hope it's any use for anyone exept me XD
Last edited by siema_co : 04-13-09 at 12:38 PM.
Report comment to moderator  
Reply With Quote
Unread 04-13-09, 03:28 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by siema_co
This addon is wonderful. It does everything that old good ErrorMonster could (now it only redirects errorframe ><)
However when i tried to use both - pError for filtering and ErrorMonster for redirecting unfiltered messages, it doesn't work because pError puts unfiltered strings directly into errorframe and ErrorMonster can't catch it for redirecting.
However i came with a solution:
change in file pError.lua:
Code:
local function OnEvent(self, event, ...)
	if(event == 'UI_ERROR_MESSAGE') then
		local str = ...
		if(pErrorDB2.all) then
			return
		else
			for k,v in ipairs(pErrorDB2.blacklist) do
				if(string.find(string.lower(str), string.lower(v))) then return end
			end
		end
	end
	return UIErrorsFrame_OnEvent(self, event, ...)
end
to:

Code:
local originalOnEvent = UIErrorsFrame:GetScript("OnEvent")
local function OnEvent(self, event, ...)
	if(event == 'UI_ERROR_MESSAGE') then
		local str = ...
		if(pErrorDB2.all) then
			return
		else
			for k,v in ipairs(pErrorDB2.blacklist) do
				if(string.find(string.lower(str), string.lower(v))) then return end
			end
		end
	end
	return originalOnEvent(self, event, ...)
end
This way unfiltered messages are put back into main message stream and are ready to be captured by other addons.
Hope it's any use for anyone exept me XD
Good suggestion, but put it where it should be: feature request!
Report comment to moderator  
Reply With Quote
Unread 04-13-09, 07:40 PM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 201
Uploads: 7
thanks to update p3lim
Report comment to moderator  
Reply With Quote
Unread 04-15-09, 03:52 PM  
sammael
A Murloc Raider

Forum posts: 5
File comments: 65
Uploads: 0
doesnt save settings in 3.1 :< after each relog db is empty
Report comment to moderator  
Reply With Quote
Unread 04-16-09, 06:49 AM  
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 275
Uploads: 11
Originally posted by sammael
doesnt save settings in 3.1 :< after each relog db is empty
Same for me.
Report comment to moderator  
Reply With Quote
Unread 04-17-09, 12:53 PM  
Neverwhere
A Murloc Raider

Forum posts: 4
File comments: 35
Uploads: 0
This latest update as of today (04.17.09) will not allow me to swap specs with Talented. Been slowly updating a single addon at a time today to work out bugs. Spec swaps worked fine - install pError - No more spec swap. The error message is massive and I haven't been able to DL a bug catcher yet to give you the huge error pertaining to pError that pops up. Will SS it and see if I can type it out momentarily.
Report comment to moderator  
Reply With Quote
Unread 04-17-09, 10:20 PM  
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 680
File comments: 373
Uploads: 15
ver. 30100.16

Never had an issue with the DB, but still getting spammed events that are on the my filter list.
Report comment to moderator  
Reply With Quote
Unread 04-18-09, 05:37 AM  
Megerka
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0


=(
Report comment to moderator  
Reply With Quote
Unread 04-18-09, 12:18 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Ill take a good luck at it and get a possible fix for you, but PLEASE, use the bug feature on my portal!

Also, bring a proper debug stack, dont just say 'not working, want fix'
Last edited by p3lim : 04-18-09 at 12:30 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-09, 12:34 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Neverwhere
This latest update as of today (04.17.09) will not allow me to swap specs with Talented. Been slowly updating a single addon at a time today to work out bugs. Spec swaps worked fine - install pError - No more spec swap. The error message is massive and I haven't been able to DL a bug catcher yet to give you the huge error pertaining to pError that pops up. Will SS it and see if I can type it out momentarily.
Tried the latest version of Talented, had no errors swapping specs or anything.
Even though, the author of talented HAS said that it might be bugged, which is a blizzard bug (atleast he claims)

If you really want me to look into it, bring a debug stack, and post it in the bug submit feature I have on my portal.
Report comment to moderator  
Reply With Quote
Unread 04-21-09, 01:21 PM  
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 680
File comments: 373
Uploads: 15
Originally posted by p3lim
Ill take a good luck at it and get a possible fix for you, but PLEASE, use the bug feature on my portal!

Also, bring a proper debug stack, dont just say 'not working, want fix'
Love to for mine, but I don't get any error popups, nor anything reported in the taint log. Created an official bug ticket for ya.
Last edited by Sythalin : 04-21-09 at 01:25 PM.
Report comment to moderator  
Reply With Quote
Unread 04-27-09, 06:32 PM  
magus424
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 13
Uploads: 2
Found the issue with pError blocking everything.

On lines 37 and 57, there's a find() command with ", v" which should be ", k"

As the keys of the blacklist table are the error messages, while the values are a bool true/false on if it should be blocked, this results in it always trying to find() a bool instead of a string.

After fixing those two lines, pError has returned to normal functionality for me

e: added as an actual bug report for the author, but leaving this for users who want a quick fix like myself
Last edited by magus424 : 04-27-09 at 06:39 PM.
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 06:51 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Why don't you update?

Line 57 in the latest version is somewhere in the middle of the slashCommand function
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: