Sinisterly
AutoIT Aimbot? - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: AutoIT Aimbot? (/Thread-AutoIT-Aimbot)



AutoIT Aimbot? - killerOfCode - 04-07-2013

Since I found autoIt, I've attempted to write an aimbot for an fps written in unity. It shoots when it finds the person on the screen, but it doesn't move the mouse. :'(

Is there any way to fix this?
Code:
Global $Paused HotKeySet("{F9}", "TogglePause") HotKeySet("{F10}","_Exit") $Target = InputBox("Choose Target","1: Counter Terrorist, 2: Terrorist") If $Target = 1 Then $Target = 0x000085 EndIf If $Target = 2 Then $Target = 0x850000 EndIf While 1 $Variable = PixelSearch(240,104,1040,904,$Target,30,5) If IsArray($Variable) = True Then ToolTip($Variable[0] & ", " & $Variable[1], 0, 0) MouseMove($Variable[0], $Variable[1], 1) MouseClick("LEFT") EndIf WEnd Func TogglePause() $Paused = Not $Paused While $Paused Sleep(100) ToolTip("Aimbot Paused",0,0) WEnd ToolTip("") EndFunc Func _Exit() Exit EndFunc

[EDIT: Updated code, still not working]

BTW, you can play the game here:
http://static_cast.home.comcast.net/old/CSP.htm


RE: AutoIT Aimbot? - Ex094 - 04-08-2013

I'm not experienced in autoIT but I found a link to another bot http://www.mpgh.net/forum/175-crossfire-hacks-cheats/116719-how-make-aimbot.html maybe studying the code of that bot might help resolve your problem. I'll post more solutions when I find em


RE: AutoIT Aimbot? - killerOfCode - 04-08-2013

(04-08-2013, 06:51 PM)Ex094 Wrote: I'm not experienced in autoIT but I found a link to another bot http://www.mpgh.net/forum/175-crossfire-hacks-cheats/116719-how-make-aimbot.html maybe studying the code of that bot might help resolve your problem. I'll post more solutions when I find em

Sorry, that didn't solve my problem.

The problem probably has to do with the fact that it keeps the cursor in the middle of the screen.


RE: AutoIT Aimbot? - killerOfCode - 04-11-2013

I've fixed it with a new function that uses relative positioning.