07.09.2018, 16:44
Hello world,
So long story short I had coded a very simple and short code, my plan was to use that code to kick triggerfinger.cs users.
If that CLEO script makes you shoot automatically, even if the server receives the packet about that bullet (like if you actually shot it), OnPlayerKeyStateChange crossed with OnPlayerWeaponShot would detect it and send warnings to online admins.
And it did work, or well, it was somewhat close.
When OnPlayerWeaponShot was getting called, a simple boolean would have told me if that bullet was shot after triggering KeyStateChange, or if it didn't and so it got shot automatically.
Precision with Deagle was almost 100%. Only glitchy weapons were the m4/ak-74, and I think SMG too. Those weapons when you crouched and shoot right after crouching were triggering warnings everytime. Also C-Bugging was triggering warnings too.
Now, I do not have it anymore, and I have done some mistakes when using newkeys and oldkeys under KeyStateChange for sure but.. shall I try to code it back? Do you think that is even possible?
Thanks!
So long story short I had coded a very simple and short code, my plan was to use that code to kick triggerfinger.cs users.
If that CLEO script makes you shoot automatically, even if the server receives the packet about that bullet (like if you actually shot it), OnPlayerKeyStateChange crossed with OnPlayerWeaponShot would detect it and send warnings to online admins.
And it did work, or well, it was somewhat close.
When OnPlayerWeaponShot was getting called, a simple boolean would have told me if that bullet was shot after triggering KeyStateChange, or if it didn't and so it got shot automatically.
Precision with Deagle was almost 100%. Only glitchy weapons were the m4/ak-74, and I think SMG too. Those weapons when you crouched and shoot right after crouching were triggering warnings everytime. Also C-Bugging was triggering warnings too.
Now, I do not have it anymore, and I have done some mistakes when using newkeys and oldkeys under KeyStateChange for sure but.. shall I try to code it back? Do you think that is even possible?
Thanks!