Download
(1 Kb)
Download
Updated: 04-28-09 05:17 PM
Pictures
File Info
Updated:04-28-09 05:17 PM
Created:04-26-09 04:13 PM
Downloads:2,316
Favorites:13
MD5:
Talent Spec Spam Filter
Version: 1.2
by: sweede [More]
don't you hate it when you change your active talent spec only to be spammed by unlearning and learning all of your skills over and over ?

Well, this gets rid of all that spam !

Based off of Fubar_DualSpec, but without Ace, FuBar or any of that other junk Uses a whopping 5kib of memory !
-- Fixed Error when logging in

-- Fixed the filter function to work with other addons that create filters
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
1.1
1kB
sweede
04-26-09 10:55 PM
1.0
1kB
sweede
04-26-09 04:13 PM


Post A Reply Comment Options
Unread 02-13-11, 12:03 PM  
Mortilus
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 206
Uploads: 9
hmm, crap. I didn't realize this addon existed so I wrote my own, with exactly the same name ...

oh well. This one hasn't been updated in a long while. Here's a link to mine (works with Cata) http://www.wowinterface.com/download...pamFilter.html
Mortilus is offline Report comment to moderator  
Reply With Quote
Unread 10-10-10, 03:53 AM  
Talyrius
A Frostmaul Preserver
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 294
File comments: 267
Uploads: 1
Code:
Switched to Enhancement (5/31/0) talent spec.
You have learned a new spell: [Stormstrike].
You have learned a new ability: [Unleashed Rage].
You have learned a new ability: [Shamanistic Rage].
You have learned a new spell: [Feral Spirit].
I'm not sure why, but it's not filtering properly on the beta client.

EDIT:
Never mind. I got it to work.
Last edited by Talyrius : 10-10-10 at 04:24 AM.
Talyrius is offline Report comment to moderator  
Reply With Quote
Unread 07-09-09, 10:16 AM  
Dainton
A Flamescale Wyrmkin
 
Dainton's Avatar
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 65
Uploads: 1
Your TOC interface version says "31000" when it should be "30100" (or "30200" for PTR). Just a heads up. :P
Dainton is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 10:54 PM  
sweede
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 16
Uploads: 3
Thanks ! i scrubbed the scripts from a fubar plugin that did a lot of junk i didnt want. I tossed it up quick for some guildmates and anyone else that wants to use it.

Originally posted by Phanx
Your filter function is incompatible with other addons that want to filter the same message group, because you're not returning the original values when you don't suppress the message. You're also creating an extra local variable and reading out of a deprecated global variable instead of simply using the value that's passed to your filter function.

Instead of:
Code:
HideSpam.filter = function(self, event, ...)
	local msg = arg1;
	if strfind(msg, spamFilterMatch1) then
		return true
	elseif strfind(msg, spamFilterMatch2) then
		return true
	elseif strfind(msg, spamFilterMatch3) then
		return true
	end
end
Do:
Code:
HideSpam.filter = function(self, event, msg, ...)
	if strfind(msg, spamFilterMatch1) then
		return true
	elseif strfind(msg, spamFilterMatch2) then
		return true
	elseif strfind(msg, spamFilterMatch3) then
		return true
	end
	return false, msg, ...
end
sweede is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 07:52 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4290
File comments: 1961
Uploads: 40
Your filter function is incompatible with other addons that want to filter the same message group, because you're not returning the original values when you don't suppress the message. You're also creating an extra local variable and reading out of a deprecated global variable instead of simply using the value that's passed to your filter function.

Instead of:
Code:
HideSpam.filter = function(self, event, ...)
	local msg = arg1;
	if strfind(msg, spamFilterMatch1) then
		return true
	elseif strfind(msg, spamFilterMatch2) then
		return true
	elseif strfind(msg, spamFilterMatch3) then
		return true
	end
end
Do:
Code:
HideSpam.filter = function(self, event, msg, ...)
	if strfind(msg, spamFilterMatch1) then
		return true
	elseif strfind(msg, spamFilterMatch2) then
		return true
	elseif strfind(msg, spamFilterMatch3) then
		return true
	end
	return false, msg, ...
end
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 07:18 PM  
thatguyzp
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 16
Uploads: 4
This is the best addon ever, very nice.

+600

thatguyzp is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 07:09 PM  
sweede
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 16
Uploads: 3
Ok, 3rd edit is the win !

This error happens when you log in as your secondary spec. If you reload UI the error doesn't appear.

The addon still works correctly, it just tosses this minor error out.


Originally posted by reale
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\azHideSpam\core.lua line 58:
attempt to concatenate local 'c' (a nil value)
Debug:
[C]: ?
azHideSpam\core.lua:58:
azHideSpam\core.lua:29
Last edited by sweede : 04-26-09 at 11:12 PM.
sweede is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 05:17 PM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 167
Uploads: 0
Error

ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\azHideSpam\core.lua line 58:
attempt to concatenate local 'c' (a nil value)
Debug:
[C]: ?
azHideSpam\core.lua:58:
azHideSpam\core.lua:29
reale is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: