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

Ban for Cheat messages


Post New Thread Reply   
 
Thread Tools Display Modes
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-16-2007 , 13:31   Re: Ban for Cheat messages
Reply With Quote #21

[HLGUARD] The used key is blocked (use END) - this is HLGuard blocking key message if it is enabled.

[HLGUARD] Admin check this player (use END) - this is cheat message

Feel the difference.

Last edited by draft; 08-16-2007 at 13:33.
draft is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-16-2007 , 14:31   Re: Ban for Cheat messages
Reply With Quote #22

Code:
 for(j = 0 ; j < 12 ; j++)
 for(i = 0 ; i < sizeof (CheatReports) ; i++)
 {
   if(containi(said, CheatReports[i][j]) != -1)
   if(cheater_banned == 0)
   Ban(id)      
 }
Remove first for(...);
Alka is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-16-2007 , 14:43   Re: Ban for Cheat messages
Reply With Quote #23

Done)
draft is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-16-2007 , 14:46   Re: Ban for Cheat messages
Reply With Quote #24

Lulz and here
Code:
 read_args(said, 192)
 
 if (containi(said, "[Emo Tear] [Kills:") != -1)
  Ban(id)
 else
  if (containi(said, "Get more at http://sammyzworld.net/vedran/Unholy.zip") != -1)
 Ban(id)
why are you doing and read args again ?! 0_o just put in that array(CheatReports[][]) "[Emo Tear] [Kills:" and ""Get more at http://sammyzworld.net/vedran/Unholy.zip" and do one check!
Alka is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-16-2007 , 17:03   Re: Ban for Cheat messages
Reply With Quote #25

Thanks again, optimized
draft is offline
Arion
Senior Member
Join Date: Mar 2007
Old 08-17-2007 , 00:47   Re: Ban for Cheat messages
Reply With Quote #26

This is a must-have plugin

Nice job!
__________________
Arion is offline
Send a message via MSN to Arion
Old 08-20-2007, 05:27
hcxx
This message has been deleted by hcxx. Reason: asdf
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-24-2007 , 17:23   Re: Ban for Cheat messages
Reply With Quote #27

You need to learn basic workings. I don't like this because you appear to have no clue about what you're doing and neither does Alka.

Approved, tentatively, simply because this is useful.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
stylerro
Senior Member
Join Date: Mar 2007
Old 09-04-2007 , 07:38   Re: Ban for Cheat messages
Reply With Quote #28

"I tried this and it doesn't work. It says that player is banned but he stays on the server ;) "
true!
stylerro is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 09-06-2007 , 04:40   Re: Ban for Cheat messages
Reply With Quote #29

What type of ban do you use?
draft is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 09-06-2007 , 07:16   Re: Ban for Cheat messages
Reply With Quote #30

ban ip beacouse my server is steam/nonsteam
stylerro 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 21:50.


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