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

[Feature] Togglable CheatCheck #42

Closed
LNFFire opened this issue Sep 21, 2022 · 7 comments · Fixed by #50
Closed

[Feature] Togglable CheatCheck #42

LNFFire opened this issue Sep 21, 2022 · 7 comments · Fixed by #50
Assignees
Labels
enhancement New feature or request

Comments

@LNFFire
Copy link

LNFFire commented Sep 21, 2022

Add a cvar to enable and disable the cheatcheck part of the plugin.

@LNFFire LNFFire added the enhancement New feature or request label Sep 21, 2022
@7mochi 7mochi self-assigned this Sep 22, 2022
@7mochi
Copy link
Owner

7mochi commented Sep 24, 2022

In the meantime I have compiled the plugin based on the 1.2.1-stable tag with the requested changes. The reason why I don't push the changes to the main repo is because I was working on 2.0-stable and I'll implement the same in that version.
Could you test if it works for you?
LLHL + CheatCheck Changes | Works with amxx version 1.9.0.5294 or higher | Source code if you want to compile it yourself

Also, the 2.0-stable version has been finished for quite a while but I haven't released it yet because it has some performance issues for the players (a very small portion) and I haven't figured out why.
If you like, you could try the 2.0 version. New features
LLHL 2.0 Dev builds generated by Github actions
image

@LNFFire
Copy link
Author

LNFFire commented Sep 25, 2022

Oh great, ill test them both.
Thanks a lot!

@7mochi
Copy link
Owner

7mochi commented Sep 26, 2022

Np, let me know if it worked!
I'll leave the issue open until I implement it in 2.0

@LNFFire
Copy link
Author

LNFFire commented Sep 27, 2022

Nope it didnt. But a friend of mine did it somehow.
He even made it for the 2.0. So atm my server is running with the 2.0, will report to you if I see any bugs / performance issues.
Cheers!

@7mochi
Copy link
Owner

7mochi commented Sep 27, 2022

Glad to hear that! Thank you
Edit: I would appreciate it if you or your friend could do a PR if everything worked fine

@andreiseverin
Copy link

@7mochi Hi,

I went through the code and for the OpenGF32 detector there's an issue. I have tested it using the actual cheat. The problem is that every command as wh aimbot etc are caught by the cheat buffer and the client_command part won't see them as registered commands even if they are written by the player in the console.
I solved this by forcing players the following commands and check if the buffer sees them as actual client commands. If not, the player is cheating (the cheat buffer catch those commands)

Cheers!
teylo

    client_cmd(id,"aimbot false;");
    client_cmd(id,"aimbot off");
    client_cmd(id,"aim off");
    client_cmd(id,"wh false");
    client_cmd(id,"wh off");

@7mochi
Copy link
Owner

7mochi commented Sep 19, 2024

@LNFFire a bit late but this will be implemented in 3.0 which will be released soon when #50 is merged

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

Successfully merging a pull request may close this issue.

3 participants