Download
(1Kb)
Download
Updated: 06-16-11 08:34 AM
Pictures
File Info
Updated:06-16-11 08:34 AM
Created:unknown
Downloads:66,952
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 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-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-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, 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 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 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-08-09, 11:19 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
The database will be wiped in revision 13, so you would need to add events to it again.
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: 1710
File comments: 1222
Uploads: 43
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!
Report comment to moderator  
Reply With Quote
Unread 02-02-09, 10:24 PM  
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 680
File comments: 373
Uploads: 15
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.
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: 1710
File comments: 1222
Uploads: 43
Originally posted by Kuzah
is it possible to do or add a

/perror all

to filter everything?
Sure thing
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?
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: 1710
File comments: 1222
Uploads: 43
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.
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: 116
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.
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: 1710
File comments: 1222
Uploads: 43
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.
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: 10
Uploads: 2
30000.10

Error: bad argument #1 to 'pairs' (table expected, got nil)
File: Interface\AddOns\pError\pError.lua
Line: 28
Count: 1
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: