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

Ban for Cheat messages


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Hawk552 (427)
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-12-2007 , 02:40   Ban for Cheat messages
Reply With Quote #1

Version 1.4

Description: Very easy plugin that bans stupid cheaters that repeatedly say something like
[BadBoy v.5.0][Download it from ......]

- VERY IMPORTANT: TO BAN ALL CHEAT MESSAGES (SUCH AS [HLGUARD] Check this player...) PUT THE PLUGIN BEFORE adminchat.amxx IN plugins.ini
- No ML support because u can easy retranslate this plugin to your own language by changing ONLY 1 phrase in func ban(id) in source code and recompile.
- CVARS:
anti_say_bantype (default 2)
0 - standart ban by steam ID
1 - ban by IP
2 - ban by AMXBANS
3 - cheater will forced to quit the game (i found it more useful than kicking, so cheater may suppose that his cheat doesn't work correctly ;) )

anti_say_bantime (default 7200)
Ban time in minutes (default 7200 minutes = 5 days ban)
Set it to 0 for permanent bans.

To do: Put antisay.ini to addons/amxmodx/configs directory. Feel free to edit this file but don't forget to post new messages to forum (so other people can download updated version).

Changes:
- Added logging to antisay.log (in the same folder as antisay.ini)
- Fixed bansystem (amx_banip -> addip ; amx_ban -> banid)

As usual, russian and english versions provided...
Enjoy.
Attached Files
File Type: ini antisay.ini (1.7 KB, 8702 views)
File Type: sma Get Plugin or Get Source (anti_sayEN.sma - 12364 views - 3.7 KB)
File Type: sma Get Plugin or Get Source (anti_sayRUS.sma - 4579 views - 3.7 KB)

Last edited by draft; 01-07-2008 at 10:36.
draft is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 08-12-2007 , 04:44   Re: Ban for Cheat messages
Reply With Quote #2

Cool, sounds neat, will try it soon
__________________
hugz` is offline
Send a message via AIM to hugz`
iggy_bus
BANNED
Join Date: Oct 2005
Old 08-12-2007 , 08:57   Re: Ban for Cheat messages
Reply With Quote #3

I tried this and it doesn't work. It says that player is banned but he stays on the server ;)
iggy_bus is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-12-2007 , 10:12   Re: Ban for Cheat messages
Reply With Quote #4

Oh my god! This will never be approved! Instead of register all that chat messages make an 2d array and store all that hat messages, or make it reading from a file! After that all you need to do is to check the "say" / "say_team" if containi that messages! :/ More efficient...and is not hardcoded!

Quote:
Originally Posted by iggy_bus View Post
I tried this and it doesn't work. It says that player is banned but he stays on the server ;)
Hmm...
Quote:
Originally Posted by draft
Also, this plugin bans via AMXBANS, so, if you want to ban by IP replace amx_ban with amx_banip and recompile. If you don't have AMXBANS and don't want to ban by IP, replace "7200 #%d" with "#%d 7200" and recompile.

Last edited by Alka; 08-12-2007 at 10:14.
Alka is offline
adidas
BANNED
Join Date: Jan 2007
Old 08-12-2007 , 11:20   Re: Ban for Cheat messages
Reply With Quote #5

hmm. delete chatsay badboy v5.0 cfg
adidas is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 08-12-2007 , 12:04   Re: Ban for Cheat messages
Reply With Quote #6

@alka, thanks, it works now, I didnt see it well ;)

@author, can you make plugin to log all server bans in one log file ?
iggy_bus is offline
Knnube!
Junior Member
Join Date: Aug 2007
Location: Gdańsk,Poland
Old 08-12-2007 , 12:35   Re: Ban for Cheat messages
Reply With Quote #7

very nice plugins

Last edited by Knnube!; 08-12-2007 at 12:40.
Knnube! is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 08-13-2007 , 00:36   Re: Ban for Cheat messages
Reply With Quote #8

O<G can you fix this? It bans averyone just for saying "say fighter" !!!
iggy_bus is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-13-2007 , 00:37   Re: Ban for Cheat messages
Reply With Quote #9

Why not use the ML system so you only have to make 1 version. Also, make a cvar that will allow users to tell it whether to ban by AmxBans, normal ban method, or by ip. Also, adding a cvar for the ban time would be nice
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-13-2007 , 07:18   Re: Ban for Cheat messages
Reply With Quote #10

YamiKaitou

What is meaning of ML system?
Cvars will be added, i think tomorrow.

iggy_bus
Bug: I will test for it and if it is tomorrow will be fix

Knnube!
Logging: I'll try to do it, but i'm not sure

adidas
Chatsay of BadBoy will be deleted also tomorrow because of useless.

Alka
If you can help me with links of storing the phrases in a file or array I would be grateful.

2ALL: I'm also trying to add Wallhack checking by this (it is created by some cheats such as CD Hack)
"amx_chat [HLGUARD] Admin check this player (use END)", but i don't understand how to capture messages from amx_chat . I would be gratefull if someone help...
draft 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 18:17.


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