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

Ban for Cheat messages


Post New Thread Reply   
 
Thread Tools Display Modes
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-13-2007 , 07:43   Re: Ban for Cheat messages
Reply With Quote #11

Something like this!

Code:
#include <amxmodx>
 
#define PLUGIN "Cheats Say Restrict"
#define VERSION "1.0"
#define AUTHOR "draft"
 
new ban_time;
 
stock const cheats_words[][] = {
 
 "[ BaDBoY ][ v.5 ] [ By: www.united-cheaters.de.gg ]",
 "++ you want my cheat ? join the Forum ++",
 "++ our Forum www.united-cheaters.net Cheats 4 Free ++",
 ".:[Emo Tear]:."
 //and so...."blah blah", last one must don't have a "," !
}
 
public plugin_init() {
 
 register_plugin(PLUGIN, VERSION, AUTHOR)
 
 register_clcmd("say", "hook_chat");
 register_clcmd("say_team", "hook_chat");
 
 ban_time = register_cvar("amx_bantime", "700");
}
 
public hook_chat(id)
{
 new szArgs[512];
 read_args(szArgs, 511);
 
 new szName[32];
 get_user_name(id, szName, 31);
 
 for(new i = 0 ; i < sizeof (cheats_words) ; i++)
 {
  if(containi(szArgs, cheats_words[i]) != -1)
  {
   server_cmd("amx_banip ^"%s^" %d Cheats advertising!", szName, get_pcvar_num(ban_time));
   
   return 1;
  }
 }
 return 0;
}
Alka is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-13-2007 , 08:16   Re: Ban for Cheat messages
Reply With Quote #12

The purpose of ML would be to allow for more than 1 language. It also helps users that want it in their language not have to figure out how to compile it. It is just easier to maintain. 1 plugin to edit instead of 2 or more.

ML = Multi Language (in case you didn't know)
__________________
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
Old 08-13-2007, 10:12
adidas
This message has been deleted by Xanimos. Reason: stay on topic
Old 08-13-2007, 10:15
Alka
This message has been deleted by Xanimos. Reason: stay on topic
_Master_
Senior Member
Join Date: Dec 2006
Old 08-14-2007 , 06:33   Re: Ban for Cheat messages
Reply With Quote #13

What happens if some user say (and I mean he/she actually does say it) "don't say [ BaDBoY ][ v.5 ] [ By: www.united-cheaters.de.gg ] or you'll get banned" ?!?

I think we all know...
_Master_ is offline
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-14-2007 , 08:26   Re: Ban for Cheat messages
Reply With Quote #14

Quote:
Originally Posted by _Master_ View Post
What happens if some user say (and I mean he/she actually does say it) "don't say [ BaDBoY ][ v.5 ] [ By: www.united-cheaters.de.gg ] or you'll get banned" ?!?

I think we all know...

they never would quote the other, cs player are to lazy for it ^^ they would say something like, "damm cheater stop posting your crap in chat " or so btw they only get 5 days by default and amxbans gives them regulary a domain where they can complain about the ban, for example the website of your clan or what ever so shouldnt be a problem

btw: great plugin waited for this
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 08-14-2007 , 13:42   Re: Ban for Cheat messages
Reply With Quote #15

"amx_chat [HLGUARD] Admin check this player (use END)" doesn't mean that player is cheating. It just means that he pushes the END key. Wouldn't it be harsh to ban player for pushing END, many people has e.g. chat binds on those keys.
__________________
anssik is offline
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-15-2007 , 01:33   Re: Ban for Cheat messages
Reply With Quote #16

dont have to have cheat binds???? sorry but this is stupid enough that gamer using cheats (public cheats) saying continious chat messages..... saw this on unholy and fighterX i dont see any reason to be friendly to gamer who say the message but dont use cheats
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-16-2007 , 08:56   Re: Ban for Cheat messages
Reply With Quote #17

Quote:
Originally Posted by ThunderBlizzard View Post
dont have to have cheat binds???? sorry but this is stupid enough that gamer using cheats (public cheats) saying continious chat messages..... saw this on unholy and fighterX i dont see any reason to be friendly to gamer who say the message but dont use cheats
You are not right because i don't have [HLGuard] on my server but i saw these messages... There are sent by CD Hack or some other WH cheat and if there are no admins it is good to autoban the cheater by a plugin. SO!

Updated...
- 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)
- Added requested cvars:
anti_say_bantype (default 2)
0 - standart ban by steam ID
1 - ban by IP
2 - ban by AMXBANS

anti_say_bantime (default 7200)
Ban time in minutes (default 7200 minutes = 5 days ban)
Set it to 0 for permanent bans.
draft is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-16-2007 , 09:04   Re: Ban for Cheat messages
Reply With Quote #18

If you are worried you may not to use this plugin, but i've installed it on my server and there are no problems with wrong bans. Also, if some gamers bind cheat messages, don't you think that there are such cheaters or from where there are getting those messages? (note, that only cheat messages are checked, not words from them) Think about it...
draft is offline
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-16-2007 , 10:47   Re: Ban for Cheat messages
Reply With Quote #19

thats what i meant but seems you didnt get it or i was just unable to explain^^
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 08-16-2007 , 13:20   Re: Ban for Cheat messages
Reply With Quote #20

Quote:
Originally Posted by draft View Post
You are not right because i don't have [HLGuard] on my server but i saw these messages... There are sent by CD Hack or some other WH cheat and if there are no admins it is good to autoban the cheater by a plugin. SO!
No that's not true. The [HLGUARD] message is made by hlguard plugin, which means that the player has played in a server with HLG BEFORE entering your server.
__________________
anssik 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 20:25.


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