I was actually surprised by the speed of PixelSearch. I was expecting it to be significantly slower than it was over such a large area. I did a few timed tests before I went forth and wrote this and the results warrented spending a little time on it. (40-60 miliseconds for a 1024x768 area!!)
However, you can tell that when the object is moving at a decent rate, pixel searching the entire screen would not be possible. In the Camper Strike example, when you have the setting "On + Autoshoot" you can see how it sometimes trails behind the faster moving targets. However, if you set it to "Snap-To Autoshoot" because it has a small search area... the targets are easily brought down.
This script is an aimbot for 2 flash scripts (Shoot the fly and Camper Strike). The are opened inside the AutoIt Gui.
There are the following settings for the Aimbot:
-Off
-AutoFind (Scans the entire game area each cycle for the particular pixel. Slow/ineffecient and will constantly switch to whatever "target" is closest to top of screen)
-AutoFind + AutoShoot (Once the target has been aquired it will automatically shoot. If you run in Camper Strike demo you can see how it trails behind because of its slowness)
-Snap-to (Scans an area 50sq pixels surrounding your mouse and if you get near a target it will snap to the target. It will then only scan an area of 10sq pixels while locked onto the target. Much faster)
-Snap-to + Autoshoot (This is probably my favorite mode, works like a charm)
-AutoFind/Lockon (Initially scans for a target, once one is found it will stick with that target and it's pixelsearch is the same as snap-to, so it is pretty fast)
-AutoFind/Lockon + AutoShoot
Initial Screen:

Shoot the fly:

Camper Strike:

-Simucal
EDIT: Added a "End" hot key to set Aimbot to Off, also refined secondary "lock on" search area to 10sq pixels instead of 50.
EDIT: Added headshot/bodyshot options for "Camper Strike"
EDIT: Added AutoFind/Lock-On. This is also a viable option for an autoaimbot/autoshooter.
EDIT: Added "Snap-To" and "Snap-To + Autoshoot" to the toggle also, and I think the snap-to would be the best option for a real aimbot
EDIT: Added the "Camper Strike" game.
EDIT: Added autoshoot ability. Man, I rock at this shoot the fly game now!
(Requires BETA and a recent version of the Shockwave plugin)
Attached Files
Edited by Simucal, 17 April 2006 - 04:48 PM.






