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,400
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/28/14, 01:45 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by Alodar
I really like this addon, but it kills off my timestamps for chat?
Whatever Add-On you use for timestamps is not compatible, this is the case for most Chat Mods which modify/block chat output. Consider using "X4D Chat" (which explicitly has support for LibAntiSpam) or contact your timestamp add-on author and ask him to add support for LibAntiSpam (it is LibStub-compatible, and I can provide more info as necessary or sample code can be lifted from X4D_Chat Add-On.)
Report comment to moderator  
Reply With Quote
Unread 04/28/14, 01:40 PM  
Alodar

Forum posts: 2
File comments: 17
Uploads: 0
I really like this addon, but it kills off my timestamps for chat?
Report comment to moderator  
Reply With Quote
Unread 04/27/14, 10:07 PM  
Xanderificus

Forum posts: 7
File comments: 55
Uploads: 0
Re: Re: Guild spam?

Originally Posted by wilson0x4d
Originally Posted by Xanderificus
Any suggestions about minimizing guild-recruitment spam? It's seriously as bad, or worse, than gold sellers.
UPDATE: in response to this message I have just found a bug in the flood check code where it was not properly preventing flooders. I will be updating with a fix in a few minutes. Thank you for bringing this up.


Were it within my power, I would have your baby. You are a scholar and a gentleman.
Report comment to moderator  
Reply With Quote
Unread 04/27/14, 01:26 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Talking v1.45 - Addressed Pattern Limit Issue

First off:

NOTE: IF YOU HAVE CUSTOM PATTERNS MAKE SURE YOU COPY THEM TO NOTEPAD BEFORE UPGRADING TO V1.45 OR YOU WILL LOSE THEM.

Originally Posted by Thauredhel
It seems that the default patterns fill it up totally
Addressed.

Originally Posted by fireflycs
Hey, this is probably a stupid question but, when installing the new version, should I be copying the old data and paste it into the new one as well?
Usually, no, but for v1.45 yes you will want to do this.

Originally Posted by DaBear78
By the way: Seems as if you have reached the limit of the editbox. In the newest version (v1.39) in the settings menu the last 2 characters are already missing ("]+"). Maybe you should make this box only for the user defined rules and your default rules should be hardcoded into the lua-code itself. Would be safer, because nobody would edit your rules (and maybe break them) and you don't have to delete / edit / add new rules on every update into this editbox, because the newest and correct (and only these!) rules are in the code
Done, also added an option to disable the use of internal 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
This should no longer be a problem, well, unless you have more than 8KB of patterns. In which case we may want to review them

v1.45
- Default Patterns now termed "Internal Patterns".
- New option to disable use of "Internal Patterns".
- Previous "Spam Patterns" option is now termed "User Patterns".
- User Patterns and Internal Patterns were separated to solve the problem of some users running out of space for custom patterns.
Report comment to moderator  
Reply With Quote
Unread 04/27/14, 11:28 AM  
Thauredhel

Forum posts: 0
File comments: 1
Uploads: 0
Pattern window still full?

I've made certain im running 1.44.

Whenever I try to add my own patterns, I can type maximum one extra character. It seems that the default patterns fill it up totally (or that theres something screwy with the pattern entry window?)

Should I as a workaround just add my new definitions to the X4D_LibAntiSpam.lua in the saved variables dir?
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 05:51 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
NOTICE

FLOODERS are temporarily blocked, it is not permanent.

Set "Flood Time" to 0 in Options UI to disable this feature.

Hope this helps.

Originally Posted by fireflycs
Wow, the new version is very aggresive. It started blocking people just because they were asking for groups for dungeons. Any way to adjust this?
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 04:58 PM  
fireflycs

Forum posts: 0
File comments: 6
Uploads: 0
Wow, the new version is very aggresive. It started blocking people just because they were asking for groups for dungeons. Any way to adjust this?
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 01:57 PM  
fireflycs

Forum posts: 0
File comments: 6
Uploads: 0
Hey, this is probably a stupid question but, when installing the new version, should I be copying the old data and paste it into the new one as well?
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 12:44 PM  
sakiboj

Forum posts: 2
File comments: 43
Uploads: 0
Hi, awesome addon, much helps. How to add in pattern this VVVVV M M Ó ?
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 12:00 PM  
Fuinur

Forum posts: 0
File comments: 12
Uploads: 0
Would it be possible for you to have it so you can click on the msg when the filter detects spam to show you what it considered spam? or maybe output it to a separate window or logfile somewhere?
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 10:27 AM  
Nyarlhotep

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Requestg

Originally Posted by wilson0x4d
Originally Posted by Nyarlhotep
Love the app...already makes life better. As pointed out below, there's no characters left in the edit window to add any new strings
The limit was doubled today.

Originally Posted by Nyarlhotep
Let's just say there's a metric F-ton of spammers using the general expression:

===> \/\/_\/\/_\/\/ (etc, etc)

to start a deluge of gold spam.

How/where might one go about adding the appropriate coding string to the lua
I really wish it were that simple.

etc etc

Thanks
You da man . Seriously, many thanks for your explanation and your continued excellent support. Well done. (I just wish ZOS were as responsive and communicative <sigh>)

Fight on

N
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 10:22 AM  
Naede
 
Naede's Avatar

Forum posts: 0
File comments: 19
Uploads: 0
Originally Posted by wilson0x4d

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

I'll investigate the code and see if there is a bug, but this should get you up and running again.
Ok thanks for your suggestion, that cleared the problem (for instance).

I don't understand what happened. Before your answer, I had removed "X4D_LibAntiSpam.lua" file from SavedVariables folder.
The /reloadui have created a new file who cleared the problem for a time. After some time in game the error returned.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 09:57 AM  
Phlora

Forum posts: 0
File comments: 1
Uploads: 0
I'm having trouble with the addon being over zealous in it's blocking of "chat Spam" to the point that it is even blocking ME so I can't see what I am typing into the zone chat. I simply posted "WTS x motif book x3 and x motif book x2 - *price" and it told me that I had been blocked for chat spam. it was my first post upon logging in!

I have tried setting the slider to 0 and as far as 900 with no effect. People who are chatting are getting blocked out, which is a function I do not need/require. All I want it to do is get rid of the spam from gold sellers.

I'm having to reloadui UI every few minutes with the addon active in order to see what people are saying/what I am saying.

This only began occurring within the last few days, after one of your updates.
Last edited by Phlora : 04/26/14 at 10:13 AM.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 05:53 AM  
Rhadek

Forum posts: 0
File comments: 21
Uploads: 0
Re: Dependency Management and Shared Libraries

Originally Posted by wilson0x4d
Not really bad at all.
Thx *g*

Originally Posted by wilson0x4d
Short answer: do not use this, I will be replacing it with the official r6.
My suggestion to you is to not "share" the version of utf8.lua I distribute, and instead continue to leave the X4D_LibAntiSpam.txt unmodified.
ok.

Originally Posted by wilson0x4d
I'm curious, do you manually update all of these TXT files or are you working on software to do it for you?
Yes, I'm manually update all of these TXT files. There are too many customized directory names used by Addon-Authors:

Libs/LibAddonMenu-1.0/LibAddonMenu-1.0.lua
Libs/LibAddonMenu-1.0/LibAddonMenu.lua
lib/LibAddonMenu/LibAddonMenu.lua
lib/LibStub.lua

All directory/file names I'm manually update to my own default __Libs directory/files:

..\_LIBS\LibStub\LibStub.lua
..\_LIBS\LibAddonMenu-1.0\LibAddonMenu-1.0.lua

For me it's no problem to do it ... it's my personal "brain jogging" ...
And additionally most addons I'm using are (myself) manually modified, because "germanizing", UI-Positions, personal default settings, etc ...

Yeah, I'm leveling my english-Skill ... it's very rusty my school-english from the 80's
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 05:20 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by Naede
Hello,

Since last update, the addon notify "(LibAntiSpam) Bad Pattern: l.?.?.?d.?.?p.?.?s.?.?c.?.?.?[" for each message I receive in chatbox.

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

I'll investigate the code and see if there is a bug, but this should get you up and running again.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: