SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 19/08/2010, 11:12 PM   #1
Luka P.
High-roller
 
Luka P.'s Avatar
 
Join Date: Feb 2009
Posts: 1,621
Reputation: 11
Post Spam Prevention System (Anti Spam)


What is this?
This is a anti spam filterscript - simply, this prevents your server (chat) from being spammed by players. You can define for how many minutes you would like to mute the player (2 minutes by the default, though). When the player sends 4 or more messages in a 1.5 sec he gets warned. 2 warnings results in a mute.

How to install?
Well, the "installation" procedure is very very simple. Download the script and just copy the antispam.amx (or compile the antispam.pwn) into your filterscripts folder and put "antispam" into your "filterscripts" line in server.cfg. Restart the server and thats it!

Where to download?
You can download it at Solidfiles, or if you want you can see the source on the Pastebin, but it is kinda unreadable.
Luka P. is offline   Reply With Quote
Old 19/08/2010, 11:13 PM   #2
willsuckformoney
High-roller
 
willsuckformoney's Avatar
 
Join Date: Dec 2009
Posts: 1,500
Reputation: 65
Default Re: Spam Prevention System (Anti Spam)

real simple, good job too

EDIT: Btw good luck on 10 more post
__________________
Fuck the system.
willsuckformoney is offline   Reply With Quote
Old 19/08/2010, 11:20 PM   #3
Luka P.
High-roller
 
Luka P.'s Avatar
 
Join Date: Feb 2009
Posts: 1,621
Reputation: 11
Default Re: Spam Prevention System (Anti Spam)

Quote:
Originally Posted by willsuckformoney View Post
real simple, good job too

EDIT: Btw good luck on 10 more post
Thanks.. and that edit, wtf?
Luka P. is offline   Reply With Quote
Old 20/08/2010, 12:02 AM   #4
willsuckformoney
High-roller
 
willsuckformoney's Avatar
 
Join Date: Dec 2009
Posts: 1,500
Reputation: 65
Default Re: Spam Prevention System (Anti Spam)

Luka P.
High-roller

Join Date: Feb 2009
Posts: 1,329

1,329
8+
______
1,337 <--====-- EpiC

__________________
Fuck the system.
willsuckformoney is offline   Reply With Quote
Old 20/08/2010, 12:02 AM   #5
lolumadd
Huge Clucker
 
Join Date: Sep 2009
Posts: 375
Reputation: 8
Default Re: Spam Prevention System (Anti Spam)

It looks really nice but could of been done using GetTickCount() function instead of SetTimer to reduce lag.
__________________
lolumadd is offline   Reply With Quote
Old 20/08/2010, 12:09 AM   #6
Luka P.
High-roller
 
Luka P.'s Avatar
 
Join Date: Feb 2009
Posts: 1,621
Reputation: 11
Default Re: Spam Prevention System (Anti Spam)

Quote:
Originally Posted by willsuckformoney View Post
Luka P.
High-roller

Join Date: Feb 2009
Posts: 1,329

1,329
8+
______
1,337 <--====-- EpiC

Quote:
Originally Posted by lolumadd View Post
It looks really nice but could of been done using GetTickCount() function instead of SetTimer to reduce lag.
willsuckformoney - oh that lol
lolumadd - that wouldn't reduce the lag, as this is not making any lag
Luka P. is offline   Reply With Quote
Old 04/11/2010, 05:10 PM   #7
Tekto
Big Clucker
 
Join Date: Jul 2010
Posts: 81
Reputation: 0
Default Re: Spam Prevention System (Anti Spam)

Hmm, It doesnt work for me I Spam , and spam, but nothing happens.
Tekto is offline   Reply With Quote
Old 04/11/2010, 06:26 PM   #8
RyDeR`
High-roller
 
RyDeR`'s Avatar
 
Join Date: Feb 2009
Location: Belgium
Posts: 3,134
Reputation: 631
Default Re: Spam Prevention System (Anti Spam)

Nice but like lolumadd said, it would be better and faster using GetTickCount().
__________________

Sup?
RyDeR` is offline   Reply With Quote
Old 04/11/2010, 06:32 PM   #9
xenowort
High-roller
 
xenowort's Avatar
 
Join Date: Nov 2009
Location: en mi casa
Posts: 1,773
Reputation: 0
Default Respuesta: Spam Prevention System (Anti Spam)

Good but is much better use GetTickCount().

Good joob.
__________________
Esta cuenta esta cerrada, ya que no juego mas samp.
xenowort is offline   Reply With Quote
Old 14/09/2011, 12:56 PM   #10
Captain_jeffree95
Big Clucker
 
Join Date: Aug 2011
Posts: 101
Reputation: 7
Default Re: Spam Prevention System (Anti Spam)

Good job looks like a keeper
Captain_jeffree95 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] AFK and BRB system - With Anti-Spam! Rzzr Filterscripts 21 19/11/2011 03:01 PM
[Help]Anti-Spam Freakzz Română/Romanian 4 02/05/2010 10:03 AM
Anti Spam Puzi Help Archive 3 23/08/2009 10:31 AM
Anti cmd spam jonybomb Help Archive 3 20/07/2009 12:16 PM


All times are GMT. The time now is 04:05 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.