[FilterScript] Anti-Aimbot by ipsLeon
#1

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
Reply
#2

Very Usefull
Reply
#3

didn't work for me..
Reply
#4

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.
Reply
#5

Good job
Reply
#6

Is this work even if the lagcomp is off ?
Reply
#7

You don't need to reset player variables on disconnect and connect.
Reply
#8

This is nice!
Reply
#9

Nice, looks work fine.
Reply
#10

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
Reply
#11

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.
Reply
#12

Quote:
Originally Posted by ChuckyBabe
View Post
I\'am getting error BULLET_HIT_TPYE_PLAYERwhat should i update.
It\'s BULLET_HIT_TYPE_PLAYER
Reply
#13

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...
Reply
#14

thanks! very useful.
Reply
#15

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?
Reply
#16

Quote:
Originally Posted by wordflexx
View Post
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.
Reply
#17

Nice i will use this
Reply
#18

Quote:
Originally Posted by lanix
View Post
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.
Reply
#19

This filterscript is realy usefull for any type of server. I might us it soon. Thanks!
Reply
#20

amazing one bruh
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)