SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 16/05/2019, 08:49 AM   #1101
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 792
Reputation: 320
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Djumza View Post
As you use something from YSI, include <YSI\y_hooks> before the anticheat.

Quote:
Originally Posted by OptimusBloodHunter View Post
Hi. I was testing some detections and found 2 annoying problems.

First: Player id 2 was using some car troller on Player id 0 and AntiCheat kicked them both.

Second: Player id 2 was using some onfoot troller on Player id 1 and AC warned both players.
You should kick cheaters via AntiCheatKickWithDesync function so that he won't harm other players during kick delay.
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is online now   Reply With Quote
Old 21/05/2019, 02:48 AM   #1102
Lucky™
Huge Clucker
 
Lucky™'s Avatar
 
Join Date: Jul 2012
Location: Tomorrowland
Posts: 253
Reputation: 63
Default Re: Nex-AC - Anticheat system

My players can't log in because of they kicked as soon as they spawned for error #052
Most of them doesnt have any cheating programs. Can I just turn off that check when logging on?
Lucky™ is offline   Reply With Quote
Old 21/05/2019, 02:59 PM   #1103
OptimusBloodHunter
Little Clucker
 
Join Date: Apr 2015
Posts: 17
Reputation: 3
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
You should kick cheaters via AntiCheatKickWithDesync function so that he won't harm other players during kick delay.
Thanks, It helped. But now I found third problem: when some vehicles (which are on mapped ground or spawned in the air for a second) streams for player or if player is AFK and in meantime vehicles came near him and he got back, anti cheat kicks him for code 5.

Log of false detections:

Code:
[15:37:26] [Nex-AC debug] Dist: 363.085998, old pos diff: 1.919132, old pos z: 23.562236, veh: 571, playerid: 36
[15:37:26] [Nex-AC] Suspicious Player ID 36. Reason: 005 (1)
[15:37:26] [part] Player has left the server (36:2)

[15:37:27] [Nex-AC debug] Dist: 30.403186, old pos diff: 7.419406, old pos z: 13.716834, veh: 633, playerid: 1
[15:37:27] [Nex-AC] Suspicious Player ID 1. Reason: 005 (1)
[15:37:27] [part] Player has left the server (1:2)

[15:38:47] [Nex-AC debug] Dist: 30.673852, old pos diff: 0.537621, old pos z: 5.282831, veh: 612, playerid: 153
[15:38:47] [Nex-AC] Suspicious Player ID 153. Reason: 005 (1)
[15:38:47] [part] Player has left the server (153:2)

[15:58:25] [Nex-AC debug] Dist: 35.344036, old pos diff: 0.000998, old pos z: 13.210970, veh: 637, playerid: 356
[15:58:25] [Nex-AC] Suspicious Player ID 356. Reason: 005 (1)
[15:58:25] [part] Player has left the server (356:2)

[16:07:57] [Nex-AC debug] Dist: 20.335954, old pos diff: 0.740905, old pos z: 13.338993, veh: 635, playerid: 355
[16:07:57] [Nex-AC] Suspicious Player ID 355. Reason: 005 (1)
[16:07:58] [part] Player has left the server (355:2)

[16:11:08] [Nex-AC debug] Dist: 21.137018, old pos diff: 4.657987, old pos z: 13.094054, veh: 480, playerid: 370
[16:11:08] [Nex-AC] Suspicious Player ID 370. Reason: 005 (1)
[16:11:08] [part] Player has left the server (370:2)
OptimusBloodHunter is offline   Reply With Quote
Old 22/05/2019, 09:00 PM   #1104
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 792
Reputation: 320
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Lucky™ View Post
My players can't log in because of they kicked as soon as they spawned for error #052
Most of them doesnt have any cheating programs. Can I just turn off that check when logging on?
Yes, but it's not a solution. To understand and solve the problem you can give some code example with which the problem begin to occur (if you have your system big enough and you don’t know what exactly is causing the problem, try to test some single parts of code from your spawn system on a blank gamemode to see which one causes it).

Quote:
Originally Posted by OptimusBloodHunter View Post
Thanks, It helped. But now I found third problem: when some vehicles (which are on mapped ground or spawned in the air for a second) streams for player or if player is AFK and in meantime vehicles came near him and he got back, anti cheat kicks him for code 5.

Log of false detections:

Code:
[15:37:26] [Nex-AC debug] Dist: 363.085998, old pos diff: 1.919132, old pos z: 23.562236, veh: 571, playerid: 36
[15:37:26] [Nex-AC] Suspicious Player ID 36. Reason: 005 (1)
[15:37:26] [part] Player has left the server (36:2)

[15:37:27] [Nex-AC debug] Dist: 30.403186, old pos diff: 7.419406, old pos z: 13.716834, veh: 633, playerid: 1
[15:37:27] [Nex-AC] Suspicious Player ID 1. Reason: 005 (1)
[15:37:27] [part] Player has left the server (1:2)

[15:38:47] [Nex-AC debug] Dist: 30.673852, old pos diff: 0.537621, old pos z: 5.282831, veh: 612, playerid: 153
[15:38:47] [Nex-AC] Suspicious Player ID 153. Reason: 005 (1)
[15:38:47] [part] Player has left the server (153:2)

[15:58:25] [Nex-AC debug] Dist: 35.344036, old pos diff: 0.000998, old pos z: 13.210970, veh: 637, playerid: 356
[15:58:25] [Nex-AC] Suspicious Player ID 356. Reason: 005 (1)
[15:58:25] [part] Player has left the server (356:2)

[16:07:57] [Nex-AC debug] Dist: 20.335954, old pos diff: 0.740905, old pos z: 13.338993, veh: 635, playerid: 355
[16:07:57] [Nex-AC] Suspicious Player ID 355. Reason: 005 (1)
[16:07:58] [part] Player has left the server (355:2)

[16:11:08] [Nex-AC debug] Dist: 21.137018, old pos diff: 4.657987, old pos z: 13.094054, veh: 480, playerid: 370
[16:11:08] [Nex-AC] Suspicious Player ID 370. Reason: 005 (1)
[16:11:08] [part] Player has left the server (370:2)
You shouldn't kick for code 5, check the default punishments. Anticheat will independently return this unoccupied vehicle back to its previous position.
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is online now   Reply With Quote
Old 23/05/2019, 02:08 AM   #1105
4KDracaryS
Little Clucker
 
4KDracaryS's Avatar
 
Join Date: May 2019
Location: Botucatu/Săo Paulo
Posts: 15
Reputation: 0
Default Re: Nex-AC - Anticheat system

Hi, how are you?
I have a DayZ GM and am having difficulty with an error that it presents in Ant-Cheat
Upon entering the server it automatically kicks me from the server by NOP.
I do not know where I can change so this does not happen, maybe it's low health or something
Can someone help me? I'll post the log here so you can see what happens.

[16:45:39] [join] [4K]DracaryS has joined the server (-)
[16:45:41] [Nex-AC debug] Newstate: 1, oldstate: 0
[16:45:41] [Nex-AC] Suspicious player, ID 0. Reason code: 048 (2)
[16:45:45] [Nex-AC debug] ID 0 used NOP SetPlayerHealth
[16:45:45] [Nex-AC debug] AC health: 0, health: 100
[16:45:45] [Nex-AC] Suspicious player, ID 0. Reason code: 052 (3)
[16:45:45] [Nex-AC debug] ID 0 used NOP TogglePlayerSpectating
[16:45:45] [Nex-AC] Suspicious player, ID 0. Reason code: 052 (6)
[16:45:46] [part] [4K]DracaryS has left the server (0:2)

print : https://i.imgur.com/bNWqIep.png
4KDracaryS is offline   Reply With Quote
Old 23/05/2019, 04:29 AM   #1106
n0minal
High-roller
 
n0minal's Avatar
 
Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,032
Reputation: 758
Default Re: Nex-AC - Anticheat system

Unfortunately this include has a lot of false positives when integrating to existing gamemodes :/
n0minal is offline   Reply With Quote
Old 23/05/2019, 08:12 PM   #1107
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 792
Reputation: 320
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by 4KDracaryS View Post
Hi, how are you?
I have a DayZ GM and am having difficulty with an error that it presents in Ant-Cheat
Upon entering the server it automatically kicks me from the server by NOP.
I do not know where I can change so this does not happen, maybe it's low health or something
Can someone help me? I'll post the log here so you can see what happens.

[16:45:39] [join] [4K]DracaryS has joined the server (-)
[16:45:41] [Nex-AC debug] Newstate: 1, oldstate: 0
[16:45:41] [Nex-AC] Suspicious player, ID 0. Reason code: 048 (2)
[16:45:45] [Nex-AC debug] ID 0 used NOP SetPlayerHealth
[16:45:45] [Nex-AC debug] AC health: 0, health: 100
[16:45:45] [Nex-AC] Suspicious player, ID 0. Reason code: 052 (3)
[16:45:45] [Nex-AC debug] ID 0 used NOP TogglePlayerSpectating
[16:45:45] [Nex-AC] Suspicious player, ID 0. Reason code: 052 (6)
[16:45:46] [part] [4K]DracaryS has left the server (0:2)

print : https://i.imgur.com/bNWqIep.png
Do you have any idea what specific part of the code might cause this problem in your script? Try to make a minimal necessary code that reproduces this problem in a blank gm (so that I can reproduce it too).

Quote:
Originally Posted by n0minal View Post
Unfortunately this include has a lot of false positives when integrating to existing gamemodes :/
What exactly problems are you getting now?
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is online now   Reply With Quote
Old 28/05/2019, 02:15 PM   #1108
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 827
Reputation: 62
Default Re: Nex-AC - Anticheat system

Quote:
[28/05/2019 13:28:29] [join] Nazmi has joined the server (7xxxxxxxx)
[28/05/2019 13:28:54] OnPlayerSpawn - Nazmi (7) | X: -2038.329956, Y: -66.764396, Z: 35.171798, Int: 0, World: 0, Business: -1, Entrance: -1, House: -1
[28/05/2019 13:28:54] [Nex-AC debug] Dist: 143.594985, dist set: 25000.000000, speed: 0, old pos x, y, z: -2038.329956, 35.171798, -66.264396
[28/05/2019 13:28:54] [Security] Suspicious player, ID 7. Reason code: 002 (2)
[28/05/2019 13:28:55] [Nex-AC debug] Dist: 101.936195, dist set: 0.000000, acSet[8]: -1, speed: 0, old pos x, y: -2038.329956, 35.171798
[28/05/2019 13:28:55] [Security] Suspicious player, ID 7. Reason code: 002 (6)
Any ideas? Upon spawn, my players are detected as teleport hacking. I believe it is because that I called spawn function twice upon character load?


Code:
SetSpawnInfo(extraid, 0, PlayerData[extraid][pSkin], PlayerData[extraid][pPosX], PlayerData[extraid][pPosZ], PlayerData[extraid][pPosY], PlayerData[extraid][pPosA], 0, 0, 0, 0, 0, 0);
SpawnPlayer(extraid);
Then, I also have this function called @ OnPlayerSpawn.

Code:
SetPlayerCompensatedPos(playerid, PlayerData[playerid][pPosX], PlayerData[playerid][pPosY], PlayerData[playerid][pPosZ], PlayerData[playerid][pWorld], PlayerData[playerid][pInterior]);

I use noclass.inc (https://forum.sa-mp.com/showthread.php?t=574072) so that is why I have to do such workaround.

On the other hand, there seems to be a problem with the teleport hack (vehicle to player) detection.
When players approach a custom map with vehicles placed on it, they are detected of it.

Code:
[28/05/2019 01:21:10] [Nex-AC debug] Dist: 24.522445, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:10] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:10] [SECURITY] Deba (8) [packetloss: 3.59, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:10] [Nex-AC debug] Dist: 24.698595, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:10] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:10] [SECURITY] Deba (8) [packetloss: 3.59, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 24.843406, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.59, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 25.047412, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.59, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 25.376777, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 25.829849, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 26.437025, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 26.763710, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 190, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:11] [Nex-AC debug] Dist: 27.067188, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:11] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:11] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:12] [Nex-AC debug] Dist: 27.344278, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:12] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:12] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:12] [Nex-AC debug] Dist: 27.735204, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:12] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:12] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:12] [Nex-AC debug] Dist: 27.887786, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:12] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:12] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:12] [Nex-AC debug] Dist: 28.014436, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:12] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:12] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:12] [Nex-AC debug] Dist: 28.230945, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:12] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:12] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:12] [Nex-AC debug] Dist: 28.427934, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:12] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:12] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 188, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:13] [Nex-AC debug] Dist: 28.581554, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:13] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:13] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:13] [Nex-AC debug] Dist: 28.723419, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:13] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:13] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:13] [Nex-AC debug] Dist: 28.852481, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:13] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:13] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:13] [Nex-AC debug] Dist: 28.960765, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:13] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:13] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:13] [Nex-AC debug] Dist: 29.003570, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:13] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:13] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:13] [Nex-AC debug] Dist: 29.012107, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:13] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:13] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:14] [Nex-AC debug] Dist: 29.025224, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:14] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:14] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:14] [Nex-AC debug] Dist: 29.025888, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:14] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:14] [SECURITY] Deba (8) [packetloss: 3.61, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:14] [Nex-AC debug] Dist: 29.023542, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:14] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:14] [SECURITY] Deba (8) [packetloss: 3.61, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:14] [Nex-AC debug] Dist: 29.022138, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:14] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:14] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
[28/05/2019 01:21:14] [Nex-AC debug] Dist: 29.021871, old pos diff: 0.000000, old pos z: 25.993673, veh: 394, playerid: 8
[28/05/2019 01:21:14] [Security] Suspicious player, ID 8. Reason code: 005 (1)
[28/05/2019 01:21:14] [SECURITY] Deba (8) [packetloss: 3.60, ping: 122, svTick: 189, Palomino Creek] (code 5) possibly: Teleport Hack (vehicle to player)
And lastly, I got another question, does Nex-AC have a desync checker to prevent false punishments? I might consider banning players on certain cheats, what is your advise on this?
Uberanwar is offline   Reply With Quote
Old 28/05/2019, 07:39 PM   #1109
OptimusBloodHunter
Little Clucker
 
Join Date: Apr 2015
Posts: 17
Reputation: 3
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
You shouldn't kick for code 5, check the default punishments. Anticheat will independently return this unoccupied vehicle back to its previous position.
Thanks, Its fine now.
OptimusBloodHunter is offline   Reply With Quote
Old 31/05/2019, 05:09 PM   #1110
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 792
Reputation: 320
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Uberanwar View Post
Any ideas? Upon spawn, my players are detected as teleport hacking. I believe it is because that I called spawn function twice upon character load?


Code:
SetSpawnInfo(extraid, 0, PlayerData[extraid][pSkin], PlayerData[extraid][pPosX], PlayerData[extraid][pPosZ], PlayerData[extraid][pPosY], PlayerData[extraid][pPosA], 0, 0, 0, 0, 0, 0);
SpawnPlayer(extraid);
Then, I also have this function called @ OnPlayerSpawn.

Code:
SetPlayerCompensatedPos(playerid, PlayerData[playerid][pPosX], PlayerData[playerid][pPosY], PlayerData[playerid][pPosZ], PlayerData[playerid][pWorld], PlayerData[playerid][pInterior]);

I use noclass.inc (https://forum.sa-mp.com/showthread.php?t=574072) so that is why I have to do such workaround.
Try to reproduce this problem in a blank gamemode with noclass.inc and your spawn code. If the problem is reproduced, turn it off and check again to see whether the problem disappears without its presence. If it is, then you'll have to find some other workaround than to use this include or such code with it.

Quote:
Originally Posted by Uberanwar View Post
On the other hand, there seems to be a problem with the teleport hack (vehicle to player) detection.
When players approach a custom map with vehicles placed on it, they are detected of it.
The logs show that the player has packet loss of more than 3% and perhaps this is the reason. Do players with lower packet loss have the similar problem?

Quote:
Originally Posted by Uberanwar View Post
And lastly, I got another question, does Nex-AC have a desync checker to prevent false punishments? I might consider banning players on certain cheats, what is your advise on this?
Yes, there is a certain threshold in the anticheat settings at which not very high deviations in different behavior of players are ignored and accepted as lags or something alike, but if you want to ban automatically for any cheats, you definitely shouldn’t do it. No matter how reliable the automatic detection algorithm is, all blocking players must be checked by administrators as real people (in case of ban). I doubt that in case of some false detection the player will be able to provide a video with his actions before the ban in order to prove his innocence (unlike the situation with a kick, which he can repeat doing the same things), so the consideration of such complaints will be a difficult task.
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is online now   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working AntiCheat system mrxqware Scripting Help 4 02/05/2014 11:04 AM
[Include] System AntiCheat V1.1 Glad2BeHere Includes 13 04/03/2013 07:33 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 06:38 PM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 09:19 AM


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.