Raised This Month: $51 Target: $400
 12% 

Spam Blocker v3.6


Post New Thread Reply   
 
Thread Tools Display Modes
TeoNoman
Senior Member
Join Date: Jun 2008
Old 04-17-2009 , 12:52   Re: Spam Blocker v3.6
Reply With Quote #171

v3.6 is out now! Immunity flag is available

By default the flag is q, but you can build the plugin with another IMMUNITY_FLAG constant value. Before doin it please take a look at official docs about that cuz flag q is ADMIN_LEVEL_E in AMX scripting. And one more thing. The immunity does not work with hide.ini, only with ban, kick, warn, ip and nicks.
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
HAARP
Member
Join Date: Jun 2007
Old 04-18-2009 , 12:50   Re: Spam Blocker v3.6
Reply With Quote #172

Awesome, I like it!

I only got one idea to improve this: Make an option to only block/kick/ban people who spam more than once.
I'm ok with people posting their sites, but spamming it 50 times should not be possible
HAARP is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 04-18-2009 , 12:51   Re: Spam Blocker v3.6
Reply With Quote #173

REad the first post, its already there, just setup the cvars
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
HAARP
Member
Join Date: Jun 2007
Old 04-18-2009 , 12:54   Re: Spam Blocker v3.6
Reply With Quote #174

Quote:
Originally Posted by DruGzOG View Post
REad the first post, its already there, just setup the cvars
I'm sorry, I can't find it.
HAARP is offline
TeoNoman
Senior Member
Join Date: Jun 2008
Old 04-18-2009 , 13:31   Re: Spam Blocker v3.6
Reply With Quote #175

Quote:
Awesome, I like it!
I only got one idea to improve this: Make an option to only block/kick/ban people who spam more than once.
I'm ok with people posting their sites, but spamming it 50 times should not be possible
One more time plz, didn't get
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-18-2009 , 13:34   Re: Spam Blocker v3.6
Reply With Quote #176

Quote:
Originally Posted by HAARP View Post
I only got one idea to improve this: Make an option to only block/kick/ban people who spam more than once.
I'm ok with people posting their sites, but spamming it 50 times should not be possible
You might want to check out this plugin:
http://forums.alliedmods.net/showthread.php?t=90414
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
HAARP
Member
Join Date: Jun 2007
Old 04-18-2009 , 13:41   Re: Spam Blocker v3.6
Reply With Quote #177

Quote:
Originally Posted by TeoNoman View Post
One more time plz, didn't get
Player says: 123.123.123.123
-> no action taken

Player says: 123.123.123.123
Player says: 123.123.123.123
-> hide messages + ban

Only make it ban if the player posts ads more than once.


btw, that's strange. It won't work for me properly. It says it bans people, but the players can come back. Using the default ban method in AMXX.
I ban myself by posting ads on the server (I removed myself from being an admin to test this)
I get kicked and the game says I got banned for 1440 minutes. But I can join the server again right away without problems!
If I ban myself manually for 1440 minutes, it works fine.
Here's the logs:
Code:
L 04/18/2009 - 19:19:20: "HAARP<1><STEAM_0:0:*censored*><>" entered the game
L 04/18/2009 - 19:19:22: "HAARP<1><STEAM_0:0:*censored*><>" joined team "CT"
L 04/18/2009 - 19:19:33: [amx_spamblocker.amxx] Player "HAARP" (STEAM_0:0:*censored*) has been banned (1440 min) for message: .123.123.123.123
L 04/18/2009 - 19:19:33: [admincmd.amxx] Ban: "Evilution - Assault/Siege/Milit<0><><>" ban and kick "HAARP<1><STEAM_0:0:*censored*><>" (minutes "1440") (reason "AUTOBAN: Spam")
[AMXX] Client "HAARP" banned
L 04/18/2009 - 19:19:33: Kick: "HAARP<1><STEAM_0:0:*censored*><>" was kicked by "Console" (message ""AUTOBAN: Spam (banned for 1440 min)"")
L 04/18/2009 - 19:19:33: "HAARP<1><STEAM_0:0:*censored*><CT>" disconnected
Dropped HAARP from server
Reason:  Kicked :"AUTOBAN: Spam (banned for 1440 min)"
L 04/18/2009 - 19:19:33: Ban: "<><STEAM_ID_PENDING><>" was banned "for 1440.00 minutes" by "Console"
Writing banned.cfg.
I guess the STEAM_ID_PENDING is the problem here.

Also, I don't think it should show the amount of time you've been banned to the victim. Normal banning with AMXX doesn't show it either.

Another problem: I replaced the immunity flag in the source like this:
Code:
#define IMMUNITY_FLAG ADMIN_IMMUNITY
But it still bans immune admins (or at least it tries to, because of above bug it won't work anyway)


btw, thanks for your attention
HAARP is offline
TeoNoman
Senior Member
Join Date: Jun 2008
Old 04-18-2009 , 13:41   Re: Spam Blocker v3.6
Reply With Quote #178

Quote:
Originally Posted by Exolent[jNr] View Post
You might want to check out this plugin:
http://forums.alliedmods.net/showthread.php?t=90414
Yep, nice plugin Perfect for such problem.
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
TeoNoman
Senior Member
Join Date: Jun 2008
Old 04-18-2009 , 13:49   Re: Spam Blocker v3.6
Reply With Quote #179

Quote:
Using the default ban method in AMXX.
Default ban method sucks very much. That's not my problem. There is a fix of this problem. You can find it in this thread. Use AMXBans (100% compatibility guaranteed) or Advanced Bans (not sure, when I tested it everything seemd to be ok).

About immunity — everything is ok, can't see the problem.
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru

Last edited by TeoNoman; 04-18-2009 at 13:56.
TeoNoman is offline
HAARP
Member
Join Date: Jun 2007
Old 04-18-2009 , 16:17   Re: Spam Blocker v3.6
Reply With Quote #180

Quote:
Originally Posted by TeoNoman View Post
Default ban method sucks very much. That's not my problem. There is a fix of this problem. You can find it in this thread. Use AMXBans (100% compatibility guaranteed) or Advanced Bans (not sure, when I tested it everything seemd to be ok).
Well, the problem only appears when using your Spam Blocker and bans fine otherwise. But I'll have a look at AMXbans, thank you. AMXbans says I need a PHP-capable website. Will it still work without? I don't really need the web interface, but I may put one up at a later time...
Quote:
About immunity — everything is ok, can't see the problem.
As an admin, I shouldn't be kicked/banned, should I?

Quote:
Also, I don't think it should show the amount of time you've been banned to the victim. Normal banning with AMXX doesn't show it either.
This issue still remains. I tried to edit the addon myself, but it would still show the time afterwards, so apparently I'm too stupid for this :/


Also, about the suggestion I made earlier regarding Spamming Once<->Twice: Is it hard to implement? If you don't want to that's ok, but I'd much rather use your plugin since it's quite versatile
HAARP is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 08:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode