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:103
Total downloads:42,500
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/18/14, 02:47 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
TLDR? - try updating to the latest version and re-testing, reset your patterns by selecting them all, deleting them and then clicking the 'Defaults' button to re-initialize them. If you have any custom patterns you wish to keep, copy and paste them somewhere else first. Doing this rules out any broken patterns after the update.

Originally Posted by TehBlizzy
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 rules are the same for 'LUA Patterns', these are similar to 'regexp' with some minor differences. The only thing to keep in mind is that the patterns are not run over the initial text but instead the normalized results you see output in the chat frame after you enable the [DEV] option. So, you're on the right track.

If you want to learn more about pattern construction, check Official LUA documentation on the subject: http://www.lua.org/pil/20.2.html

Originally Posted by TehBlizzy
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.
This spammer should already be detected. I'm usually pretty good about catching new tactics and modifying the add-on to deal with it, except of course when I'm offline. Best bet is to update to latest and re-test. I only say this because the normalization and charmaps were modified to deal with this particular spammer, and the normalized result you show here is different from what it should be in the latest version of the add-on.

Originally Posted by TehBlizzy
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.
This, however, should have worked. Though for the sake of testing if you copy a string verbatim from the normalized out put and use it as a filter it should work (no need to append a trailing +, as that is used for a different purpose. If necessary the add-on will automatically add one for you.)

This leads me to believe that you're adding a pattern but perhaps it's accidentally being added to the head or tail of an existing pattern.

All patterns need to be on their own line.

One way to ensure it is on its own line is to go to the very end of the list and press enter twice (add a blank line) and then put your pattern on the very last line. The add on will 'scrub out' the blank line when saving the results. A /reloadui *should* remove any doubt as to whether or not the add-on has parsed the patterns correctly.

Originally Posted by TehBlizzy
A sort of explanation in the readme on how to create the filters or something would be awesome.
I do plan on this, once I've been able to boil the normalization down to something that doesn't need to be modified. My concern at present was that I would do this, then normalization would change, and then people would have an incorrect understanding of how to form patterns.

Originally Posted by TehBlizzy
Thank you for the rest of the spam filters though as they work amazingly.
I try thanks! If that normalized string is actually correct for the current version of the add-on, try the pattern:

l.?f.?d.?p.?s.?c?[cd]+.?[mn]+

But, verify the default set on the latest version are not working yet. I'm at work or I would check myself.

GL!
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 03:18 PM  
TehBlizzy

Forum posts: 0
File comments: 3
Uploads: 0
Ah! I wasn't aware of how often you updated the add-on as I've only had it for a day now. I've downloaded the update for it now and I'll see if I happen to catch that same spammer still getting through. The double-enter trick for adding a filter for a just-happened-as-I'm-typing-this-post appearance of a new spammer worked when I added the new pattern "vmvmvvvm.gameimvm" to the list.
Thank you for the link to the patterns documentation as I'll keep that bookmarked incase I run into a new dynamic spammer that I want to attempt to squish myself :P

Thanks for the help!
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 03:26 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by TehBlizzy
Ah! I wasn't aware of how often you updated the add-on as I've only had it for a day now. I've downloaded the update for it now and I'll see if I happen to catch that same spammer still getting through. The double-enter trick for adding a filter for a just-happened-as-I'm-typing-this-post appearance of a new spammer worked when I added the new pattern "vmvmvvvm.gameimvm" to the list.
Thank you for the link to the patterns documentation as I'll keep that bookmarked incase I run into a new dynamic spammer that I want to attempt to squish myself :P

Thanks for the help!
People send me screenshots of spammers (with the normalized text) and I create a new pattern and/or modify the code to deal with it, so I've been updating a few times a day, plus if I notice something getting through while playing I take a break and fix it right away. It's almost like a minigame, except I don't get any EXP/Loot for it

If you send me a screenshot/copy of the new spam I'll deal with it once I'm home from work, but they generally only change their tactics one a day (or in the case of gameim, once a week.)

Thanks.
Last edited by wilson0x4d : 04/18/14 at 03:27 PM.
Report comment to moderator  
Reply With Quote
Unread 04/19/14, 08:19 AM  
AlexandraD

Forum posts: 1
File comments: 7
Uploads: 0
Thumbs up Really great! Thank you so much

Hi,

tried some other spam blockers, this beats them hands down. Really like what you have done here and thank you so much!

Report comment to moderator  
Reply With Quote
Unread 04/19/14, 11:10 AM  
Leodras
 
Leodras's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
I was using spam filter for a bit . But I don't know coding and my ignore list filled fast . Because I play on all the different factions that was a problem. Someone mentioned your mod in zone and I'm hooked.

Thanks for the awesome mod !




I made an account just so I could post here
Report comment to moderator  
Reply With Quote
Unread 04/19/14, 02:16 PM  
Attorneyatlawl

Forum posts: 7
File comments: 37
Uploads: 0
Re: Really great! Thank you so much

Originally Posted by AlexandraD
Hi,

tried some other spam blockers, this beats them hands down. Really like what you have done here and thank you so much!

Gotta agree, 100%.
Report comment to moderator  
Reply With Quote
Unread 04/19/14, 02:34 PM  
CGT_400

Forum posts: 0
File comments: 25
Uploads: 0
Tried it out for a bit, seems quite nice so far... there are, however couple of issues I have with it:

1. Would you mind whitelisting player (the one who uses it)? It's just that first message I posted blocked me as a spamer =/
And having no way to 'unignore' myself is kinda annoying. That said, would be great (if at all possible) to have actual list of accounts/characters this thing blocks and for what messages (exact message text & filter applied) to 'unignore' them, if necessary.

2. It doesn't work with xtimestamp. Can at least make it clear in description (just as general 'compability issues' section).
Last edited by CGT_400 : 04/19/14 at 02:37 PM.
Report comment to moderator  
Reply With Quote
Unread 04/19/14, 02:59 PM  
KristianAG

Forum posts: 0
File comments: 1
Uploads: 0
A truly nice anti-spam addon, but it gets a bit carried away.

When I'm getting invited to a group/guild, the person that invites me is getting put on ignore.

It also removes timestamp and guild tag from the pChat addon.

Other than that, love it! Keep up the amazing work!
Report comment to moderator  
Reply With Quote
Unread 04/19/14, 04:04 PM  
Attorneyatlawl

Forum posts: 7
File comments: 37
Uploads: 0
Originally Posted by CGT_400
Tried it out for a bit, seems quite nice so far... there are, however couple of issues I have with it:

1. Would you mind whitelisting player (the one who uses it)? It's just that first message I posted blocked me as a spamer =/
And having no way to 'unignore' myself is kinda annoying. That said, would be great (if at all possible) to have actual list of accounts/characters this thing blocks and for what messages (exact message text & filter applied) to 'unignore' them, if necessary.

2. It doesn't work with xtimestamp. Can at least make it clear in description (just as general 'compability issues' section).
I've had neither of these issues, and I use xtimestamp.

EDIT: Second time I logged in it broke xtimestamp now.... haven't had any issue with #1 though. Weird.

EDIT 2: And after changing characters a couple of times it's auto-ignoring me, too.
Last edited by Attorneyatlawl : 04/19/14 at 05:24 PM.
Report comment to moderator  
Reply With Quote
Unread 04/19/14, 06:37 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by CGT_400
Tried it out for a bit, seems quite nice so far... there are, however couple of issues I have with it:

1. Would you mind whitelisting player (the one who uses it)? It's just that first message I posted blocked me as a spamer =/
It already does this in a more recent version, perhaps you just need to snag an update. It will also whitelist Friends, Group Members and Guild Members.

Originally Posted by CGT_400
And having no way to 'unignore' myself is kinda annoying. That said, would be great (if at all possible) to have actual list of accounts/characters this thing blocks and for what messages (exact message text & filter applied) to 'unignore' them, if necessary.
If you enable the [DEV] option it will list which filter has caught someone. As far as whitelisting players simply add them as a friend and they will not be blocked. In all my add-ons I have a preference for relying on in-built features of ESO to manage features rather than implementing something seperate. This may require a /reloadui, however.

Originally Posted by CGT_400
2. It doesn't work with xtimestamp. Can at least make it clear in description (just as general 'compability issues' section).
I would let the xtimestamp author know, as LibAntiSpam was designed to be used as a library by (specifically for) such Add-Ons (because in ESO those of us who develop chat add-ons are well aware that our add-ons do not work together.)

I use X4D Chat for timestamps, personally, it has support for LibAntiSpam, it also offers the option of displaying character names in guild chat, stripping colors, abbreviating guild names, and a few other options. All features of X4D Chat are optional so if all you want is timestamp support you can disable everything else.

Originally Posted by KristianAG
When I'm getting invited to a group/guild, the person that invites me is getting put on ignore.
I have not noticed this, I will do some testing tonight. It does perform auto-declines of 'spammer guilds' but it should not be blocking them as a result of an invite (unless, of course, they are spamming you with invites.) Even then, if they are in your friend list, or guild, this should not happen.

Originally Posted by KristianAG
It also removes timestamp and guild tag from the pChat addon.
This is a limitation of ESO, you may want to contact the author of pChat and have him integrate with LibAntiSpam. It's well known among Add-On authors of Chat Mods that only one chat mod can modify chat output.

As an aside, you may also find X4D Chat useful as it does most (but not all) of what pChat offers. (I don't really keep tabs on pChat feature list as I've never used it.) Still would be nice to see pChat integrate with LibAntiSpam, however (among others.)

Originally Posted by KristianAG
Other than that, love it! Keep up the amazing work!
Report comment to moderator  
Reply With Quote
Unread 04/20/14, 01:51 AM  
CGT_400

Forum posts: 0
File comments: 25
Uploads: 0
Originally Posted by wilson0x4d
Originally Posted by CGT_400
Tried it out for a bit, seems quite nice so far... there are, however couple of issues I have with it:

1. Would you mind whitelisting player (the one who uses it)? It's just that first message I posted blocked me as a spamer =/
It already does this in a more recent version, perhaps you just need to snag an update. It will also whitelist Friends, Group Members and Guild Members.
Yeah, grabbed 1.25, guess just before you updated it. Can't say I feel like testing 1.26, though.

Originally Posted by wilson0x4d
Originally Posted by CGT_400
And having no way to 'unignore' myself is kinda annoying. That said, would be great (if at all possible) to have actual list of accounts/characters this thing blocks and for what messages (exact message text & filter applied) to 'unignore' them, if necessary.
If you enable the [DEV] option it will list which filter has caught someone. As far as whitelisting players simply add them as a friend and they will not be blocked. In all my add-ons I have a preference for relying on in-built features of ESO to manage features rather than implementing something seperate. This may require a /reloadui, however.
The problem here is: they have to accept it, and, when someone blocked as result of 'false positive' (which I experienced first-hand), addon makes it rather hard to communicate, hindering your ability to explain what you want without re-logging (as I understood that should clear up all spamers). Besides, friend list is finite, and, in my understanding, better used for actual 'friends', rather than 'someone not to be blocked by addon'.

Not that it's much of an issue, but having a manageable list would be great.

Plus, while I honestly can't imagine someone doing that, there's still a small possibility of having urge to report all bots at the end of the play session. I myself was mostly discouraged by ESO support mail spam for every report I made. Not only I spent my time filling a report, but also had to clean my inbox.

Originally Posted by wilson0x4d
Originally Posted by CGT_400
2. It doesn't work with xtimestamp. Can at least make it clear in description (just as general 'compability issues' section).
I would let the xtimestamp author know, as LibAntiSpam was designed to be used as a library by (specifically for) such Add-Ons (because in ESO those of us who develop chat add-ons are well aware that our add-ons do not work together.)

I use X4D Chat for timestamps, personally, it has support for LibAntiSpam, it also offers the option of displaying character names in guild chat, stripping colors, abbreviating guild names, and a few other options. All features of X4D Chat are optional so if all you want is timestamp support you can disable everything else.
Decided to use it too, only thing I need is timestamps, really, and that old addon did the job just fine. I am, actually, amazed that Zenimax never even thought of that.

I just meant that it would be better if your description had stuff like 'since it messes with chat window, other chat mods might not work properly'

---

Also, I'm curious: how it manages chat flood, exactly? Just by that time limit in settings?

Because, ideally, there should be several filters to handle both long repeated ADs and short random 'xkjk' faceroll messages (or messages as presented in post below). With structure like this: posting X (identical) messages (, that include 'WTS/LFG/otherstuff') (, that are longer than Y,) within Z seconds/minutes; () - for optional stuff.

Just that I've seen it regard two identical WTS messages posted within a minute as something normal. I know I can up the limit in settings, but, again, posting short stuff like 'go' or 'you're back yet?' once a minute is perfectly fine with me. While indeed rare when no guild/group/friends involved, Cyrodiil zone chat should be good enough example. I understand that 'the line' is kinda individual, so, having more control over this stuff would be nice.


Anyway, keep up the good work, this addon is only one so far that makes zone chat somewhat usable, gold spamers or no.
Report comment to moderator  
Reply With Quote
Unread 04/20/14, 02:57 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by Leodras
I will say they are getting crafty to try and spam gold . Here is what they are doing tonight

-=REMOVED=-
Latest version, which is pending mod approval, catches this (and a few others privately reported.)

Deleting OP to minimize advertising these guys. Thanks for the report!
Report comment to moderator  
Reply With Quote
Unread 04/20/14, 08:40 AM  
Leodras
 
Leodras's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by wilson0x4d
Originally Posted by Leodras
I will say they are getting crafty to try and spam gold . Here is what they are doing tonight

-=REMOVED=-
Latest version, which is pending mod approval, catches this (and a few others privately reported.)

Deleting OP to minimize advertising these guys. Thanks for the report!
Would you like me to PM you if I catch something like that again ? I play all 3 alliances so this mod has been a blessing . So I don't mind trying to help out with catching the crafty gold spammers.
Report comment to moderator  
Reply With Quote
Unread 04/20/14, 11:49 AM  
Azbandar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 27
Uploads: 1
For today's spammers (4-20-14)

These aren't tested, use at your own risk!

I added:
vmvmvvm+
g.a.m.e.+

So far it's stopped the spammers and not anyone it wasn't supposed to.

One of these 2 keeps marking people as spammers when I send them a private message. Simple /reloadui and resend the same exact message works. I'm no programmer, I just know I tried and it worked for like 2 hours.
Last edited by Azbandar : 04/20/14 at 04:25 PM.
Report comment to moderator  
Reply With Quote
Unread 04/20/14, 01:12 PM  
djhoerauf

Forum posts: 0
File comments: 1
Uploads: 0
works amazing!

download this.. use it.. love it.. that is an order :-)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: