Closed pandaman09 closed 4 years ago
This is something I've already been aware of for nearly two years, ever since I originally wrote Lilac for TF2 back in 2018.
Due to the fact that you have to go out of your way to bind mwheeldown or mwheelup to shoot and kill people is so absurd and so unlikely to happen on any grand scale, it really doesn't warrant any concern. Hence why I never removed it.
As far as I see it - when you have to go out of your way to do absurd actions to trigger a detection (Which no sensible people would realistically ever do) - then there really isn't a problem.
It might be worthwhile to add an option to disable autoshoot detection because of this. Otherwise it is too easy to get a false positive.
Hmm, fair idea. Having the option to turn it off would be nice for server owners who rather not deal with the possibility of players deliberately making a mess of things. No matter how small the chances may be - it's a good idea.
I'll add a new ConVar tomorrow, "lilac_aimbot_autoshoot", which can be set to "0" to disable autoshoot detections all together.
Thank you! As a suggestion, you may also want to update the compile version to match the source provided.
Alright, so one problem.
I never made it clear that GitHub is where I upload development stuff, and that the stable and latest version is found at AM (https://forums.alliedmods.net/showthread.php?t=321480).
This... Is just a dumb idea, and creates a mess of things. I should have known better... From now on, all my latest changes will be in the development branch : https://github.com/J-Tanzanite/Little-Anti-Cheat/tree/development
You can find my latest changes there, and that includes the new ConVar as you suggested.
Unfortunately, although version 1.5.0 in the master branch is technically the latest stable branch, the actual stable release version is 1.3.0... On AM... This is going to be a bit of a mess. So for now... The master branch is wrong, once the development of version 1.5.0 in the dev branch is done, the version in master will get updated and this mess will be sorted out.
Auto Shoot detection can be easily triggered by changing your shoot button to the scroll wheel. It would appear that the scroll wheel input is only 1 frame long. This was tested in CS:GO on two different servers using the latest version