SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 11/09/2019, 09:59 PM   #1181
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 865
Reputation: 325
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by AndrewRussett View Post
the setplayerpos placed it to see if the anticheat stopped kicking the player falsely. And the PutPlayerInVehicle to appear inside the vehicle when entering the garage.
SetVehiclePos doesn't remove players from vehicle, so that's the solution.

Quote:
Originally Posted by DRIFT_HUNTER View Post
@OstGot theoretical question. If im using RakNet plugin to modify player position shown to others, can such tampering cause conflicts with anticheat?
Maybe yes, maybe no. It depends on what position of the player will be returned by GetPlayerPos, GetPlayerDistanceFromPoint and IsPlayerInRangeOfPoint functions.
__________________
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 12/09/2019, 02:52 AM   #1182
AndrewRussett
Big Clucker
 
AndrewRussett's Avatar
 
Join Date: Feb 2017
Location: Los Santos
Posts: 68
Reputation: 0
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
SetVehiclePos doesn't remove players from vehicle, so that's the solution.


Maybe yes, maybe no. It depends on what position of the player will be returned by GetPlayerPos, GetPlayerDistanceFromPoint and IsPlayerInRangeOfPoint functions.

THANKS. +REP
AndrewRussett is offline   Reply With Quote
Old 23/09/2019, 05:29 PM   #1183
Rouge
Little Clucker
 
Join Date: May 2019
Posts: 16
Reputation: 0
Default Re: Nex-AC - Anticheat system

I sent a bug as a private message @OstGot
Rouge is offline   Reply With Quote
Old 23/09/2019, 07:38 PM   #1184
UserName12
Little Clucker
 
Join Date: Oct 2015
Posts: 14
Reputation: 0
Default Re: Nex-AC - Anticheat system

Hi,

I have a problem, Teleport Hack (vehicle to player) is inaccurate. Guy is just driving a car and gets detected. Server lag?


I don't know...

Last edited by UserName12; 08/10/2019 at 09:22 PM.
UserName12 is offline   Reply With Quote
Old 24/09/2019, 08:38 AM   #1185
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 865
Reputation: 325
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by UserName12 View Post
http://prntscr.com/p9yrtv


EDIT: Proof: https://gyazo.com/aa4ecfb7fddc41245b43e9209cb671a4


Or maybe it's a mistake just sending an alert? Do I need to kick them like you made it? But still, that guy doesn't have anything
This ac code teleports an unoccupied vehicle to its previous position by default, so you don't need to punish the player or anything else.
__________________
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 24/09/2019, 09:12 AM   #1186
Rouge
Little Clucker
 
Join Date: May 2019
Posts: 16
Reputation: 0
Default Re: Nex-AC - Anticheat system

You'il never admit your mistake, will you?
Rouge is offline   Reply With Quote
Old 24/09/2019, 09:14 AM   #1187
Rouge
Little Clucker
 
Join Date: May 2019
Posts: 16
Reputation: 0
Default Re: Nex-AC - Anticheat system

https://www.youtube.com/watch?v=Cy8kUUmd0bk

Vehicle to player : Code 5 Bug :==)
Rouge is offline   Reply With Quote
Old 24/09/2019, 12:15 PM   #1188
UserName12
Little Clucker
 
Join Date: Oct 2015
Posts: 14
Reputation: 0
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
This ac code teleports an unoccupied vehicle to its previous position by default, so you don't need to punish the player or anything else.

But that's your code. Callback OnCheatDetected is called and I'm just sending a warning to the admin chat. So if you say that I don't have to punish the player how can I detect the actual Teleport Hack (vehicle to player)?


And how it can teleport an unoccupied vehicle when it is occupied?


And that not everything is negative, great job!
UserName12 is offline   Reply With Quote
Old 24/09/2019, 04:34 PM   #1189
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 865
Reputation: 325
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Rouge View Post
You'il never admit your mistake, will you?
What exactly my own mistake I should admit? Describe its technical point (what this algorithm does wrong and what it should do instead), or don't make such harsh conclusions at all.

Quote:
Originally Posted by Rouge View Post
https://www.youtube.com/watch?v=Cy8kUUmd0bk

Vehicle to player : Code 5 Bug :==)
The solution is provided above. Sure this may seem like a wrong way or workaround, but it has specific (not dependent from the algorithm) reasons that are easier to solve with the right reaction to detection (i.e. setting the previous position to unoccupied vehicles that are suspected of teleporting).


Quote:
Originally Posted by UserName12 View Post
But that's your code. Callback OnCheatDetected is called and I'm just sending a warning to the admin chat. So if you say that I don't have to punish the player how can I detect the actual Teleport Hack (vehicle to player)?
This code does and prevents everything, no matter you punish the player somehow by OnCheatDetected or not. The reason is that sometimes vehicles can change their positions sharply (for example, when another player enters to stream a vehicle) and there are no other better options like additional checks or something.

Quote:
Originally Posted by UserName12 View Post
And how it can teleport an unoccupied vehicle when it is occupied?
You didn't provided even the server log with the anticheat info, so I'm going to ask the same question to you. Give me more detailed information of which exactly car is being detected and which actions is occuring with it in this moment.
__________________
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 24/09/2019, 05:24 PM   #1190
UserName12
Little Clucker
 
Join Date: Oct 2015
Posts: 14
Reputation: 0
Default Re: Nex-AC - Anticheat system

Yeah, you didn't understand me. What I was asking was how would I get a message in the admin chat for a teleport hack (vehicle to player), because you said that is only for a teleporting vehicle back

Quote:
Give me more detailed information of which exactly car is being detected and which actions is occuring with it in this moment.
Quote:
EDIT: Proof:
Like you can see on the video. What he does it is just - start driving and goes AFK and gets detected. (I tried the same way he did it but I couldn't get it)

Last edited by UserName12; 08/10/2019 at 09:20 PM.
UserName12 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 12:04 PM
[Include] System AntiCheat V1.1 Glad2BeHere Includes 13 04/03/2013 08:33 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 07:38 PM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 10:19 AM


All times are GMT. The time now is 02:42 AM.


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