[Include] Nex-AC - Anticheat system

Nex-AC does not detect surfly.cs as fly hack
Reply

Quote:
Originally Posted by Xportaler
Посмотреть сообщение
[22:49:05] *** Streamer_UpdateEx: Expecting 6 parameter(s), but found 9

I hope you fix bug and help me i need it quickly
There's nothing to fix as your Streamer Plugin is outdated. It should be 2.9.2 for normal work.

Quote:
Originally Posted by Xportaler
Посмотреть сообщение
On Player Exit Vehicle
Код:
					new Float:pos[3];
					GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
					SetPlayerPosEx(playerid,pos[0],pos[1],pos[2]);
					SetCameraBehindPlayer(playerid);
                	PutPlayerInVehicle(playerid,pCarCrash[playerid][PLR_VEHICLE],0);
when i use this code while falling or anything like this i get kicked with debug code

PHP код:
[22:49:18] [Nex-AC debugEntered vehicle0vehicleid1Enter time24903229
[22:49:18] [Nex-ACSuspicion on the ID 0. Reason code004 (1
I also checked this code and found nothing of the kind: when using SetPlayerPos and PutPlayerInVehicle in OnPlayerExitVehicle, this works without any problems for me. The player teleports to another vehicle, if it was not specified the same one in which he was, otherwise the player just exits the previous car.

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
Nex-AC does not detect surfly.cs as fly hack
If this works at low speeds or sends the server false information about surfing (vehicle or object), then anticheat will not prevent it. Anyway, I don't know what this cleo is and how it works.
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
There's nothing to fix as your Streamer Plugin is outdated. It should be 2.9.2 for normal work.


I also checked this code and found nothing of the kind: when using SetPlayerPos and PutPlayerInVehicle in OnPlayerExitVehicle, this works without any problems for me. The player teleports to another vehicle, if it was not specified the same one in which he was, otherwise the player just exits the previous car.


If this works at low speeds or sends the server false information about surfing (vehicle or object), then anticheat will not prevent it. Anyway, I don't know what this cleo is and how it works.
Try to test it while falling. it always detect. i have been testing for a while and it detect...Its annoying for a player get kicked because he press F while falling
Reply

Код:
C:\Users\User\Desktop\SARP\pawno\include\nex-ac.inc(6309) : error 025: function heading differs from prototype
0.3.8 rc4
Reply

Quote:
Originally Posted by Xportaler
Посмотреть сообщение
Try to test it while falling. it always detect. i have been testing for a while and it detect...Its annoying for a player get kicked because he press F while falling
I tested it a few times and found nothing again, anyway it's just weird that you use SetPlayerPos and PutPlayerInVehicle when the player still leaves the car and it doesn't keep his in it.
Could you record some video with this problem?

Quote:
Originally Posted by Davidmkd123
Посмотреть сообщение
Код:
C:\Users\User\Desktop\SARP\pawno\include\nex-ac.inc(6309) : error 025: function heading differs from prototype
0.3.8 rc4
Use 0.3.DL version, 0.3.8 RC4 was cancelled and it's deprecated now.
Reply

Just a suggestion, perhaps you should consider to add a smooth camera hack detection in the future into Nex-AC.
Reply

Quote:

new Cheaty[53][100] =
{
"Anti-AirBreak (onfoot)",
"Anti-AirBreak (in vehicle)",
"Anti-teleport hack (onfoot)",
"Anti-teleport hack (in vehicle)",
"Anti-teleport hack (into/between vehicles)",
"Anti-teleport hack (vehicle to player)",
"Anti-teleport hack (pickups)",
"Anti-FlyHack (onfoot)",
"Anti-FlyHack (in vehicle)",
"Anti-SpeedHack (onfoot)",
"Anti-SpeedHack (in vehicle)",
"Anti-Health hack (in vehicle)",
"Anti-Health hack (onfoot)",
"Anti-Armour hack",
"Anti-Money hack",
"Anti-Weapon hack",
"Anti-Ammo hack (add)",
"Anti-Ammo hack (infinite)",
"Anti-Special actions hack",
"Anti-GodMode from bullets (onfoot)",
"Anti-GodMode from bullets (in vehicle)",
"Anti-Invisible hack",
"Anti-lagcomp-spoof",
"Anti-Tuning hack",
"Anti-Parkour mod",
"Anti-Quick turn",
"Anti-Rapid fire",
"Anti-FakeSpawn",
"Anti-FakeKill",
"Anti-Pro Aim",
"Anti-CJ run",
"Anti-CarShot",
"Anti-CarJack",
"Anti-UnFreeze",
"Anti-AFK Ghost",
"Anti-Full Aiming",
"Anti-Fake NPC",
"Anti-Reconnect",
"Anti-High ping",
"Anti-Dialog hack",
"Protection from the sandbox",
"Protection against an invalid version",
"Anti-Rcon hack",
"Anti-Tuning crasher",
"Anti-Invalid seat crasher",
"Anti-Dialog crasher",
"Anti-Attached object crasher",
"Anti-Weapon Crasher",
"Flood protection connects to one slot",
"Anti-flood callback functions",
"Anti-flood change seat",
"Anti-Ddos",
"Anti-NOP"
};

OnCheatDetected(playerid, ip_address[], type, code)
{
if(SampDane[playerid][Zalogowany] == false) return 1;

SCMToAdmins(3, ""FIOLET"[AC] "WHITE"Gracz "ZIELONY"%s"WHITE"[%d] podejrzany o "YELLOW"cheatowanie"WHITE" | SCORE: "ZIELONY"%d | %s", PlayerName(playerid), playerid, GetPlayerScore(playerid), Cheaty[code]);
return 1;
}

Not working, crashdetect return warning with Cheaty[code] (array)
Reply

Quote:
Originally Posted by MajesticPTR
Посмотреть сообщение
Not working, crashdetect return warning with Cheaty[code] (array)
What exactly does the crashdetect send?


New Version v1.9.33
Changes:
* Increased the number of warnings for high ping before kick
* Increased the minimum teleport distance for detect from 5 to 8 meters
* Added a check in OnPlayerWeaponShot on the validity of the hitid

Fixes:
* Fixed a bypass in anti-teleport hack into vehicle passenger seat
* Some fixes for anti-flood

Special thanks to user f0Re3t and everyone who participated in the development of the project!

Download: GitHub
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
What exactly does the crashdetect send?


New Version v1.9.33
Changes:
* Increased the number of warnings for high ping before kick
* Increased the minimum teleport distance for detect from 5 to 8 meters
* Added a check in OnPlayerWeaponShot on the validity of the hitid

Fixes:
* Fixed a bypass in anti-teleport hack into vehicle passenger seat
* Some fixes for anti-flood

Special thanks to user f0Re3t and everyone who participated in the development of the project!

Download: GitHub
I change this:
Quote:

GetHackName(typ)
{
new nazwa[100];
if(typ == 0){nazwa = "0 Anti-AirBreak (onfoot)";}
if(typ == 1){nazwa = "1 Anti-AirBreak (in vehicle)";}
if(typ == 2){nazwa = "2 Anti-teleport hack (onfoot)";}
if(typ == 3){nazwa = "3 Anti-teleport hack (in vehicle)";}
if(typ == 4){nazwa = "4 Anti-teleport hack (into/between vehicles)";}
if(typ == 5){nazwa = "5 Anti-teleport hack (vehicle to player)";}
if(typ == 6){nazwa = "6 Anti-teleport hack (pickups)";}
if(typ == 7){nazwa = "7 Anti-FlyHack (onfoot)";}
if(typ == {nazwa = "8 Anti-FlyHack (in vehicle)";}
if(typ == 9){nazwa = "9 Anti-SpeedHack (onfoot)";}
if(typ == 10){nazwa = "10 Anti-SpeedHack (in vehicle)";}
if(typ == 11){nazwa = "11 Anti-Health hack (in vehicle)";}
if(typ == 12){nazwa = "12 Anti-Health hack (onfoot)";}
if(typ == 13){nazwa = "13 Anti-Armour hack";}
if(typ == 14){nazwa = "14 Anti-Money hack";}
if(typ == 15){nazwa = "15 Anti-Weapon hack";}
if(typ == 16){nazwa = "16 Anti-Ammo hack (add)";}
if(typ == 17){nazwa = "17 Anti-Ammo hack (infinite)";}
if(typ == 1{nazwa = "18 Anti-Special actions hack";}
if(typ == 19){nazwa = "19 Anti-GodMode from bullets (onfoot)";}
if(typ == 20){nazwa = "20 Anti-GodMode from bullets (in vehicle)";}
if(typ == 21){nazwa = "21 Anti-Invisible hack";}
if(typ == 22){nazwa = "22 Anti-lagcomp-spoof";}
if(typ == 23){nazwa = "23 Anti-Tuning hack";}
if(typ == 24){nazwa = "24 Anti-Parkour mod";}
if(typ == 25){nazwa = "25 Anti-Quick turn";}
if(typ == 26){nazwa = "26 Anti-Rapid fire";}
if(typ == 27){nazwa = "27 Anti-FakeSpawn";}
if(typ == 2{nazwa = "28 Anti-FakeKill";}
if(typ == 29){nazwa = "29 Anti-Pro Aim";}
if(typ == 30){nazwa = "30 Anti-CJ run";}
if(typ == 31){nazwa = "31 Anti-CarShot";}
if(typ == 32){nazwa = "32 Anti-CarJack";}
if(typ == 33){nazwa = "33 Anti-UnFreeze";}
if(typ == 34){nazwa = "34 Anti-AFK Ghost";}
if(typ == 35){nazwa = "35 Anti-Full Aiming";}
if(typ == 36){nazwa = "36 Anti-Fake NPC";}
if(typ == 37){nazwa = "37 Anti-Reconnect";}
if(typ == 3{nazwa = "38 Anti-High ping";}
if(typ == 39){nazwa = "39 Anti-Dialog hack";}
if(typ == 40){nazwa = "40 Protection from the sandbox";}
if(typ == 41){nazwa = "41 Protection against an invalid version";}
if(typ == 42){nazwa = "42 Anti-Rcon hack";}
if(typ == 43){nazwa = "43 Anti-Tuning crasher";}
if(typ == 44){nazwa = "44 Anti-Invalid seat crasher";}
if(typ == 45){nazwa = "45 Anti-Dialog crasher";}
if(typ == 46){nazwa = "46 Anti-Attached object crasher";}
if(typ == 47){nazwa = "47 Anti-Weapon Crasher";}
if(typ == 4{nazwa = "48 Flood protection connects to one slot";}
if(typ == 49){nazwa = "49 Anti-flood callback functions";}
if(typ == 50){nazwa = "50 Anti-flood change seat";}
if(typ == 51){nazwa = "51 Anti-Ddos";}
if(typ == 52){nazwa = "52 Anti-NOP";}
return nazwa;
}

OnCheatDetected(playerid, ip_address[], type, code)
{
if(SampDane[playerid][Zalogowany] == false) return 1;
new string[300];
format(string, 300, ""FIOLET"[AC] "WHITE"Gracz "ZIELONY"%s"WHITE"[%d] podejrzany o "YELLOW"cheatowanie"WHITE" | SCORE: "ZIELONY"%d "WHITE"| Cheat: "YELLOW"%s", PlayerName(playerid), playerid, GetPlayerScore(playerid), GetHackName(code));
for(new i; i < MAX_PLAYERS; i++)
{
if(SampDane[i][Zalogowany] == true)
{
if(SampDane[i][AdminLvl] >= 3)
{
SendClientMessage(i, -1, string);
}
}
}
return 1;
}

And error:

Quote:

[19:21:09] [debug] #99 0049bf30 in GetHackName (playerid=0, code=16389832) at ptg.pwn:78764
[19:21:09] [debug] #100 0049bf30 in public OnPlayerUpdate (playerid=0) at ptg.pwn:78764

Do you need with -d3?
Reply

Quote:
Originally Posted by MajesticPTR
Посмотреть сообщение
Do you need with -d3?
Yes, with the line of code which causes the problem. And why do you use GetHackName in OnPlayerUpdate?
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
Yes, with the line of code which causes the problem. And why do you use GetHackName in OnPlayerUpdate?
Not in OnPlayerUpdate, i have this in above GetHackName, global code. Wait 5 min please.
Reply

Repair, thanks for help.

Regards!
Reply

This row is correct ??
#if !defined OnTrailerUpdate
#error Please download SA-MP 0.3.7 R2 server package!
#endif
Reply

Quote:
Originally Posted by Irenijus
Посмотреть сообщение
This row is correct ??
#if !defined OnTrailerUpdate
#error Please download SA-MP 0.3.7 R2 server package!
#endif
Yes, why not? It checks if the user tries to include the anticheat to an older server version, for which it's not intended.
Reply

Hello! Server detect me as a teleport hacker on foot while spawning... Its rediciolous
Reply

Quote:
Originally Posted by Xportaler
Посмотреть сообщение
Hello! Server detect me as a teleport hacker on foot while spawning... Its rediciolous
Very interesting, but I need logs related to this kick.
Reply

there is bug with code 005. When i drive on nrg and i press enter to exit, there appears code 005

Code:
Distance: 31.307550, old pos diff: 3.732083, pos z: 5.036978, vehicleid: 709, playerid: 2
Reply

Quote:
Originally Posted by wampiros6
View Post
there is bug with code 005. When i drive on nrg and i press enter to exit, there appears code 005

Code:
Distance: 31.307550, old pos diff: 3.732083, pos z: 5.036978, vehicleid: 709, playerid: 2
Just don't kick or punish the player for code 5. Anticheat returns the "teleported" vehicle to its "real" position anyway.

Quote:
Originally Posted by Uberanwar
View Post
It seems the anti-cheat does not detect players using FlyHack (onfoot) unless he presses W (accelerate)
What kind of flyhack do you use? (animation, etc). Some short video also would be nice.
Reply

Quote:
Originally Posted by OstGot
View Post
Just don't kick or punish the player for code 5. Anticheat returns the "teleported" vehicle to its "real" position anyway.
Can you add support to DestroyDynamicPickup because when i pickup money bag then system detected 006 (1). When i use DestroyPickup there isn't fake detect
Reply

Quote:
Originally Posted by wampiros6
View Post
Can you add support to DestroyDynamicPickup because when i pickup money bag then system detected 006 (1). When i use DestroyPickup there isn't fake detect
Provide the specific code that causes such problem.
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)