SA-MP Forums Archive
[Include] pbAntiCheater 1.1 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [Include] pbAntiCheater 1.1 (/showthread.php?tid=386231)

Pages: 1 2


pbAntiCheater 1.1 - ipsBruno - 19.10.2012

pbAntiCheater
Por ipsBruno e ipsPaulo
Baniram a nova conta do Paulo juntamente com o tуpico da biblioteca. Por este motivo vou fazer este favor e postar aqui o projeto que estбvamos fazendo a algum tempo.

Como todos sabem, esta biblioteca й uma espйcie de anti cheater com funзхes diferenciadas. Foi aplicado vбrios tipos de checagens e lуgicas novas - implementadas por mim e idealizada por algumas pessoas "neste" tуpico.

pbAntiCheater, ao contrбrio do que pensam, tem funзхes que nгo sгo encontradas em nenhum dos AntiCheaters atuais (acreditem, eu jб pesquisei)

O objetivo deste anti hack foi fazer algo com bloqueio de nгo apenas as coisas mais simples, mas sim as mais complexas .. incluнndo muitas vezes vбrios hackings baseados nos mod cleo que por vezes achбvamos impossнvel.

Aqui a lista de funзхes:

PHP код:
//                              Bot,
//                              Death Flood,
//                              Surf Vehicle,
//                              Car Teleport,
//                              State Hack,
//                              No-Reload,
//                              Weapon Hack,
//                              Ammo Hack,
//                              Freeze Hack,
//                              Score Hack,
//                              Money Hack,
//                              Health Hack,
//                              Armour Hack,
//                              Publish Text,
//                              Offend Text,
//                              Flood Text,
//                              Teleport Hack,
//                              Air Break,
//                              Player Bugger,
//                              High Ping,
//                              Spider Hack,
//                              CP Race Hack,
//                              Speed Hack,
//                              Player Speed Hack,
//                              Fly Hack 
Para montar as lуgicas me exigiu bastante trabalho, pois muitas vezes eu tinha que estar procurando cуdigo fonte dos hackings para poder montar o anti cheater, portanto respeite nosso trabalho e mantenha a autoria.


Download
Aqui o download do cуdigo. Salve como pbAntiCheater.inc em sua pasta de includes
http://pastebin.com/sG3xHNrQ

E coloque em seu gamemode apуs #include a_samp:
PHP код:
#include pbAntiCheater 
Modo de uso

pbAntiCheater tem um sistema diferente. Ao detectar o cheater й chamado uma call back que informa qual tipo de cheater ele usa:

Veja o exemplo:
PHP код:
forward OnPlayerHacking(playeridhackid);
public 
OnPlayerHacking(playeridhackid) {
    if(
hackid == PLAYER_BOT_LEVEL1) {
        
SendClientMessage(playerid, -1"noob para de ddos no meu sv ");
        
Kick(playerid);
    }
    if(
hackid == PLAYER_BOT_LEVEL2) {
        
SendClientMessage(playerid, -1"noob para de ddos no meu sv ");
        
Kick(playerid);
    }
    if(
hackid == PLAYER_BOT_LEVEL3) {
        
SendClientMessage(playerid, -1"noob para de ddos no meu sv BAN ");
        
BanEx(playerid"fdppp");
    }
    if(
hackid == PLAYER_DEATHFLOOD_LEVEL1 || PLAYER_DEATHFLOOD_LEVEL2 == hackid || PLAYER_DEATHFLOOD_LEVEL3 == hackid) {
        
SendClientMessage(playerid, -1"noob para de fake kill");
    }
    if(
hackid == PLAYER_SURF_VEHICLE) {
        
SendClientMessage(playerid, -1"noob para de surf vehicle");
    }
    if(
hackid == PLAYER_CAR_TELEPORT) {
        
SendClientMessage(playerid, -1"noob para de car teleport");
    }
    if(
hackid == PLAYER_STATE_HACK) {
        
SendClientMessage(playerid, -1"noob para de state hack");
    }
    if(
hackid == PLAYER_FREEZE_HACK) {
        
SendClientMessage(playerid, -1"noob para de freeze hack");
    }
    if(
hackid == PLAYER_SCORE_HACK) {
        
SendClientMessage(playerid, -1"noob para de score hack");
    }
    if(
hackid == PLAYER_MONEY_HACK) {
        
SendClientMessage(playerid, -1"noob para de money hack");
    }
    if(
hackid == PLAYER_PUBLISH_TEXT) {
        
SendClientMessage(playerid, -1"ninguem quer entrar no teu sv noob");
    }
    if(
hackid == PLAYER_OFFEND_TEXT) {
        
SendClientMessage(playerid, -1"vtnc, para de ofende os outros fdp");
    }
    if(
hackid == PLAYER_FLOOD_TEXT) {
        
SendClientMessage(playerid, -1"calma ai mermгo, rlx cuca");
    }
    
    if(
hackid == PLAYER_TELEPORT_HACK) {
        
SendClientMessage(playerid, -1"preguiзoso, USA CARRO mas nгo teleport !!1");
    }
    if(
hackid == PLAYER_WEAPON_HACK) {
        
SendClientMessage(playerid, -1"nгo usa weapon hack po");
    }
    if(
hackid == PLAYER_AMMO_HACK) {
        
SendClientMessage(playerid, -1"fdp nao usa ammo hack");
    }
    if(
hackid == PLAYER_NORELOAD_HACK) {
        
SendClientMessage(playerid, -1"fdp nao usa no reload hack");
    }
    if(
hackid == PLAYER_AIRBREAK_HACK) {
        
SendClientMessage(playerid, -1"fdp para de usa no airbreak hack");
    }
    if(
hackid == PLAYER_SPIDER_HACK) {
        
SendClientMessage(playerid, -1"fdp para de usa no spider car");
    }
    if(
hackid == PLAYER_CPRACE_HACK) {
        
SendClientMessage(playerid, -1"fdp para de usa no cprace hack");
    }
    if(
hackid == PLAYER_SPEED_HACK) {
        
SendClientMessage(playerid, -1"fdp para de usa no speed hack");
    }
    if(
hackid == PLAYER_FLY_HACK) {
        
SendClientMessage(playerid, -1"fdp para de nadar no cйu !!1");
    }
    return 
true;
}
// coloque isto em seu gamemode 
Enfim, espero que gostem.

Abraзos


Re: pbAntiCheater 1.1 - Q.I - 19.10.2012

tem que falar o que e essa include e foda d+


Re: pbAntiCheater 1.1 - Kuddy - 19.10.2012

Altamente foda

Parabйns, irei adaptar alguns sistemas destes ao meu mode


Re: pbAntiCheater 1.1 - zSuYaNw - 19.10.2012

Irei usar №

Bom trabalho Paulo e Bruno.


Re: pbAntiCheater 1.1 - jpeg - 19.10.2012

excelente trabalho.


Re: pbAntiCheater 1.1 - Joao Pedro - 19.10.2012

Muito bom mesmo, parabйns pelo excelente trabalho. Tirando essas mensagens que achei desnecessбrias, o restante me agradou muito.


Re: pbAntiCheater 1.1 - Math3us - 19.10.2012

otimo trabalho Bruno parabйns =)


Re: pbAntiCheater 1.1 - FeelLikeASir_ - 19.10.2012

Bem legal, pena o paulor estar banido, nй.bemfeito


Re: pbAntiCheater 1.1 - death1 - 19.10.2012

Usarei no meu Gang War!


Re: pbAntiCheater 1.1 - Maklister - 19.10.2012

Meus Parabens, Fodastico

Sim, Infelismente paulor banido =/

10/10


Respuesta: pbAntiCheater 1.1 - ipsBruno - 19.10.2012

Obrigado pessoal, dicas para o sistema sгo bem vindas


Re: pbAntiCheater 1.1 - Sky™ - 19.10.2012

puts que foda mano Samp forum ta virando mo putaria banirem por criar uma nova conta й foda!!!!! como tinha dito Include 1000/10


Re: pbAntiCheater 1.1 - Maklister - 19.10.2012

Uma coisa:

PHP Code:
    if(hackid == PLAYER_SURF_VEHICLE) { 
        
SendClientMessage(playerid, -1"noob para de surf vehicle"); 
    } 
    if(
hackid == PLAYER_SURF_VEHICLE) { 
        
SendClientMessage(playerid, -1"noob para de surf vehicle"); 
    } 
Estб repetido ali no " Modo de Uso "


Respuesta: Re: pbAntiCheater 1.1 - ipsBruno - 19.10.2012

Quote:
Originally Posted by FeelLikeASir_
Посмотреть сообщение
Bem legal, pena o paulor estar banido, nй.bemfeito
Realmente, mas para sua felicidade Paulo vai ser desbanido logo logo.


Re: pbAntiCheater 1.1 - FeelLikeASir_ - 19.10.2012

Que notнcia boa! Gosto muito dele.


Respuesta: Re: pbAntiCheater 1.1 - ipsBruno - 19.10.2012

Quote:
Originally Posted by FeelLikeASir_
View Post
Que notнcia boa! Gosto muito dele.
Com certeza, todos gosta


Re: pbAntiCheater 1.1 - Q.I - 20.10.2012

sim o paulor e um scripter bom nao tenho nada contra ele admiro muito seus codigos so nunca gostei dele abusar dos outros enfim cada um sabe o que faz se ele voltar seja bem vindo quanto mais membros no forum e no samp melhor e ..

boa noite a todos


Respuesta: pbAntiCheater 1.1 - ipsBruno - 20.10.2012

Esse paulo abusa mesmo, ele fica abusando o pessoal que й novo aн. Que coisa feia nй?


Re: pbAntiCheater 1.1 - GTO.DoDo - 20.10.2012

@off.
HEYYYYYYYYYYYY SEXY LADYYYYY!!

@topic
Nice.


Re: pbAntiCheater 1.1 - jpeg - 20.10.2012

Quote:
Originally Posted by Q.I
View Post
sim o paulor e um scripter bom nao tenho nada contra ele admiro muito seus codigos so nunca gostei dele abusar dos outros enfim cada um sabe o que faz se ele voltar seja bem vindo quanto mais membros no forum e no samp melhor e ..

boa noite a todos
ele jah abusou de vc? rs :P

Quote:
Originally Posted by ipsBruno
View Post
Esse paulo abusa mesmo, ele fica abusando o pessoal que й novo aн. Que coisa feia nй?
nй.. rs