Download
(35 Kb)
Download
Updated: 10/05/15 12:22 AM
Pictures
File Info
Compatibility:
Update 7 (1.7.0)
Updated:10/05/15 12:22 AM
Created:04/11/14 11:44 PM
Monthly downloads:54
Total downloads:42,322
Favorites:112
MD5:
Categories:Discontinued & Outdated, Libraries
X4D LibAntiSpam  Popular! (More than 5000 hits)
Version: 1.65
by: wilson0x4d [More]
X4D LibAntiSpam

A LibStub-compatible Anti-Spam Library that can be used from Chat Mods, Mail Mods, etc.

Can also be used as a Stand-Alone Chat Mod to filter 'spammers' and 'flooders'.

Features
  • Does not fill up your in-game ignore list, blocking is performed internally.
  • Whitelists your Friends, Group Members and Guild Members.
  • User Patterns are Editable via Options UI.
  • Detects Spammers, and blocks them for the duration of your session.
  • Detects Flooders, and temporarily blocks them for a user-configurable duration.
  • Detects "Gold Spammer Guild Invites" and auto-declines them.
  • Can be used as a Library by other Add-Ons, such as X4D Chat (integration requires Add-On author support.)
  • Can be used as a stand-alone Add-On to auto-filter Spammers and Flooders from Chat.

Planned Features
  • Pattern Sync (share your patterns with your Guild, your Friends, etc)


Installation

First, make sure you have the latest X4D Core installed.

As with most Addons, simply open the Archive and copy the contents into "%USERPROFILE%\Documents\Elder Scrolls Online\live\Addons\" folder.

If ESO is already running, execute /reloadui command.


Change Log

To see version history, including 'vNext' (soon to be published) changes, view the README on Github.
Optional Files (0)


Post A Reply Comment Options
Unread 04/15/14, 02:49 PM  
Aryea

Forum posts: 3
File comments: 15
Uploads: 0
Is there a way to manually remove users automatically dubbed as spammers? One of my friends was just blocked for sending me whispers, and this add-on does not add blocked users to the Blocked list ingame
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 02:49 PM  
Faentomet

Forum posts: 0
File comments: 7
Uploads: 0
Ignored myself

So.. I managed to "ignore" myself when I wrote a few posts in the guildchat.
How do I fix this without reinstalling the addon?
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 02:53 PM  
drstrangelov3666

Forum posts: 0
File comments: 12
Uploads: 0
Re: Ignored myself

Originally Posted by Faentomet
So.. I managed to "ignore" myself when I wrote a few posts in the guildchat.
How do I fix this without reinstalling the addon?
Yeh i managed to do it when i was in a group as well
Think it needs "self" as automatically whitelisted :P
Last edited by drstrangelov3666 : 04/15/14 at 02:55 PM.
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 03:43 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Thumbs up NEED MORE INFO: Re: Ignored myself

Originally Posted by drstrangelov3666
Originally Posted by Faentomet
So.. I managed to "ignore" myself when I wrote a few posts in the guildchat.
How do I fix this without reinstalling the addon?
Yeh i managed to do it when i was in a group as well
Think it needs "self" as automatically whitelisted :P
NOTE: v1.17 adds more restrictive pattern definitions that should prevent this from happening for most users. Additionally, some users may confuse a "spam block" (which is permanent) with a "flooder block" which is temporary. If you're flooding chat, the Add-On blocks you temporarily.

If you're "Spam Blocked" the add on will print a notification to chat letting you know (but only for the first time it detects you as a spammer.)

If this happens to you:

1. type /reloadui to fix your state
-optionally, to help fix the root cause-
2. Go to Settings=>X4D AntiSpam and enable the [DEV] options.
3. Close the settings UI, and then repeat in chat whatever it was that you said.

The pattern that blacklisted you should be printed in the chat window, along with a normalized string of what you said. If you can provide both of these to me I will fix the issue (screenshot is fine, if this is a problem then simply provide me with the pattern and the original text you sent and I can do the testing myself.)

This can happen if you're repeating spammer websites or some portion of text (such as making fun of a mispelling of "handwork", which tends to catch non-spammers often.)

I'll make plans to automatically white-list the following players:

1. Self
2. Friends
3. Guild Members
4. Party Members

Obviously it's ideal to me that normal chat does NOT get detected, before implementing 'whitelists' based on the above.

I'll try and have these changes in sometime over the next few days, I work full time and have a wonderful girlfriend both of which take up a lot of my free time my availability M-F winds up being limited. I would still appreciate info about which pattern it was that caught you (assuming you feel it shouldn't have.)

Thanks for the Report!
Last edited by wilson0x4d : 04/16/14 at 09:31 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 09:27 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.17 - New Scrubbers, New Patterns

v1.17
- Removed debug lines accidentally left in the code (oops!)
v1.16
- Modified Patterns to be more restrictive.
- Added new spam Patterns.
- Modified Scrubbers to deal with link-based spam.


Originally Posted by arutha
See, I really like your addon, but when advertising for our Guild I also got detected by LibAntiSpam.
LibAntiSpam also detects 'Flooding', and performs a temporary block with a sliding expiry. The default sliding expiry is 30 seconds, but can be configured for up to 5 minutes. What this means is that if you submit the same series of text within the expiry period the add-on will mark you as a flooder (not a spammer) and temporarily block your text. After 30 seconds (or up to 5 minutes) of not flooding the same text the Add-On will automatically mark you as NOT a flooder. If you resubmit the same text within the period the block period is extended. This has the effect of you appearing to be permanently blocked, when in fact it's because you're flooding chat with the same text.

My suggestion is to increase the interval for your advertisements to something like 5 minutes.

Alternatively, alternate between two advertisements. Examples:

"Join our guild! We rock!'

"Our guild rocks! You should join us!'

This will prevent you from being blocked as a flooder, but if you're spamming the same thing over and over every minute.. you're technically flooding chat. Again I would urge you to increase your interval to 5 minutes. This was more meant to silence people that spam chat every 30-60s with LFG's, WTS's, etc.

In a future release I'll add an option to disable flooder detection entirely.

Originally Posted by arutha
Also please note this new type of spam, which is not detected
The latest update (v1.17) adds support for this. It also adds new definitions to catch a new spammer. Thanks for the report! (NOTE: I've deleted your original post so that this spammer does not receive free advertising here as a result of the screenshot.)
Last edited by wilson0x4d : 04/16/14 at 09:41 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 09:29 AM  
arutha

Forum posts: 0
File comments: 10
Uploads: 0
Re: v1.17 - New Scrubbers, New Patterns and

Originally Posted by wilson0x4d
Originally Posted by arutha
See, I really like your addon, but when advertising for our Guild I also got detected by LibAntiSpam.
My suggestion is to increase the interval for your advertisements to something like 5 minutes.
It happens when I advertise once. On the first instance of advertising. I logged in, advertised and LibAntiSpam fired

It would be no good advertising for a guild to flood the Chat with ads...
Last edited by arutha : 04/16/14 at 09:30 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 10:17 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Lightbulb Text was not blocked, how to tell?

Originally Posted by arutha
Originally Posted by wilson0x4d
Originally Posted by arutha
See, I really like your addon, but when advertising for our Guild I also got detected by LibAntiSpam.
My suggestion is to increase the interval for your advertisements to something like 5 minutes.
It happens when I advertise once. On the first instance of advertising. I logged in, advertised and LibAntiSpam fired

It would be no good advertising for a guild to flood the Chat with ads...
UPDATE: Was able to dig up your screenshot from my browser cache:



I noticed that the add-on isn't actually blocking this message, I didn't notice this before. There are two outputs shown here. The first is 'LibAntiSpam normalization' output which is used for testing/reporting problems, and when the [DEV] feature is enabled this is is displayed for every message. The second line is the actual chat message (not blocked by the Add-On.)

Normally if the Add-On blocks a message as spam:

1. (Optionally, but enabled by default) LibAntiSpam will display a message stating that Spam was detected for a user (and also prints the username, to facilitate reporting spammers.)
2. Does not actually output the text (blocks it.)

So in the case of a block the 'Say' output would never have appeared (whether due to spam block or due to flood block, this is the case.)

If you find some text that shouldn't be caught, but is, send it to me and I'll get it fixed after work today.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 07:51 PM  
Nameious

Forum posts: 29
File comments: 48
Uploads: 0
Well it is in fact "our bug" I just so happen to do a fresh install of windows 7 and reinstalled ESO installed everything and only used X4D LibAntiSpam and get this. This turn out to be only if you use your X4D LibAntiSpam without a chat plugin if I use yours it works fine. Something to look into since you say it can be used standalone. I just tried with pChat does the same as with no chat addon installed.



Last edited by Nameious : 04/16/14 at 08:08 PM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 11:15 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
I humbly apologize, as you say it is in fact "our bug", with the additional info I was able to compare code between the two add-ons and quickly saw the mistake. It is now fixed (v1.18 - which is still pending mod review as I write this.)

Thank you for taking the time to verify that it wasn't being caused by other add-ons, my pre-emptive fear was that you had a number of Add-Ons loaded and had no idea which was causing it and were looking for someone to figure it out. I may have misread.

Originally Posted by Nameious
Well it is in fact "our bug" I just so happen to do a fresh install of windows 7 and reinstalled ESO installed everything and only used X4D LibAntiSpam and get this. This turn out to be only if you use your X4D LibAntiSpam without a chat plugin if I use yours it works fine. Something to look into since you say it can be used standalone. I just tried with pChat does the same as with no chat addon installed.
Again, thanks for the report.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 11:18 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.18 - Fixes and Features

v1.18
- New Spam Patterns.
- Sliding Expiry for 'Flooding' is only extended when user continues flooding same text, different text does not extend expiry.
- Simplified Scrubbers and Aggregation.
- Normalization output now shows Player/Character Name of sender.
- Fix a bug with monster names not writing out to chat.

I've spent a few hours testing and made several changes to scrubbers, patterns and related code to nearly eliminate the incidence rate for flagging normal users as spammers (i was able to verify this with a couple of my friends.. basically had them go nuts on the keyboard for an hour until they could break it.)

As it turns out, in an attempt to catch some of the multi-line spammers from a few days ago the text scrubbing and normalization got a bit over-zaelous and turned what would normally have been "alphabet soup" into something that resembled a spammer. Whoops.

If this new version appears stable I'll move on to implementing white-listing for friends/etc.

Enjoy!
Report comment to moderator  
Reply With Quote
Unread 04/17/14, 03:15 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.20 - Whitelisting, Patterns and Full UTF-8 Scrub

v1.20
- Auto-Whitelist for Self, Friends, Group Members and Guild Members.
- Modified Patterns, removed a pattern that would catch too many non-spammers.
- Modified Scrubbers, added a large utf8 scrub list based on a modification of Kyle Smith's "utf8.lua".

The major change on this release is the introduction of "automatic Whitelisting" which will ensure that you will never block: yourself, your friends, anyone you are 'currently' grouped with and anyone seen in any of your guilds.

Additionally I removed a bad pattern that was catching a lot of non-spammers, and re-introduced those which were removed until the Whitelist support had been added.

As usual, enjoy, and let me know if you have any problems.
Report comment to moderator  
Reply With Quote
Unread 04/17/14, 07:33 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.22 - Fix Spam Check

Originally Posted by arutha
Excellent work. Thank you!

And here is something new:

-= REMOVED =-
This was making it through due to a bug in the spam check code. I've updated it and verified these guys are being blocked once again.
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 06:11 AM  
HeroOfEvbof

Forum posts: 0
File comments: 64
Uploads: 0
I love this addon

I have some a peculiar visual processing brain. I am constantly watching chat out of the corner of my eye. Mostly I dont see anything. But I cue on color and motion very,very well. Thus guild chat automatically draws my eye.
But so does multi-line spam.
This filter is making my playing so much more comfortable.
Thank you
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 10:15 AM  
Verrinon

Forum posts: 0
File comments: 3
Uploads: 0
In LOVE

I Love this addon so much! Thanks!!
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 11:40 AM  
TehBlizzy

Forum posts: 0
File comments: 3
Uploads: 0
This add-on is amazing, but I have a question...
What are the rules for creating a spam filter? There's a ton of symbols such as . ? * and I'm assuming they're wildcards or replacements for special symbols such as # or á, but no matter what format I attempt to create a filter in, it doesn't work even after a /reloadui

The normalized output string for a current gold spammer is "ll.f.d.p.sccdml.f.d.p.sccdml.f.d.p.sccdmlookwithl6dollar" and then the number-to-text random value they have at the end. If I simply attempt to put "sccdml" into the setting's rule box(on a new line with a + at the end) it doesn't do anything. I even edited the LUA file and inserted a few attempts into the existing array of filters.

A sort of explanation in the readme on how to create the filters or something would be awesome.

Thank you for the rest of the spam filters though as they work amazingly.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: