PintoPirate's FloodFilter (Remove Spam from [Trade] and [Shout]) - Creative Contraptions - WarpPortal Community Forums

Jump to content


Photo
* * * * * 2 votes

PintoPirate's FloodFilter (Remove Spam from [Trade] and [Shout])


  • Please log in to reply
15 replies to this topic

#1 PintoPirate

PintoPirate

    I made it Off Topic

  • Members
  • 37 posts
  • Playing:ROSE Online
  • Server:Draco

Posted 17 January 2012 - 10:13 AM

PintoPirate's FloodFilter


Flood Filter is a plugin which detects and blocks the abuse of the [Trade] and [Shout] channels. Rather than totally removing these channels, this plugin attempts to make them useful by filtering out the constant noise of spambots. FloodFilter is still in early alpha, but I believe the features that are currently implemented should work properly.

Installation

To install FloodFilter download the zip from the following link and unpack the contents into your Rose installation folder.

Download FloodFilter


Then put the following into your genmods.ini file:
[FloodFilter]
Enable   1
UpdateCheck   1
PatchFile   http://rosefloodfilter.bobdylansays.com/floodfilter.xml
Requires   FloodFilter.dll
Make sure GenFS is enabled or FloodFilter will not work!

Commands
All commands are prefixed with /ff
  • /ff list - Gives a list of all players in the blacklist
  • /ff add [Player] - Adds a player to the blacklist
  • /ff del [Player] - Removes a player from the blacklist
Bug Submission

I'm not perfect and there are probably bugs that have gotten past me, so please submit bug reports by posting in this thread or by sending me a PM here on the forums, along with the following information:

  • Your operating system (Windows XP/Vista/7, something else?)
  • What plugins you use when playing ROSE (GenPatch, GenFS, any custom interfaces?)
  • If your problem isn't constant: what you were doing when the problem occurred, when and where in the game it happened, and how long the client had been running at that point
  • If you have experienced the issue repeatedly: list what you think causes the problem, and if possible, steps to reproduce the problem
Changelog:
Version 0.2
  • More performance improvements!!
  • Only lists the number of blacklisted players at startup.
  • Multiple clients won't cause the filter to prematurely blacklist.
  • No more $ spam.
  • Addition of /ff list|add|del commands.
Previous Versions:
Spoiler

Edited by PintoPirate, 20 August 2012 - 10:43 AM.

  • 4

#2 Revolve

Revolve

    Too Legit To Quit

  • Members
  • 1044 posts
  • LocationKaizy's Profile.
  • Playing:ROSE Online
  • Server:Leonis

Posted 17 January 2012 - 10:22 AM

Sounds Good!
  • 0

#3 Genesis

Genesis

    ROSE Developer

  • Community Managers
  • 2066 posts
  • Playing:ROSE Online
  • Server:Arua

Posted 17 January 2012 - 10:40 AM

Excellent, looking forward to seeing this evolve over time.

In your XML, change the patchroot to your own plugin URL so that it downloads from the correct location:

<patchroot>http://rosefloodfilt...om/</patchroot>

Also, convert the CRCs to decimal (int) otherwise it won't check for updates correctly.

Edited by Genesis, 17 January 2012 - 10:52 AM.

  • 1

#4 PintoPirate

PintoPirate

    I made it Off Topic

  • Members
  • 37 posts
  • Playing:ROSE Online
  • Server:Draco

Posted 17 January 2012 - 10:44 AM

I had a crash while editing the xml. I guess I missed that.
  • 0

#5 Trebor

Trebor

    Amateur Blogger

  • Members
  • 245 posts
  • LocationSacramento, CA USA
  • Playing:ROSE Online
  • Server:Leonis

Posted 17 January 2012 - 11:12 AM

I noticed each time I bring up the client it has to download the floodfilter files each time?

Is this suppose to happen or something that has to be fixed?
  • 0

#6 Zurn

Zurn

    They pay me to post.

  • Members
  • 8468 posts
  • Playing:ROSE Online
  • Server:Arua

Posted 17 January 2012 - 12:07 PM

thank god! now hopefully i don't need to block each one manually~!

just curious~how much spamming is needed before it actually blocks them?
  • 0

#7 calaaniwygen

calaaniwygen

    Awarded #1 Troll

  • Members
  • 620 posts
  • Playing:ROSE Online
  • Server:Leonis

Posted 17 January 2012 - 12:10 PM

Interesting work. It would solve a lot of the headaches in towns. How "sensetive" is it? And how does it block the spams?
Does it put them on an ignore list or does it just not allow the posts to show up for a certain amount of time?
  • 0

#8 PintoPirate

PintoPirate

    I made it Off Topic

  • Members
  • 37 posts
  • Playing:ROSE Online
  • Server:Draco

Posted 17 January 2012 - 12:16 PM

just curious~how much spamming is needed before it actually blocks them?


Three messages that are ~85% similar within 20 minutes will trigger the blacklist.

Does it put them on an ignore list or does it just not allow the posts to show up for a certain amount of time?


It is completely separate from the ignore function and only blocks Trade and Shout messages, so it still allows people to communicate with blacklisted players within normal chat range. Also, it only blocks messages in the "ALL" ListBox. They still appear in the "Trade" ListBox. Most of this will be user selectable settings in future versions; however, I'm making sure the core functionality works before I start to add features.

Edited by PintoPirate, 17 January 2012 - 12:33 PM.

  • 1

#9 Zurn

Zurn

    They pay me to post.

  • Members
  • 8468 posts
  • Playing:ROSE Online
  • Server:Arua

Posted 17 January 2012 - 12:22 PM

Three messages that are ~85% similar within 20 minutes will trigger the blacklist.

good...good :D

i usually block them after three times or if i see one i know is about to spam its gone, i hate spamming :/
  • 0

#10 PintoPirate

PintoPirate

    I made it Off Topic

  • Members
  • 37 posts
  • Playing:ROSE Online
  • Server:Draco

Posted 21 January 2012 - 04:39 PM

I just finished a new version of FloodFilter

Version 0.2
  • More performance improvements!!
  • Only lists the number of blacklisted players at startup.
  • Multiple clients won't cause the filter to prematurely blacklist.
  • No more $ spam.
  • Addition of /ff list|add|del commands.

Version 0.2.Whoops
  • Now with 100% less passing null pointers to strcmp()

Edited by PintoPirate, 21 January 2012 - 05:59 PM.

  • 0

#11 CoffeeMuse

CoffeeMuse

    Too Legit To Quit

  • Members
  • 1097 posts
  • LocationRose Forum Mod 2006-2011
  • Playing:ROSE Online

Posted 22 January 2012 - 07:44 AM

I think the way the chat is spammed in the game is one of the worst things we have to endure.

This is awesome, it looks like we have a weapon to combat the annoying spam in the game! Death to spam!

Edited by CoffeeMuse, 22 January 2012 - 08:04 AM.

  • 1

#12 Rinpyon

Rinpyon

    Amateur Blogger

  • Members
  • 470 posts
  • LocationCanyon city of Zant
  • Playing:ROSE Online

Posted 22 January 2012 - 10:20 AM

wow this is great, thanks so much PintoPirate :dunno:
  • 0

#13 nikst3r

nikst3r

    Awarded #1 Troll

  • Members
  • 673 posts
  • LocationIn my bed
  • Playing:ROSE Online
  • Server:Draconis

Posted 22 February 2012 - 02:08 AM

any updates ?
  • 0

#14 PintoPirate

PintoPirate

    I made it Off Topic

  • Members
  • 37 posts
  • Playing:ROSE Online
  • Server:Draco

Posted 20 August 2012 - 09:35 AM

I'm not sure what else there is to add to this plugin. Is it still working well for everyone with no bugs? If there are any problems, I'd be happy to look into them.
  • 0

#15 Niluje

Niluje

    Awarded #1 Troll

  • Members
  • 746 posts
  • LocationFrance
  • Playing:ROSE Online
  • Server:Leonis

Posted 21 August 2012 - 02:47 AM

Three messages that are ~85% similar within 20 minutes will trigger the blacklist.

Maybe make it possible to customize these 3 parameters (especially the 1st & last figures)
  • 0

#16 Banrukai

Banrukai

    Too Legit To Quit

  • Members
  • 1251 posts
  • Location中国China
  • Playing:ROSE Online
  • Server:.¤·°­·.¸ Arua ¸.·°­·¤.

Posted 02 January 2013 - 03:12 AM

The link to download this seems to be unavailable.

Looks pretty awesome though, I would like to test it out.

Edited by Banrukai, 02 January 2013 - 03:13 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users