Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aimsnap detection false positive with RotateClientSmooth #161

Open
flleeppyy opened this issue Aug 1, 2023 · 4 comments
Open

Aimsnap detection false positive with RotateClientSmooth #161

flleeppyy opened this issue Aug 1, 2023 · 4 comments

Comments

@flleeppyy
Copy link

On some of our servers we have RTD, and discovered a false positive with one of the perks called "Drunk Walk". We'd like to keep that perk in our servers, but we don't want it to keep triggering the anti-cheat.

I develop a custom private version of the plugin that we use. The code linked here is the same in the private version. I'm not sure what I should modify to avoid triggering the aimsnap detection.

Here is the code that is triggering a false positive
https://github.com/Phil25/RTD/blob/c103ad986b1bb5aa537c78d5d45cbc18bae4e0e6/scripting/rtd/perks/drunkwalk.sp#L56C1-L56C1

Video of it happening
https://safe.fleepy.tv/files/vMAOWwUB.mp4

@sapphonie
Copy link
Owner

What version of StAC on what version of SourceMod are you running

@flleeppyy
Copy link
Author

flleeppyy commented Aug 23, 2023

StAC 6.0.4
Sourcemod 1.11 build 6936

@Phil25
Copy link

Phil25 commented Oct 17, 2023

Hey, thanks for opening the issue @flleeppyy!

I was hoping for StAC to allow ignoring offenses for certain clients through natives. This way Drunk Walk could temporary disable aimsnap detection for the player and enable it back once the perk ends. I see there already is some progress to creating an API (#138), and I'm happy to contribute with a PR myself. RTD can utilize it in the next release.

If this is not the desired approach this feature of the perk will be simply be disabled when StAC is detected.

@MAGNAT2645
Copy link
Contributor

I use same code from RotateClientSmooth in my plugins but i don't get false positive detections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants