
Originally Posted by
Tarzan
Funny story about that... this specific anti-aimbot scripting and technique was developed as a result (I think... I'm pretty sure) of a conversation between me and Kirby where we were trying to figure out how to make it impossible for botting n00bs to play CE maps. One method was to hide AI behind the walls. Another was to attach a biped to the player.
I think that's what Jay did. With a biped and some scripting... we figured out that you could attach something to a player and the aimbot would lock onto that, and make the player spin like a top.
Am I right with most of that Jay?
100% right.
I'm still working out the bugs, it only targets approximately 85% of the time, and that's with no people in the server.
When it does work, the result (As seen from devcam) is both hilarious, and sad because going through their head about then is a number of swear words I'm not at liberty to say.
But I may as well show you the buggy version:
Code:
(script continuous antiaimbot
(objects_attach (unit (list_get (players) 0)) "head" biped1 "right hand")
(objects_attach (unit (list_get (players) 1)) "head" biped2 "right hand")
(objects_attach (unit (list_get (players) 2)) "head" biped3 "right hand")
(objects_attach (unit (list_get (players) 3)) "head" biped4 "right hand")
(objects_attach (unit (list_get (players) 4)) "head" biped5 "right hand")
(objects_attach (unit (list_get (players) 5)) "head" biped6 "right hand")
(objects_attach (unit (list_get (players) 6)) "head" biped7 "right hand")
(objects_attach (unit (list_get (players) 7)) "head" biped8 "right hand")
(objects_attach (unit (list_get (players) 8)) "head" biped9 "right hand")
(objects_attach (unit (list_get (players) 9)) "head" biped10 "right hand")
(objects_attach (unit (list_get (players) 10)) "head" biped11 "right hand")
(objects_attach (unit (list_get (players) 11)) "head" biped12 "right hand")
(objects_attach (unit (list_get (players) 12)) "head" biped13 "right hand")
(objects_attach (unit (list_get (players) 13)) "head" biped14 "right hand")
(objects_attach (unit (list_get (players) 14)) "head" biped15 "right hand")
(objects_attach (unit (list_get (players) 15)) "head" biped16 "right hand")
)
Bookmarks