Download
(1 Kb)
Download
Updated: 06-16-11 08:34 AM
Pictures
File Info
Updated:06-16-11 08:34 AM
Created:unknown
Downloads:62,533
Favorites:364
MD5:
pError  Popular! (More than 5000 hits)
Version: 40100.5-Release
by: p3lim [More]
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.


Click here and follow steps how to submit a bug
Full changelog can be found on GitHub:
http://github.com/p3lim/pError/commits/master/
Archived Files (13)
File Name
Version
Size
Author
Date
40100.5-Release
1kB
p3lim
06-12-11 08:04 PM
30300.4-Release
1kB
p3lim
12-30-09 02:04 PM
30200.3-Beta
1kB
p3lim
08-29-09 12:34 PM
30200.1-Beta
1kB
p3lim
08-08-09 10:07 AM
30100.20
1kB
p3lim
07-28-09 07:09 PM
30100.19
1kB
p3lim
07-28-09 05:23 PM
30100.18
1kB
p3lim
05-08-09 04:03 PM
30100.17
2kB
p3lim
04-26-09 06:31 PM
30100.16
1kB
p3lim
04-17-09 09:35 AM
30000.15
1kB
p3lim
04-13-09 05:02 PM
30000.13
1kB
p3lim
02-08-09 11:15 AM
30000.12
1kB
p3lim
01-21-09 02:46 PM
30000.10
1kB
p3lim
01-03-09 01:40 AM


Post A Reply Comment Options
Unread 04-15-09, 03:52 PM  
sammael
A Defias Bandit

Forum posts: 2
File comments: 66
Uploads: 0
doesnt save settings in 3.1 :< after each relog db is empty
sammael is offline Report comment to moderator  
Reply With Quote
Unread 04-13-09, 07:40 PM  
Imithat
A Deviate Faerie Dragon
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 148
Uploads: 5
thanks to update p3lim
Imithat is offline 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: 1233
File comments: 1186
Uploads: 25
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!
p3lim is offline 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.
siema_co is offline Report comment to moderator  
Reply With Quote
Unread 02-10-09, 05:51 PM  
Faraque
A Theradrim Guardian
 
Faraque's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 68
File comments: 108
Uploads: 1
Thank you for another outstanding addon.
__________________
"imo Fara raged and gave Joker his scars" - Blueninja of Shadowmoon
Faraque is offline Report comment to moderator  
Reply With Quote
Unread 02-08-09, 02:56 PM  
ChaosInc
Curse staff
 
ChaosInc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 670
File comments: 368
Uploads: 21
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.
__________________
Originally posted by Mirrikat45
so says the 1/2 million downloads per week.......
Impossible statistics = FAIL!! But don't point this out, or your post will be deleted!
ChaosInc is offline Report comment to moderator  
Reply With Quote
Unread 02-08-09, 11:19 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1233
File comments: 1186
Uploads: 25
The database will be wiped in revision 13, so you would need to add events to it again.
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 02-03-09, 10:31 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1233
File comments: 1186
Uploads: 25
Originally posted by ChaosInc
This doesn't actually remove the filter, it just disables it. If this is intentional, then it should be changed.

A way to actually delete a filter would be a nice addition though. Even the smallest unnecessary bits pile up, adding to load times.
I do have a feature request page, use it!
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 02-02-09, 10:24 PM  
ChaosInc
Curse staff
 
ChaosInc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 670
File comments: 368
Uploads: 21
How do I remove error filters?
Just use the '/perror' slash command like you added it.
This doesn't actually remove the filter, it just disables it. If this is intentional, then it should be changed.

A way to actually delete a filter would be a nice addition though. Even the smallest unnecessary bits pile up, adding to load times.
__________________
Originally posted by Mirrikat45
so says the 1/2 million downloads per week.......
Impossible statistics = FAIL!! But don't point this out, or your post will be deleted!
ChaosInc is offline Report comment to moderator  
Reply With Quote
Unread 01-26-09, 11:25 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1233
File comments: 1186
Uploads: 25
Originally posted by Kuzah
is it possible to do or add a

/perror all

to filter everything?
Sure thing
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 01-25-09, 10:02 PM  
Kuzah
A Murloc Raider

Forum posts: 9
File comments: 38
Uploads: 0
is it possible to do or add a

/perror all

to filter everything?
Kuzah is offline Report comment to moderator  
Reply With Quote
Unread 01-20-09, 05:51 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1233
File comments: 1186
Uploads: 25
Originally posted by Squiddy0
I'm curious, since it filters out the errors from even displaying, where do they go instead? They still happen but are just "hidden"? Just curious was all. I added some errors to filter out and worked fine last night, thanks.
Error is sent to my handler, my handler matches it against the database, if the match is correct, stop everything, if not, execute the function from blizzard, it does the rest.
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 01-20-09, 02:51 PM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 113
Uploads: 3
I'm curious, since it filters out the errors from even displaying, where do they go instead? They still happen but are just "hidden"? Just curious was all. I added some errors to filter out and worked fine last night, thanks.
Squiddy0 is offline Report comment to moderator  
Reply With Quote
Unread 01-20-09, 10:57 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1233
File comments: 1186
Uploads: 25
Originally posted by isler
30000.10

Error: bad argument #1 to 'pairs' (table expected, got nil)
File: Interface\AddOns\pError\pError.lua
Line: 28
Count: 1
Id prefer if you would use the bug submitting page.

Though Ive fixed it, update coming soon.
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 01-19-09, 11:39 PM  
isler
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
30000.10

Error: bad argument #1 to 'pairs' (table expected, got nil)
File: Interface\AddOns\pError\pError.lua
Line: 28
Count: 1
isler is offline 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.