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

Forum posts: 6
File comments: 180
Uploads: 10
This Add-On was created to provide an Anti-Spam Library that can be integrated into any Chat or Mail Mod.

For people that do not want a Chat or Mail mod, it also functions as a Stand-Alone Add-On.

if you're a developer trying to integrate, you can look at 'X4D Chat' for some sample code, or just contact me and I can help you work support into your code.

Enjoy!
Last edited by wilson0x4d : 04/12/14 at 12:42 AM.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 02:50 AM  
Saint-Ange
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 26
Uploads: 4
Hello,

don't take it personally but I really hope no one will use that add-on because if they do, they will stop to report the gold spammers, and this is a situation no one would benefit of except them.

I'll quote myself from Reddit:
There was an excellent documentary on Arte TV. Reporters, European of Chinese origin, infiltrated a "farm" equipped with some hidden cameras. In this farm, controlled by a Triads sub-section, a hundred of young guys were put in slavery. Most of them were poor and freshly arrived from their country side to study in town, they were staying 24/7 and botting for 12h a day minimum with the "freedom" to do more, and their money was kept by the chief for safety reason till they left... Do I need to mention how was looking the open space or if they get their money in the end? The reporters went in a little village in the north to interview some guys who managed to get out and return. Those who asked for their money a bit too much have been seriously beaten and their family threatened. No one till today has investigated on the "link" between the game companies and the Triads but hopefully that will be done one day.

When some use the Gold Sellers services, they take part in slavery.

If you stop making your share of the fight, you know what you're doing now. It's not only a game that will be destroyed but some lives too.
It's not only a game.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 03:10 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
No worries, I don't take it personally. But Zenimax certainly should.

I used to work for a company with a large IM network (on the order of 400k concurrent users, 4million peak.) 99% of all spam can be stopped, whether it is gold selling or porn. IMO it is ultimately Zenimax's responsibility to deal with the problem. While I somewhat agree that people should report, I also believe Zenimax should be making a legitimate effort to stop spammers so that we don't have to:

1. Look for users with a high ignore count, flag for CS review + ban them and clean up the ignores.
2. Look for users with high rates for chat of excessive length, flag for CS review.
3. Look for users with high rates of duplicate chat, scrubbed for inconsequential text, flag for CS review.

If they don't wish to automate the solution, they should automate a list of accounts which should be reviewed by abuse/customer support throughout the day. Based on the Report options at launch vs. today this problem was not planned for by their producers (clearly), and I suspect is still not being taken as seriously as it should be.

I've also worked for a company that had over 10 million paying subscribers of their MMO, and know that customer support execs, management and producers tend to tunnel vision on costs (rather than benefits), where "queue counts" & "resolution rates" start to appear more important than, say, customer happiness (which can't be measured with a KPI, and generally doesn't get tracked by the business.)

Don't get me wrong, I've reported a VERY large number of spammers, but it's now at a point where I just want to enjoy the game. It's Zenimax's problem, they *can* and *should* address it, and who knows maybe they are and the problem could be far worse than any of us realize. In the meantime, I've not seen a single spam message since the last update. My sanity is returning.

That said, thanks for reporting spammers. You have more patience than I do.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 03:58 AM  
Saenic
 
Saenic's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 125
Uploads: 2
You shoud get rid of the X4D prefix... call it LibAntiSpam So its more in line with all other libraries.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 06:30 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.2 - Invite Spammers

Version 1.2 will auto-decline guild invites where the guild name, motd or description fails a spam check.

I've updated the default definitions, if you haven't customized them you may want to reset to defaults in the settings UI.

Additionally, other add-on developers integrating with this library should note I've deprecated ':IsSpam()' and instead you should use ':Check()', further, instead of a LibStub name of "X4D_LibAntiSpam" you should use a LibStub name of "LibAntiSpam", these two changes were made to facilitate polyfill creation (e.g. other library authors creating alternative implementations as drop-in replacements for X4D LibAntiSpam, or perhaps giving end-users the ability to pick and choose their preferred library.)

Enjoy.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 02:50 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by DaBear78
Hmmm, there is a spammer who isn't blocked by your addon, but I don't now which rule to insert for this spammer...

He posts something like: VV VV VV, M A etc...

Any idea? ^^
If you provide the exact text I can create a pattern for it (a screen shot in a private message, so as to not further their advertising, would be best.) The prefixing "\/\/" characters are unimportant, I would focus instead on the actual domain part.

Additionally, the matches are performed against normalized text. I haven't really laid out the normalization, but, this means you don't actually want to try to match against any non-numeric, non-letter characters. You will want to form patterns that are in lower-case. so for example \/\/ \/\/ \/\/, M A, C () /\/\ would actually require a pattern of "ma.com" and for the sake of catching future versions a pattern of "m.?a.?.co[mn]+" should be created.

The same goes for any other spam not being caught, if you guys can submit them to me (even if as a screenshot) I'll form a proper pattern for it and update the add-on. There are only so many ways these guys can bypass pattern checks before they run out of legitimate methods.

Today I will add an option to dump the normalized version of chat messages to make pattern construction easier for people, this should make it easier (and more obvious) how to write proper patterns.
Last edited by wilson0x4d : 04/12/14 at 02:52 PM.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 04:26 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.3 - Debug Output, Flood Time Increase, Bug Fixed

Originally Posted by wilson0x4d
Originally Posted by DaBear78
Hmmm, there is a spammer who isn't blocked by your addon, but I don't now which rule to insert for this spammer...
Today I will add an option to dump the normalized version of chat messages to make pattern construction easier for people, this should make it easier (and more obvious) how to write proper patterns.
v1.3 adds an option to display normalized text, disabled by default. It also increases max flood time to 5 minutes (up from 30 seconds) and fixed a bug where debug text was being displayed for guild invites (oops!)

Enjoy.
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 07:02 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
v1.4 - New Spammer Definition, Bug Fix, Spam/Flood Check Refactors

- additional definition for new spammer (you know, that guy that pretends to be a legit chatter first.)
- fix a bug where spam dictionaries were being truncated when loaded into the settings UI (oops!)
- modified how spam and flood checks are performed, to better deal with spammers that pose as 'normal' chatters, and to filter out their 'non-spam' text as well.

If you haven't customized your dictionaries you will probably want to reset settings to their default to pick up the new definitions.

Enjoy!
Last edited by wilson0x4d : 04/12/14 at 08:48 PM.
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 02:08 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
v1.5 - New Spammer, Fixes for 'Reset Defaults' affecting both UI and SavedVars

v1.5
- New Spam Definition
- Fixed bug with 'Reset to Defaults' which affected both UI and SavedVars.

As usual, if you have not customized your dictionary go to Add-On settings and click "Reset" to pick up the latest definitions included in v1.5. My apologies that this functionality was NOT working correctly in prior releases, and many of you may actually be missing some patterns.
Last edited by wilson0x4d : 04/13/14 at 02:08 AM.
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 02:30 AM  
Theojin

Forum posts: 0
File comments: 4
Uploads: 0
Blocks the spam, nice addon. Only the notifications are not turned off, when i use this option.
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 02:55 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.6 - Bug Fix for Spam Notifications

Originally Posted by Theojin
Blocks the spam, nice addon. Only the notifications are not turned off, when i use this option.
Looks like an 'end' was accidentally dragged into the wrong place. I've fixed it and updated to v1.6, it may take a moment for Mods to approve it.

Thanks for the heads-up, I normally don't test it in Stand-Alone mode myself and wouldn't have noticed for a few days. Suppose I should start doing that now.
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 10:20 AM  
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view AddOns

Forum posts: 161
File comments: 88
Uploads: 7
Well done +Fav.
Last edited by thelegendaryof : 04/13/14 at 10:21 AM.
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 07:54 PM  
Azbandar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 27
Uploads: 1
Stops 99% of all the spam, 1% to go!

So, here's the challenge. The only ones not being blocked now are those that spam using *'s like mad. As in:

****W***W***W********* (followed by a few lines of the same with their websites and amount in them)

Is there a way to block with 4 or more of the same symbol/letter?
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 07:56 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.8 - New Spam Definitions

Originally Posted by Azbandar
So, here's the challenge. The only ones not being blocked now are those that spam using *'s like mad. As in:

****W***W***W********* (followed by a few lines of the same with their websites and amount in them)

Is there a way to block with 4 or more of the same symbol/letter?
v1.8 uploaded:

I've modified spam definitions to catch these new spam messages, I was able to find examples in Daggerfall on NA servers. Changes appear to work correctly. Also added a new phrase.

As usual, after updating you will want to go to ESC=>Settings=>X4D LibAntiSpam and click "Reset" to load the new definitions (you will lose any customizations you've made, copy/paste them to keep them.)

Enjoy, and thank you for the report.
Last edited by wilson0x4d : 04/13/14 at 08:05 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 01:42 AM  
DaBear78
 
DaBear78's Avatar

Forum posts: 1
File comments: 120
Uploads: 0
I love your addon, makes the game better (I hate goldsellers / spammers ^^).

Is it possible to split your filters in 2 sections? "Default" and "User" for example so that the addon can reset the "Default" section with every update but the "User" section stays the same so we can add as many filters ourselves without loosing them on every update. (Yes, we can copy & paste them, but I always forget that before pressing "Reset" )

I created a filter for myself because some spammers splitted there "advertisment" now. First they say something like "Cheapest Gold bla bla bla" and 2 or 3 seconds later they say something like "10 k Gold only 999.99". So I added 'k.?gold.?only' for myself. Is this filter correct? It seems to work, but will it filter a lot more? I'm asking because I'm not 100% sure that I understand the format these filters use correctly.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: