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:92
Total downloads:42,401
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/25/14, 05:23 AM  
Azbandar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 27
Uploads: 1
Re: v1.39 - New Patterns, New Scrubs

Originally Posted by wilson0x4d
v1.39
- Modified Patterns and Scrubs.

Verified that it blocks all the spammers in Daggerfall right now.

Not sure about other zones, PM me screenshots with normalized text and I'll get it fixed.
I think you're actually starting to make it hard on them! Keep it up!
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 07:13 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

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

v1.39
- Modified Patterns and Scrubs.

Verified that it blocks all the spammers in Daggerfall right now.

Not sure about other zones, PM me screenshots with normalized text and I'll get it fixed.
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 04:23 PM  
Koviko

Forum posts: 2
File comments: 11
Uploads: 0
It feels like gold spammers are specifically targeting your addon for what they need to bypass.

You are doing God's work, son.
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 07:49 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
v1.38 - Pattern, Normalization and CharMap Changes

The latest release re-writes almost all of the patterns.

The list is getting a bit long so you will probably want to reset patterns to make sure you've eliminated anything old:

1. Navigate to Settings=>X4D AntiSpam
2. Click on "Spam Patterns" Edit Box.
3. Press Ctrl-A to select everything, then press Ctrl-X to Cut and Copy to the clipboard. This should consequently clear the list.
4. Paste your current patterns into notepad, unless you just don't care about them.
5. Click "[X] Defaults" Button to re-initialize patterns to latest.

If you had any custom patterns, you may want to test with just the defaults first.

Enjoy!
Last edited by wilson0x4d : 04/24/14 at 07:52 AM.
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 02:40 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Re: Making sense of patterns

TLDR? PM Me a screenshot containing the normalized output and I can fix it even if I don't have access to the game.

Originally Posted by Baeleth
Thank you for making this add-on!
Can there be a way to just right-click on a spam message and select "This is spam" (or something to that effect) and have it create the pattern for me? Maybe that's asking too much. I really have no idea how easy/hard this stuff is to program.
This is the ultimate goal, as of yet I'm still seeing what these spammers come up with before trying to 'solidify' the normalization (and consequently, pattern generation.) As it stands, currently, I construct all patterns similarly. The only reason I haven't written a "how to" for creating patterns is that I don't know that I won't have to radically rethink normalization (I've had to do so twice already, for the better.)

Originally Posted by Baeleth
Anyway, adding new patterns is obviously not something the typical player can do so what are our options here? Any constructive tips/advice/help would be greatly appreciated. Thank you!
99% of the time, PM me a screenshot that also shows the normalized output, I'll construct a pattern as soon as I see it. Today was an odd day, I had a double-shift at work and passed out after. Normally I would already have patterns in for these guys by now.

To "DIY":

Look at the normalized text and find the longest segment of "unique" text there, usually something real ugly like "wmvmwmvmlv.sdsv.ps.omvm" and just put that directly into the pattern list (at the very bottom, on a fresh line, I tell people to put two new lines at the bottom before inputting their patterns to reduce chance of errors.) This will, at least, serve as a temporary block until I can add a formal pattern. This "temporary pattern" will often come from the first half of the "normalized text", in more complex spam messages you will likely have to pull the "temp pattern" from the middle or end of the normalized text.

I do plan on implementing a heuristic analysis of chat looking for "would be" spam patterns, if you look at the list of existing patterns you an already see the same patterns across all spammers (harhar no pun intended.)

GL!
Last edited by wilson0x4d : 04/24/14 at 07:51 AM.
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 02:22 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by Arashi-78
Having an issue today, even when I loaded the 1.34 version I have been getting an error before every zone message.

Best way to fix a problem like this is:

1. Navigate to Settings=>X4D AntiSpam
2. Click in the "Spam Patterns" Edit Box
3. Press Ctrl+A, then Delete. This should Clear all of the patterns.
4. Click "[X] DEFAULTS" Button, this should re-initialize patterns.

There is a mal-formed pattern is the problem. Possible has a line-break that shouldn't be present. Easiest fix is to do the above.

Alternatively, copy them to the clipboard and open in Notepad (or your favorite text editor, but not Word) and edit them there.
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 01:18 AM  
Baeleth

Forum posts: 0
File comments: 3
Uploads: 0
Making sense of patterns

Thank you for making this add-on!

When I first installed it, it worked like a dream. Blocked all the spam and made my game experience infinitely better. Bravo!

However, today I log into the game and I'm getting slammed by new gold spammers. It's just a constant stream of never-ending gold spam. The antispam add-on is not recognizing any of it. I switched on the "show normalized text" option with the hopes of manually adding new patterns to the library but...

... woah... this normalized text is like 800 characters long and none of it looks like the patterns already in the library. How do I convert this massively long string of characters into a pattern? Can there be a way to just right-click on a spam message and select "This is spam" (or something to that effect) and have it create the pattern for me? Maybe that's asking too much. I really have no idea how easy/hard this stuff is to program.

Anyway, adding new patterns is obviously not something the typical player can do so what are our options here? Any constructive tips/advice/help would be greatly appreciated. Thank you!
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 09:39 PM  
Arashi-78

Forum posts: 0
File comments: 2
Uploads: 0
Having an issue today, even when I loaded the 1.34 version I have been getting an error before every zone message.

Report comment to moderator  
Reply With Quote
Unread 04/23/14, 07:54 PM  
Saiasanc

Forum posts: 0
File comments: 11
Uploads: 0
Re: Re: New issue - patterns

Originally Posted by wilson0x4d
Originally Posted by Saiasanc
So everything works great. Except for the fact that I cannot add new patterns in the settings menu. It lets me add new lines. But if I hit any key other than Enter, nothing happens. I have to go into the .lua file to add the new pattern. Any suggestions?

--Sai
No this sounds strange.

This might happen if you've entered more than 4K of patterns, which if you have I'm amazed, but then I don't believe you would be able to add empty new lines with Enter key either.

I would suspect another Add-On, unfortunately, for lack of a known reason for this to happen.
Prior to that post, I had not entered any custom patterns/filters. So unless the built in ones in the .lua equal or exceed 4K of patterns, I doubt this is the cause. But the other addon theory may prove correct. I currently run about 12 - 15 addons for various different things. I will start testing one by one and see if I can figure out which one (if any) might be causing the problem.

--Sai
Last edited by Saiasanc : 04/23/14 at 07:56 PM.
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 04:30 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by howlingmist
First off, I would like to thank you for making this wonderful addon!

I am running into the problem of X4D LibAntiSpam getting rid of my chat timestamps when used in conjunction with pChat. Is there any way to remedy this?
pChat would have to defer registration of ZO_ChatSystem event handler(s) for a second or two, and then use LibStub() to access LibAntiSpam as a library, then would need to implement a call to LibAntiSpam's Check() method, passing in the raw chat 'text' and 'fromName', receiving back a response indicating whether the check was considered spamming and/or flooding. It would then need to react accordingly (dropping the message, for example.)

The problem is that LibAntiSpam is initializing *after* pChat. But, conversely, if pChat were to initialize after LibAntiSpam then LibAntiSpam wouldn't be able to block anything.

Alternatively, you might find X4D Chat useful if all you're looking for is Timestamps, which is what you see in the default screenshot for the Add-On:

Report comment to moderator  
Reply With Quote
Unread 04/23/14, 04:11 PM  
howlingmist

Forum posts: 0
File comments: 3
Uploads: 0
First off, I would like to thank you for making this wonderful addon!

I am running into the problem of X4D LibAntiSpam getting rid of my chat timestamps when used in conjunction with pChat. Is there any way to remedy this?
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 09:04 AM  
thugar

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by wilson0x4d
Originally Posted by thugar
I had to disable the addon because it decided I was a spammer and I could no longer type to zone chat.

I wasn't spamming/selling or discussing gold.

The only thing I can think of is I typed in zone chat repeatedly and too quickly and it thinks I was spamming. However, it wasn't the same message each time. I shouldn't have triggered the flood catcher.
Are you in any guilds? (not personally curious, more interested for the add-on)

Last few releases have auto-whitelist for Self, Group, Friends and Guilds.. so definitely shouldn't be happening even if you did flood chat or spew spammer text into Zone. Hence I'm wondering if you're in any guilds or not.
No guilds. I re-enabled the addon after returning to newbie land and haven't had issue again. I'll report back if it occurs again or I can reproduce it.
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 08:29 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by MartinL
A spammer.

-= REMOVED =-
Thanks for the report, updated. Removing OP to minimize advertising.
Report comment to moderator  
Reply With Quote
Unread 04/22/14, 11:57 PM  
Highrisedrifter

Forum posts: 0
File comments: 13
Uploads: 0
Can this addon also remove gold spam emails too please?

If so, it isn't for me.

if it can't, please can you add the functionality?
Report comment to moderator  
Reply With Quote
Unread 04/22/14, 10:32 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Re: New issue - patterns

Originally Posted by Saiasanc
So everything works great. Except for the fact that I cannot add new patterns in the settings menu. It lets me add new lines. But if I hit any key other than Enter, nothing happens. I have to go into the .lua file to add the new pattern. Any suggestions?

--Sai
No this sounds strange.

This might happen if you've entered more than 4K of patterns, which if you have I'm amazed, but then I don't believe you would be able to add empty new lines with Enter key either.

I would suspect another Add-On, unfortunately, for lack of a known reason for this to happen.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: