SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/07/2020, 11:58 PM   #1351
JaviStars
Little Clucker
 
Join Date: Mar 2020
Location: https://www.game-state.com/51.222.56.175:7777/
Posts: 7
Reputation: 0
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Is there are any logs/additional resources about it?
Code:
[17:23:49] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 2075684
[17:23:49] [Nex-AC] Se sospecha del ID 31. Razón número: 004 (1)
[17:23:50] [part] Rodrigo_Dionigi has left the server (31:2)
Code:
[17:26:54] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 2260303
[17:26:54] [Nex-AC] Se sospecha del ID 31. Razón número: 004 (1)
[17:26:54] [part] Rodrigo_Dionigi has left the server (31:2)
Code:
[17:32:25] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 686979
[17:32:25] [Nex-AC] Se sospecha del ID 29. Razón número: 004 (1)
[17:32:25] [part] Rodrigo_Dionigi has left the server (29:2)
Code:
[17:32:50] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 931818
[17:32:50] [Nex-AC] Se sospecha del ID 7. Razón número: 004 (1)
[17:32:50] [part] Edd_Hosa has left the server (7:2)
Code:
[17:36:02] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 906555
[17:36:02] [Nex-AC] Se sospecha del ID 13. Razón número: 004 (1)
[17:36:03] [part] Edd_Hosa has left the server (13:2)
Code:
[15:29:02] [Nex-AC debug] Entered veh: 0, veh: 5, entered seat: -1, seat: 0, veh model: 538, enter time: 14253431
[15:29:02] [Nex-AC] Se sospecha del ID 18. Razón número: 004 (1)
[15:29:03] [part] Alberto_Sair has left the server (18:2)
Code:
[15:30:03] [Nex-AC debug] Entered veh: 0, veh: 5, entered seat: -1, seat: 0, veh model: 538, enter time: 314259
[15:30:03] [Nex-AC] Se sospecha del ID 11. Razón número: 004 (1)
[15:30:04] [part] Alberto_Sair has left the server (11:2)
Code:
[17:02:18] [Nex-AC debug] Entered veh: 278, veh: 278, entered seat: -1, seat: 0, veh model: 522, enter time: 2
[17:02:18] [Nex-AC] Se sospecha del ID 8. Razón número: 004 (1)
[17:02:18] [part] Denzel_Gomez has left the server (8:2)

These are some of them.

Thanks for your help.
JaviStars is offline   Reply With Quote
Old 03/07/2020, 12:56 PM   #1352
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 953
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by JaviStars View Post
Code:
[17:23:49] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 2075684
[17:23:49] [Nex-AC] Se sospecha del ID 31. Razón número: 004 (1)
[17:23:50] [part] Rodrigo_Dionigi has left the server (31:2)
Code:
[17:26:54] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 2260303
[17:26:54] [Nex-AC] Se sospecha del ID 31. Razón número: 004 (1)
[17:26:54] [part] Rodrigo_Dionigi has left the server (31:2)
Code:
[17:32:25] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 686979
[17:32:25] [Nex-AC] Se sospecha del ID 29. Razón número: 004 (1)
[17:32:25] [part] Rodrigo_Dionigi has left the server (29:2)
Code:
[17:32:50] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 931818
[17:32:50] [Nex-AC] Se sospecha del ID 7. Razón número: 004 (1)
[17:32:50] [part] Edd_Hosa has left the server (7:2)
Code:
[17:36:02] [Nex-AC debug] Entered veh: 0, veh: 1, entered seat: -1, seat: 0, veh model: 538, enter time: 906555
[17:36:02] [Nex-AC] Se sospecha del ID 13. Razón número: 004 (1)
[17:36:03] [part] Edd_Hosa has left the server (13:2)
Code:
[15:29:02] [Nex-AC debug] Entered veh: 0, veh: 5, entered seat: -1, seat: 0, veh model: 538, enter time: 14253431
[15:29:02] [Nex-AC] Se sospecha del ID 18. Razón número: 004 (1)
[15:29:03] [part] Alberto_Sair has left the server (18:2)
Code:
[15:30:03] [Nex-AC debug] Entered veh: 0, veh: 5, entered seat: -1, seat: 0, veh model: 538, enter time: 314259
[15:30:03] [Nex-AC] Se sospecha del ID 11. Razón número: 004 (1)
[15:30:04] [part] Alberto_Sair has left the server (11:2)
In these cases the player doesn't send OnPlayerEnterVehicle before he get in the train.

Quote:
Originally Posted by JaviStars View Post
Code:
[17:02:18] [Nex-AC debug] Entered veh: 278, veh: 278, entered seat: -1, seat: 0, veh model: 522, enter time: 2
[17:02:18] [Nex-AC] Se sospecha del ID 8. Razón número: 004 (1)
[17:02:18] [part] Denzel_Gomez has left the server (8:2)
And in this case the player gets in a bike for 2 ms which is too fast
__________________
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 09/07/2020, 10:26 PM   #1353
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 648
Reputation: 47
Default Re: Nex-AC - Anticheat system

I still don't know what to do.
See the image then chat box: https://ibb.co/FHPtLvf
Players play normally and are suddenly warned cheat code 4.

Then what seems strange is that when these warns were sent, the interior of the players changed to random numbers.
I'm sure this is a problem with nex-ac, not my script.
In the image, you can see that there were some players in the stadium suddenly changed they interior and threw it into the water.

I'm sorry, but I think there are some mistakes in line 4156.
pawn Code:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) //4151
SetPlayerInterior(playerid, ACInfo[playerid][acInt]); //4156
Why do players' interiors change randomly?
xRadical3 is online now   Reply With Quote
Old 10/07/2020, 09:39 AM   #1354
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 953
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by xRadical3 View Post
I still don't know what to do.
See the image then chat box: https://ibb.co/FHPtLvf
Players play normally and are suddenly warned cheat code 4.

Then what seems strange is that when these warns were sent, the interior of the players changed to random numbers.
I'm sure this is a problem with nex-ac, not my script.
In the image, you can see that there were some players in the stadium suddenly changed they interior and threw it into the water.

I'm sorry, but I think there are some mistakes in line 4156.
pawn Code:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) //4151
SetPlayerInterior(playerid, ACInfo[playerid][acInt]); //4156
Why do players' interiors change randomly?
Firstly, code 004 is anti-teleport hack into/between vehicles and not onfoot teleport.
If you're getting your players teleported to some random interiors, log all the places in each your script where it happens (where SetPlayerInterior is used without a specific interior number) so that you could see what exactly is called when a player face this.

As for the line 4156 in the ac, this calls only if that player were teleported in any interior by some hacks in OnEnterExitModShop (as we can't desync this callback natively, we are forced to prevent all the consequences of its use for the driver and all passengers of the vehicle), but if it was the case, you would see the detection of code 023 in the logs before.
__________________
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 10/07/2020, 04:16 PM   #1355
JaviStars
Little Clucker
 
Join Date: Mar 2020
Location: https://www.game-state.com/51.222.56.175:7777/
Posts: 7
Reputation: 0
Default Re: Nex-AC - Anticheat system

Hello!

I've noticed that this code allows just 1 player for each ip.
When 2 players try to play from the same net simultaneously, one of them always gets disconnected.

Is there any way to disable or edit the connection limit without editing the include?

Thank You.
JaviStars is offline   Reply With Quote
Old 11/07/2020, 01:47 PM   #1356
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 648
Reputation: 47
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Firstly, code 004 is anti-teleport hack into/between vehicles and not onfoot teleport.
If you're getting your players teleported to some random interiors, log all the places in each your script where it happens (where SetPlayerInterior is used without a specific interior number) so that you could see what exactly is called when a player face this.

As for the line 4156 in the ac, this calls only if that player were teleported in any interior by some hacks in OnEnterExitModShop (as we can't desync this callback natively, we are forced to prevent all the consequences of its use for the driver and all passengers of the vehicle), but if it was the case, you would see the detection of code 023 in the logs before.

I disabled Anti-Nop's (052) and i not have more issuses and player interior not changed randomly.
Thx for your reply.
xRadical3 is online now   Reply With Quote
Old 11/07/2020, 11:54 PM   #1357
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 953
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by JaviStars View Post
Hello!

I've noticed that this code allows just 1 player for each ip.
When 2 players try to play from the same net simultaneously, one of them always gets disconnected.

Is there any way to disable or edit the connection limit without editing the include?

Thank You.
You can configure it by
pawn Code:
#define AC_MAX_CONNECTS_FROM_IP <1 by default>
__________________
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 06/08/2020, 02:19 PM   #1358
JR_Junior
Huge Clucker
 
Join Date: Nov 2011
Location: Brazil
Posts: 226
Reputation: 54
Default Re: Nex-AC - Anticheat system

What exactly does the anti quick turn detect? I've never seen a cheat related to that. I pressed DEL with so...eit to rotate the vehicle quickly but it was not detected, I used a cleo mod that changes direction quickly while moving on foot, but it was also not detected.
__________________
"You can disrespect peoples work, but then don't be surprised when they go away." - Kalcor
JR_Junior is offline   Reply With Quote
Old 07/08/2020, 11:50 PM   #1359
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 953
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by JR_Junior View Post
What exactly does the anti quick turn detect? I've never seen a cheat related to that. I pressed DEL with so...eit to rotate the vehicle quickly but it was not detected, I used a cleo mod that changes direction quickly while moving on foot, but it was also not detected.
It detects quick turns on 180 degrees in vehicle. In this case you must gain some speed before that
__________________
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:35 PM.


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