demandnothing Posted August 18, 2009 Share Posted August 18, 2009 (edited) this should be an easy one for you experienced people here.. all i want to do is write a script that moves your mouse to a certain color and clicks on that color.. but i dont want it to just click i want it to click and hold until the color is no longer visible.. yes, i want to make an aimbot for an online FPS any help for me? any links i should look at? anything? Edited August 18, 2009 by demandnothing Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 #Region --- CodeWizard generated code Start --- ;MsgBox features: Title=Yes, Text=Yes, Buttons=OK, Icon=Info MsgBox(64,"AimBot","Thx For Leeching") #EndRegion --- CodeWizard generated code End --- this is what i got so far lol.. and sorry for the double post, but the Edit button disappeared on me.. dunno how or why but i edited once and it wont let me again Link to comment Share on other sites More sharing options...
WolfWorld Posted August 18, 2009 Share Posted August 18, 2009 Does you game have nProtect or xTrap on it? Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 like hack prevention?? it has HackShield Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 why does the edit button go away?? anyway what i was going to add is that the nProtect issue isnt actually an issue, there is a bypass Link to comment Share on other sites More sharing options...
WolfWorld Posted August 18, 2009 Share Posted August 18, 2009 Then see PixelSearch Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 thanks for that.. now i just need to know how to make my mouse click and hold while the target pixel is in range Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 HotKeySet( "(f3)", "chosecolor") HotKeySet( "(ESC)", "_exit") HotKeySet( "(f4)", "start") HotKeySet( "(f5)", "stop") Global $color Global $ON = False While 1 Sleep(30) If $ON = True Then $coord = PixelSearch(0, 0, 0, 0, 0xFFFFFF, 0) If IsArray($coord) = 1 Then MouseMove($coord[0],$coord[1]) MouseClick("left",$coord[0],$coord[1]) EndIf EndIf WEnd Func chosecolor() $color = _ChooseColor(2, 0x0080C0, 2, "") EndFunc Func _exit() Exit EndFunc Func start() $ON = True EndFunc this is what i got from a tutorial i found.. i figured i could use it and edit it to my specs.. but when i compile into a .exe it gives the error "C:\Program Files\AutoIt3\aim.au3(28,42) : ERROR: _ChooseColor(): undefined function. $color = _ChooseColor(2, 0x0080C0, 2, "") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\aim.au3 - 1 error(s), 0 warning(s)" what did i miss? cuz i follow the tutorial exactly Link to comment Share on other sites More sharing options...
Piyush Posted August 18, 2009 Share Posted August 18, 2009 HotKeySet( "(f3)", "chosecolor") HotKeySet( "(ESC)", "_exit") HotKeySet( "(f4)", "start") HotKeySet( "(f5)", "stop") Global $color Global $ON = False While 1 Sleep(30) If $ON = True Then $coord = PixelSearch(0, 0, 0, 0, 0xFFFFFF, 0) If IsArray($coord) = 1 Then MouseMove($coord[0],$coord[1]) MouseClick("left",$coord[0],$coord[1]) EndIf EndIf WEnd Func chosecolor() $color = _ChooseColor(2, 0x0080C0, 2, "") EndFunc Func _exit() Exit EndFunc Func start() $ON = True EndFunc this is what i got from a tutorial i found.. i figured i could use it and edit it to my specs.. but when i compile into a .exe it gives the error "C:\Program Files\AutoIt3\aim.au3(28,42) : ERROR: _ChooseColor(): undefined function. $color = _ChooseColor(2, 0x0080C0, 2, "") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\aim.au3 - 1 error(s), 0 warning(s)" what did i miss? cuz i follow the tutorial exactly May be you are missing this:#Include <Misc.au3> [font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font] Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 thanks.. i was missing that,, anything else? Link to comment Share on other sites More sharing options...
demandnothing Posted August 18, 2009 Author Share Posted August 18, 2009 ok well that worked.. i compiled it to a .exe and ran it, looked nice, but it didnt work.. what parameters should be in the pixelsearch for full screen? my desktop resolution is 1152x864, but i read that 50, 50, 100, 100 would do full screen but thats not working either Link to comment Share on other sites More sharing options...
Piyush Posted August 19, 2009 Share Posted August 19, 2009 ok well that worked.. i compiled it to a .exe and ran it, looked nice, but it didnt work.. what parameters should be in the pixelsearch for full screen? my desktop resolution is 1152x864, but i read that 50, 50, 100, 100 would do full screen but thats not working either expandcollapse popupHotKeySet( "{f3}", "chosecolor") HotKeySet( "{ESC}", "_exit") HotKeySet( "{f4}", "start") HotKeySet( "{f5}", "stop") #include<Misc.au3> Global $color Global $ON = False While 1 Sleep(500) If $ON = True Then $coord = PixelSearch(0, 0, @DesktopWidth, @DesktopHeight, $color, 0) if @error then MsgBox(0,"Error","Not found") $ON = False EndIf If IsArray($coord) = 1 Then MouseMove($coord[0],$coord[1]) MouseClick("left",$coord[0],$coord[1]) EndIf EndIf WEnd Func chosecolor() $color = _ChooseColor(2, 0x0080C0, 2, "") EndFunc Func _exit() Exit EndFunc Func start() $ON = True EndFunc Func stop() $ON = False EndFunc Try this You made quite mistakes like Special should be used in these {} and stop function was missing and you provided wrong rectangle coordinates... and Let me know if it is not working.. [font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now