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:46
Total downloads:42,309
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 05/03/14, 05: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 DeathTrap
How do User Patterns work? For example, what would I put if I wanted to stop seeing chat that contains /\/
\? or *****?
You wouldn't do this. Instead enable the "[DEV]" option and look at the normalized output. You create patterns for that instead.

I generally add new patterns when I see new spam.

I prefer to modify normalization code instead of modifying spam patterns, which is why there is no documented process yet. For example, I have redefined normalization three times now. Once I have something 'stable' I'll document pattern construction. Until then, enable the dev option, locate the unique text (usually a domain name) and enter it as a user pattern.

If you see something like the domain name being obfuscated send me a screenshot via PM and I'll rework normalization code again.
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 03:37 PM  
Ayeen

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by wilson0x4d
Minion users seem to have this problem, using Minion by any chance?

Originally Posted by Ayeen
I had the same errors when I updated 1.53 to 1.54. Deleting SavedVariables didn't work for me so I deleted 1.54 folder and X4D_LibAntiSpam.lua in SavedVariables too. Then, re-installed 1.54. It's been back to normal now. But I haven't updated since then.
yep, I updated via Minion.
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 02:33 PM  
DeathTrap

Forum posts: 0
File comments: 3
Uploads: 0
How do User Patterns work? For example, what would I put if I wanted to stop seeing chat that contains /\/
\? or *****?
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 01:42 AM  
Methredhel

Forum posts: 0
File comments: 19
Uploads: 0
After installing your addon I can't see any timestamps any more in the chat tab (I use XTimestamp to show the timestamp). Is there a way to make it compatible?

Thx for support.

Edit:
I found your addon X4D Chat, I will just use this instead of XTimestamp, so no need to make something compatible
Last edited by Methredhel : 05/03/14 at 04:19 AM.
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 06:30 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
If you see this error...

Code:
bad argument #1 to 'table.concat' (table/struct expected, got string)
stack traceback:
[C]:in function 'table.concat'
user:/AddOns/X4D_LibAntiSpam/X4d_LibAntiSpam.Lua:598:in function 'SetPatternsEditBoxText'
Please let me know which version you upgraded FROM and TO.

This shouldn't be possible with the current code, so I believe this is being caused by an older version of the Add-On, just not sure which.

I'll create a work-around, but it would be better if I could confirm where this problem is coming from rather than just put a band-aid on it, you know?

Thanks!

UPDATE: v1.57 contains code to work-around this issue.
Last edited by wilson0x4d : 05/03/14 at 05:28 PM.
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 06:15 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Minion users seem to have this problem, using Minion by any chance?

Originally Posted by Ayeen
I had the same errors when I updated 1.53 to 1.54. Deleting SavedVariables didn't work for me so I deleted 1.54 folder and X4D_LibAntiSpam.lua in SavedVariables too. Then, re-installed 1.54. It's been back to normal now. But I haven't updated since then.
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 05:18 AM  
Sarth

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by wilson0x4d
Originally Posted by Sarth
Been getting the following UI Error since yesterdays update, turn off all addons reloadui etc only time it pops up is when X4D_LibAntiSpam is enabled

bad argument #1 to 'table.concat' (table/struct expected, got string)
stack traceback:
[C]:in function 'table.concat'
user:/AddOns/X4D_LibAntiSpam/X4d_LibAntiSpam.Lua:598:in function 'SetPatternsEditBoxText'
user:/Addons/X4D_LibAntiSpam/lib/LibAddonMenu-1.0/LibAddonMenu-1.0.lua:261: in function 'Iam:AddEditBox'
user:/Addons/X4D_LibAntiSpam/X4D_LibAntiSpam.Lua:628: in Function 'X4D_LibAntiSpam.OnAddonLoaded'


Edit: Also submitted as a bug report
Can you send me the saved-variables file for the Add-On please? Perhaps attach/paste it as a comment on the bug report. This shouldn't be possible, so I suspect the saved variables contents is invalid/corrupt.

To fix it, after you send me your saved vars, try deleting the saved vars file while ESO is closed.
copy/pasted Saved Variables to bug report. Only edit I made was X over @account.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 11:44 PM  
Ayeen

Forum posts: 0
File comments: 6
Uploads: 0
I had the same errors when I updated 1.53 to 1.54. Deleting SavedVariables didn't work for me so I deleted 1.54 folder and X4D_LibAntiSpam.lua in SavedVariables too. Then, re-installed 1.54. It's been back to normal now. But I haven't updated since then.
Last edited by Ayeen : 05/02/14 at 12:01 AM.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 09:19 PM  
bazistan

Forum posts: 0
File comments: 4
Uploads: 0
Same error that I have been getting. I renamed my vars file and it went away.
Last edited by bazistan : 05/01/14 at 09:20 PM.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 06:41 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Originally Posted by Sarth
Been getting the following UI Error since yesterdays update, turn off all addons reloadui etc only time it pops up is when X4D_LibAntiSpam is enabled

bad argument #1 to 'table.concat' (table/struct expected, got string)
stack traceback:
[C]:in function 'table.concat'
user:/AddOns/X4D_LibAntiSpam/X4d_LibAntiSpam.Lua:598:in function 'SetPatternsEditBoxText'
user:/Addons/X4D_LibAntiSpam/lib/LibAddonMenu-1.0/LibAddonMenu-1.0.lua:261: in function 'Iam:AddEditBox'
user:/Addons/X4D_LibAntiSpam/X4D_LibAntiSpam.Lua:628: in Function 'X4D_LibAntiSpam.OnAddonLoaded'


Edit: Also submitted as a bug report
Can you send me the saved-variables file for the Add-On please? Perhaps attach/paste it as a comment on the bug report. This shouldn't be possible, so I suspect the saved variables contents is invalid/corrupt.

To fix it, after you send me your saved vars, try deleting the saved vars file while ESO is closed.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 11:12 AM  
Sarth

Forum posts: 0
File comments: 6
Uploads: 0
Been getting the following UI Error since yesterdays update, turn off all addons reloadui etc only time it pops up is when X4D_LibAntiSpam is enabled

bad argument #1 to 'table.concat' (table/struct expected, got string)
stack traceback:
[C]:in function 'table.concat'
user:/AddOns/X4D_LibAntiSpam/X4d_LibAntiSpam.Lua:598:in function 'SetPatternsEditBoxText'
user:/Addons/X4D_LibAntiSpam/lib/LibAddonMenu-1.0/LibAddonMenu-1.0.lua:261: in function 'Iam:AddEditBox'
user:/Addons/X4D_LibAntiSpam/X4D_LibAntiSpam.Lua:628: in Function 'X4D_LibAntiSpam.OnAddonLoaded'


Edit: Also submitted as a bug report
Last edited by Sarth : 05/01/14 at 01:12 PM.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 07:36 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Re: Error since installing the newest version

Originally Posted by bazistan
OK, I tried a couple of different ways to post a screenshot of the error to no avail. What am I doing wrong?
I don't know, you might need to upload it to an image sharing service first? If so, just share the URL here.

Latest version appears stable for others, and I've not done anything unusual for the last 10 releases or so.
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 08:38 PM  
bazistan

Forum posts: 0
File comments: 4
Uploads: 0
Error since installing the newest version

OK, I tried a couple of different ways to post a screenshot of the error to no avail. What am I doing wrong?
Last edited by bazistan : 04/30/14 at 08:43 PM.
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 07:06 PM  
Halaster

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: can this be disabled for partychat?

Last time it happend was a few days ago so if its been added this week its probably working and they didnt recall what type of spam it got detected as
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 01:37 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 180
Uploads: 10
Re: can this be disabled for partychat?

Originally Posted by Halaster
I love this addon but it sometimes take what me or friends say in party for spam
Any chance we can get options to exclude certain chats like party and guild from this?
Guild and Party chat should already be excluded. I'll have to look into this, and assume it's a bug.

What kind of Spam is it being reported as?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: