Paulie Posted June 9, 2006 Share Posted June 9, 2006 (edited) Still doesnt work, the error says: Opt("[Conquer2.0]", 2) Error: Unkown option or bad parameter specified.. I used this code: Opt("[Conquer2.0]", 2) WinWaitActive("Conquer") $color = 0xB50400 $game = 0 HotKeySet("+p", "Play") HotKeySet("{ESC}", "quit") While 1 If $game = 1 Then $coord = PixelSearch( 0, 0, 1023, 651, $color) If IsArray($coord) = 1 Then MouseClick('left', $coord[0], $coord[1] - 15, 1, 0) Sleep(530) EndIf EndIf WEnd Func Play() If $game < 1 Then $game = $game + 1 Else $game = 0 EndIf EndFunc Func quit() Exit EndFunc Change your opt at top to Opt("WinTitleMatchMode",2) You don't actually need to put window title in there Edit: Ahh Smoke beat me Edited June 9, 2006 by Paulie Link to comment Share on other sites More sharing options...
bigassmuffin Posted June 10, 2006 Author Share Posted June 10, 2006 Smoke and paulie, thank you very much for your help, I have one more question however? Instead of doing: $coord = PixelSearch( 0, 0, 1023, 651, $color) Is there a way to maybe search like a small area around the mouse, such as a 50 by 50 pixel area around the mouse to perform this action instead of searching the whole screen, this should help speed it up and not lcikc on unwanted red pixels... Thanks for any help once again! Link to comment Share on other sites More sharing options...
Paulie Posted June 10, 2006 Share Posted June 10, 2006 (edited) Smoke and paulie, thank you very much for your help, I have one more question however? Instead of doing: $coord = PixelSearch( 0, 0, 1023, 651, $color) Is there a way to maybe search like a small area around the mouse, such as a 50 by 50 pixel area around the mouse to perform this action instead of searching the whole screen, this should help speed it up and not lcikc on unwanted red pixels... Thanks for any help once again! Yes there is, Simucal did this in his aimbot proof Search forums for his posts, and there should be a link in his sig, i'd find the link, but i'm lazy Edit: link http://www.autoitscript.com/forum/index.ph...=9&t=24784&st=0 Edited June 10, 2006 by Paulie Link to comment Share on other sites More sharing options...
Paulie Posted June 10, 2006 Share Posted June 10, 2006 Also, Just in case you can't understand Simucals post, (as his proof does way more that just that) a more basic one might include $pos = MouseGetPos() $coord = Pixelsearch($pos[0]+50, $pos[1]+50, $pos[0]-50, $pos[1]-50, %color%) Link to comment Share on other sites More sharing options...
bigassmuffin Posted June 10, 2006 Author Share Posted June 10, 2006 yea paulioe, thats where i got the idea, I still dont understand how to do it though Link to comment Share on other sites More sharing options...
bigassmuffin Posted June 10, 2006 Author Share Posted June 10, 2006 nm, figured it out 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