Checking +jump
I want to "hook" the +jump command to check for bhop scripts...
But its not possible to do: Code:
How should i do it? |
The only way is to use the Engine forward "client_PreThink" like so:
Code:
|
So there is no way to read what commands that are sent from the client to the server?
But thx anyway, I'll try it out. |
Engine & Fakemeta versions:
Code:
Code:
|
This won't work for several reasons. You can use a bhop script without holding down jump. You can use it in a non-tapping, hold release, hold release fashion and not change anything. Or maybe I'd just bind +bhop to my mousewheel and scroll it if I'm super lazy? What about people that don't use a bhop script that happen to hold their jump key? Not to mention someone could just change their script from a +command to a toggle?
There are already anti-bhop scripts in TFC. They detect if you're using alias _special (the main command used in bhop scripts) and the server kicks you. Check some TFC forums for that. |
well this works but it may take some cpu :?
Code:
so the alias _special is overwritten on every frame when they're pressing jump EDIT: donnu why i have the flags being check in detected() :P |
Quote:
|
yeah they removed it :D
but it still works if u put a space before the word "alias" Code:
|
| All times are GMT -4. The time now is 05:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.