FinalVersion Posted May 10, 2009 Share Posted May 10, 2009 (edited) My Current Code: Global $Mine = False Opt("MouseCoordMode", 2) Run("winmine.exe") WinWaitActive("Minesweeper") Sleep(100) Send("xyzzy") Send("{SHIFTDOWN}{ENTER}{SHIFTUP}") Sleep(100) MouseMove(20, 45, 0) Sleep(500) $i = 0 Do Sleep(500) $var = PixelGetColor(0, 0) $mPos = MouseGetPos() MouseMove($mPos[0], $mPos[1] + 16, 0) If $var = 0 Then $Mine = True Sleep(100) EndIf If $Mine = True Then MouseClick("Left", $mPos[0], $mPos[1], 1, 0) EndIf $i = $i + 1 Until $i = 9 This just does the first row atm, help is appreciated. Edited May 10, 2009 by Godly [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
avery Posted May 10, 2009 Share Posted May 10, 2009 Looks like some good examples here if you are just messing around. No spoilers I hope. (already been done) www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
FinalVersion Posted May 10, 2009 Author Share Posted May 10, 2009 Looks like some good examples here if you are just messing around. No spoilers I hope. (already been done)Yeah thats a spoiler Just need this code fixed ^^ [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
Qousio Posted May 10, 2009 Share Posted May 10, 2009 Yeah thats a spoiler Just need this code fixed ^^Hmm. There are more effective ways to make a MineSweeper Bot. Why did you decide to do it in Autoit? Link to comment Share on other sites More sharing options...
FinalVersion Posted May 10, 2009 Author Share Posted May 10, 2009 Hmm. There are more effective ways to make a MineSweeper Bot. Why did you decide to do it in Autoit?To see how good it could be done in ai. I'm trying to make it more effective, atm it doesn't work [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
Qousio Posted May 10, 2009 Share Posted May 10, 2009 To see how good it could be done in ai. I'm trying to make it more effective, atm it doesn't work Hmm. It does seem interesting to try! I'm a bit busy right now, I'l PM you when I'm free and try to help you. Link to comment Share on other sites More sharing options...
FinalVersion Posted May 10, 2009 Author Share Posted May 10, 2009 Hmm. It does seem interesting to try! I'm a bit busy right now, I'l PM you when I'm free and try to help you.Dw this problem is solved. I just had things in the wrong place. Made a new topic lol, even worse problem [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] 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