Nex - AC izbacuje

Započeo Toyo2411, Novembar 30, 2021, 13:09:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Ubacio sam Nex-AC u gm, include sve kako pise, i sad kad udem na server izbacuje mi "Izbaceni ste zbog sumlje na koristenje cheat programa"... Nemam niti jedan cheat, cisti GTA i tjt
Ako netko misli "nemoj to raditi ako ne znas i takve komenatre, slobodno nek zaobidje temu, hvala :)
Deo skripte: [pawn]
// OVO SAM DODAO U GAMEMODE JER PISE NA STR DA SE TAK DODA --> https://prnt.sc/213gkhf
// AKO TO NE DODAM, DOSL NISTA NE FUNKCIONIRA

forward OnCheatDetected(playerid, ip_address[], type, code);
public OnCheatDetected(playerid, ip_address[], type, code)
{
   if(type) BlockIpAddress(ip_address, 0);
   else
   {
      switch(code)
      {
         case 5, 6, 11, 14, 22, 32: return 1;
         case 40: SendClientMessage(playerid, -1, MAX_CONNECTS_MSG);
         case 41: SendClientMessage(playerid, -1, UNKNOWN_CLIENT_MSG);
         default:
         {
            new strtmp[sizeof KICK_MSG];
            format(strtmp, sizeof strtmp, KICK_MSG, code);
            SendClientMessage(playerid, -1, strtmp);
         }
      }
      AntiCheatKickWithDesync(playerid, code);
   }
   return 1;

}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[13:01:52] filterscripts = ""  (string)
[13:01:52]
[13:01:52] Server Plugins
[13:01:52] --------------
[13:01:52]  Loading plugin: sscanf.dll
[13:01:52]

[13:01:52]  ===============================

[13:01:52]       sscanf plugin loaded.     

[13:01:52]          Version:  2.8.3       

[13:01:52]   (c) 2018 Alex "Y_Less" Cole 

[13:01:52]  ===============================

[13:01:52]   Loaded.
[13:01:52]  Loading plugin: streamer.dll
[13:01:52]

*** Streamer Plugin v2.9.5 by Incognito loaded ***

[13:01:52]   Loaded.
[13:01:52]  Loading plugin: pawnraknet.dll
[13:01:52] [Pawn.RakNet] plugin v1.5.1 loading...
[13:01:52] [Pawn.RakNet]

    | Pawn.RakNet 1.5.1 | 2016 - 2021
    |--------------------------------
    | Author and maintainer: katursis


    | Compiled: Sep 26 2021 at 12:04:10
    |--------------------------------------------------------------
    | Repository: https://github.com/katursis/Pawn.RakNet
    |--------------------------------------------------------------
    | Wiki: https://github.com/katursis/Pawn.RakNet/wiki

[13:01:52]   Loaded.
[13:01:52]  Loading plugin: nativechecker.dll
[13:01:52]   Loaded.
[13:01:52]  Loaded 4 plugins.

[13:01:52]
[13:01:52] Filterscripts
[13:01:52] ---------------
[13:01:52]   Loaded 0 filterscripts.

[13:01:52] 
[13:01:52] 
[13:01:52] 
[13:01:52]  =======================================
[13:01:52]  |                                     |
[13:01:52]  |        YSI version 3.09.0684        |
[13:01:52]  |        By Alex "Y_Less" Cole        |
[13:01:52]  |                                     |
[13:01:52]  =======================================
[13:01:52] 
[13:01:52] 
[13:01:52] 
[13:01:52] 
[13:01:52] --------------------------------------
[13:01:52]  Anticheat Nex-AC je ucitan!
[13:01:52]  Anticheat inacica: 1.9.57
[13:01:52]  Author: Nexius
[13:01:52] --------------------------------------

[13:01:52]
----------------------------------
[13:01:52]  Testni gamemode
[13:01:52] ----------------------------------

[13:01:52] Number of vehicle models: 0
[13:02:14] [connection] incoming connection: 127.0.0.1:58287 id: 0
[13:02:14] [join] Marko_Pero has joined the server (0:127.0.0.1)
[13:02:14] [part] Marko_Pero has left the server (0:2)

[13:02:40] 
[13:02:40] --------------------------------------
[13:02:40]  Statistika anticheata Nex-AC
[13:02:40]  Detektirano i sprijeceno:
[13:02:40]   0 pokusaja varanja
[13:02:40]   0 pokusaja hakiranja
[13:02:40]   0 pokusaja rusenja
[13:02:40]   0 pokusaja napada
[13:02:40]   0 napada
[13:02:40]  Ukupno detektirano i kaznjeno 0 varalica
[13:02:40] --------------------------------------

// I IZBACUJE DA JE DETEKTIRANO 0 VARALICA A MENE IZBACIO ZBOG "VARANJA"
[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem):https://prnt.sc/213gjj5

Moj prijedlog ovde ti je jedino da iskljucujes jednu po jednu detekciju i da tako provjeris zbog cega te izbacuje. Moguce da je do tebe nesto, kod mene je bilo raznih problema sa nex-acom. Znao je i za GivePlayerWeapon kickati cak i nakon sto stavim ac_GivePlayerWeapon ispred.

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi

Pronadji u include nex-ac
static ac_KickWithCode(playerid, ip_address[], type, code, code2 = 0)
{
i tu ispod ovog
   if(type == 0 && (!IsPlayerConnected(playerid) || ACInfo[playerid][acKicked] > 0)) return 0;
   #if AC_USE_STATISTICS
      ac_sInfo[5]++;

dodaj sljedece

new acc_string[72];
format(acc_string,sizeof(acc_string),"Kickan si zbog %d",code);
SendClientMessage(playerid,-1,acc_string);
kompiluj mod i udji ingame, koji ti kod izbaci, pronadjes ga u onoj listi detekcija
[pawn]static bool:ac_ACAllow[] =
{
   true,   //0 Anti-AirBreak (onfoot)
   true,   //1 Anti-AirBreak (in vehicle)
   false,   //2 Anti-teleport hack (onfoot)
   false,   //3 Anti-teleport hack (in vehicle)
   false,   //4 Anti-teleport hack (into/between vehicles)
   false,   //5 Anti-teleport hack (vehicle to player)
   false,   //6 Anti-teleport hack (pickups)
   true,   //7 Anti-FlyHack (onfoot)
   true,   //8 Anti-FlyHack (in vehicle)
   true,   //9 Anti-SpeedHack (onfoot)
   true,   //10 Anti-SpeedHack (in vehicle)
   true,   //11 Anti-Health hack (in vehicle)
   true,   //12 Anti-Health hack (onfoot)
   true,   //13 Anti-Armour hack
   false,   //14 Anti-Money hack
   false,   //15 Anti-Weapon hack
   false,   //16 Anti-Ammo hack (add)
   false,   //17 Anti-Ammo hack (infinite)
   true,   //18 Anti-Special actions hack
   true,   //19 Anti-GodMode from bullets (onfoot)
   true,   //20 Anti-GodMode from bullets (in vehicle)
   true,   //21 Anti-Invisible hack
   true,   //22 Anti-lagcomp-spoof
   true,   //23 Anti-Tuning hack
   false,   //24 Anti-Parkour mod
   true,   //25 Anti-Quick turn
   true,   //26 Anti-Rapid fire
   true,   //27 Anti-FakeSpawn
   true,   //28 Anti-FakeKill
   true,   //29 Anti-Pro Aim
   false,   //30 Anti-CJ run
   true,   //31 Anti-CarShot
   true,   //32 Anti-CarJack
   false,   //33 Anti-UnFreeze
   true,   //34 Anti-AFK Ghost
   true,   //35 Anti-Full Aiming

   false,   //36 Anti-Fake NPC
   false,   //37 Anti-Reconnect
   false,   //38 Anti-High ping
   false,   //39 Anti-Dialog hack
   false,   //40 Protection from sandbox
   false,   //41 Protection from invalid version
   false,   //42 Anti-Rcon hack

   true,   //43 Anti-Tuning crasher
   true,   //44 Anti-Invalid seat crasher
   true,   //45 Anti-Dialog crasher
   true,   //46 Anti-Attached object crasher
   true,   //47 Anti-Weapon Crasher

   false,   //48 Protection from connection flood in one slot
   false,   //49 Anti-callback functions flood
   false,   //50 Anti-flood by seat changing

   false,   //51 Anti-DoS

   false   //52 Anti-NOPs
},
[/pawn]

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi

moraš da prilagodiš anticheat svom modu nije ni nex-ac perfektan tako da neke stvari stavi na warning ili isključi

credits: Xunder, Ino420, Muma

Citat: Pottus;3903994SetPlayerPos("dreni1998", 666.666, 666.666, 666.666, 666.666);    ///// GO IN HELL MOTHERFUCKER

https://i.imgur.com/XHLx9oj.gif
https://i.ibb.co/ZJqQKWT/NXRX.gif

Citat: ᗪ卂乂 poslato Decembar 01, 2021, 23:43:45 POSLE PODNE
moraš da prilagodiš anticheat svom modu nije ni nex-ac perfektan tako da neke stvari stavi na warning ili isključi
lakse napravit anticheat nego ovaj prilagoditi, ne znam dal je ovo fakat ovako ili sta ali nemoguce je iskljuciti onaj automacki kick. (Server closed connection). Napravio ga je nekako bas tesko prilagodljivog. Nigdje ne koristi Kick(playerid); nego kicka preko rcon komandi i blockip adrese

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi


forward OnCheatDetected(playerid, ip_address[], type, code);
public OnCheatDetected(playerid, ip_address[], type, code)
{
if(type) BlockIpAddress(ip_address, 0);
else
{
switch(code)
{
case 5, 6, 11, 14, 22, 32: return 1;
case 40: SendClientMessage(playerid, -1, MAX_CONNECTS_MSG);
case 41: SendClientMessage(playerid, -1, UNKNOWN_CLIENT_MSG);
default:
{
new strtmp[sizeof KICK_MSG];
format(strtmp, sizeof strtmp, KICK_MSG, code);
SendClientMessage(playerid, -1, strtmp);
}
}
AntiCheatKickWithDesync(playerid, code); // Kickuje, ako neces da kickuje comment.
}
return 1;
}


https://github.com/NexiusTailer/Nex-AC/blob/master/CHANGELOG.md

Ma Boze sacuvaj, probao sam gasiti sve ali i dalje izbacuje...

Da li netko od Vas ima neki za posuditi ;D

Hvala svima koji su probali pomoci :)

vjeruj da sam se ja prebacio na outdated junkbuster samo zbog tog iznenadnog kicka. Upalio one osnovne detekcije i sada sam miran, testirao 10ak multihackova i vecinu detektuje iako je star koliko i samp na balkanu.

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi

Citat: Toyo2411 poslato Novembar 30, 2021, 13:09:49 POSLE PODNE
Ako netko misli "nemoj to raditi ako ne znas i takve komenatre, slobodno nek zaobidje temu, hvala :)
A sta da ti napsie covek kada ne umes ni da procitas osnovne stvari?
Ajde daj copy/paste deo koda (sve kako jeste nemoj da mi muckas tamo ovo treba ovo ne treba) gde su svi includovi (nemoras module ako imas, samo globalne includove)