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: 759
Reputation: 316
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 offline   Reply With Quote
Old 21/05/2019, 02:48 AM   #1102
Lucky™
Huge Clucker
 
Lucky™'s Avatar
 
Join Date: Jul 2012
Location: Tomorrowland
Posts: 248
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: 16
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: 759
Reputation: 316
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 offline   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 01:24 AM.


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