Anti-Aimbot by ipsLeon -
n0minal - 21.04.2015
About
Well, after some time developing my own AC, i decided to release the source of my anti-aimbot (anti-pro aim), which i already made videos and stuff... I don't ask for any reward for this, please only keep the credits if you post it into some blog/forum. You're able to modify/remake it and release wherever you want, don't need to ask for permission.
Detection
The way of detection is a bit simple, the filterscript checks if some player is aiming at other player (no, I'm not using TargetPlayer, i basically did this thanks to Mr.niCe, the genious of math) and if the player isn't on radious of 5.0m of the bullet hit position, if it happens, the script
cancel the bullets independent of lag or aimbot (you can change this if you want to deal with lagged players). If shooter/target are lagged, the script will not kick them, it will just warn the admins everytime that the player shoot with invalid info. Otherwise, if they both aren't lagged, after 10 warnings of aimbot the shooter is kicked.
Video
This video is a bit old, i did some changes after recording this, but the base is the same:
[ame]http://www.youtube.com/watch?v=7_bOLjRL6qE[/ame]
Download
Grab it here:
https://github.com/n0minal/Anti-Aimbot
Logs:
Quote:
*- Fixed loop problem which has incorret signal <- Thanks Glossy42O for test and report
*- Removed OnPlayerDisconnect callback which was useless <- Thanks Abagail for reporting
|
Credits
- Kalcor for sa-mp and giving me a life
- niCe and RedShirt for vectors script (it's probably the most important thing)
- ipsLeon (hell yeah it's me!) for developing this filterscript
- SkullFire (Gabriel Marques) for helping with tests
Enjoy it and keep the cheaters out of our servers
Re: Anti-Aimbot by ipsLeon -
Azula - 21.04.2015
Very Usefull
Re: Anti-Aimbot by ipsLeon -
Glossy42O - 21.04.2015
didn't work for me..
Re: Anti-Aimbot by ipsLeon -
n0minal - 21.04.2015
Quote:
Originally Posted by Glossy42O
didn't work for me..
|
What kind of hack are you using? pro-aim? are you testing with npcs? filterscript loaded correctly?
@edit: fixed, test it now.
Re: Anti-Aimbot by ipsLeon -
shadowstorm - 21.04.2015
Good job
Re: Anti-Aimbot by ipsLeon -
ChuckyBabe - 22.04.2015
Is this work even if the lagcomp is off ?
Re: Anti-Aimbot by ipsLeon -
Abagail - 22.04.2015
You don't need to reset player variables on disconnect and connect.
Re: Anti-Aimbot by ipsLeon -
Q_Lite - 22.04.2015
This is nice!
Re: Anti-Aimbot by ipsLeon -
CyNiC - 22.04.2015
Nice, looks work fine.
Re: Anti-Aimbot by ipsLeon -
n0minal - 22.04.2015
Quote:
Originally Posted by Abagail
You don't need to reset player variables on disconnect and connect.
|
Yes, I know, I'm sorry, I did that cause I was using some filterscript which weren't calling the OnPlayerDisconnect callback and I've put that on OnPlayerConnect too, thanks for advising.
Thanks everybody
Re: Anti-Aimbot by ipsLeon -
ChuckyBabe - 22.04.2015
Quote:
Originally Posted by ipsLeon
Yes, I know, I'm sorry, I did that cause I was using some filterscript which weren't calling the OnPlayerDisconnect callback and I've put that on OnPlayerConnect too, thanks for advising.
Thanks everybody
|
I'am getting BULLET_HIT_TPYE_PLAYER error what should i update.
Re: Anti-Aimbot by ipsLeon -
ToiletDuck - 22.04.2015
Quote:
Originally Posted by ChuckyBabe
I\'am getting error BULLET_HIT_TPYE_PLAYERwhat should i update.
|
It\'s BULLET_HIT_TYPE_PLAYER
Re: Anti-Aimbot by ipsLeon -
n0minal - 22.04.2015
Quote:
Originally Posted by ChuckyBabe
Is this work even if the lagcomp is off ?
|
No, this filterscript is for lagcomp on and 0.3z+ only...
Re: Anti-Aimbot by ipsLeon -
Nightmares - 22.04.2015
thanks! very useful.
Re: Anti-Aimbot by ipsLeon -
wordflexx - 22.04.2015
warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
error 017: undefined symbol "GetPlayerLastShotVectors"
error 017: undefined symbol "NetStats_PacketLossPercent"
error 017: undefined symbol "NetStats_PacketLossPercent"
Help?
Re: Anti-Aimbot by ipsLeon -
n0minal - 22.04.2015
Quote:
Originally Posted by wordflexx
warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
error 017: undefined symbol "GetPlayerLastShotVectors"
error 017: undefined symbol "NetStats_PacketLossPercent"
error 017: undefined symbol "NetStats_PacketLossPercent"
Help?
|
This filterscript only works on 0.3z or higher versions.
Re: Anti-Aimbot by ipsLeon -
lanix - 22.04.2015
Nice i will use this
Re: Anti-Aimbot by ipsLeon -
n0minal - 22.04.2015
Quote:
Originally Posted by lanix
Nice i will use this
|
Thanks... Just advising: this filterscript only works for 0.3z or higher versions an LAAGCOMPMODE ON. I\'ll update the topic and the source soon to add verification for lagcomp server var.
Re: Anti-Aimbot by ipsLeon -
Michael B - 22.04.2015
This filterscript is realy usefull for any type of server. I might us it soon. Thanks!
Re: Anti-Aimbot by ipsLeon -
Vin Diesel - 22.04.2015
amazing one bruh