Jump to content

Minesweeper cheats!


 Share

Recommended Posts

Made this script when i was told how to cheat in minesweeper :(

Execute minesweeper, run script and select the title of the window.. and press start.. now move your mouse slowly over the fields and magic begins :(

#Include <GUIConstants.au3>

GUICreate("Freekills Minesweeper Cheats",300,100)
GUICtrlCreateLabel("Run Minesweeper and input the title if it's window. Move your mouse curser slowly when looking for mines.",30,10,250,40)
GUICtrlSetFont(-1,8,600)
$Input = GUICtrlCreateCombo("",30,60,150,22)
GUICtrlSetdata($Input,"Minestryger|Minesweeper","Minestryger")
$Button = GUICtrlcreateButton("Start",200,60,70,22)

GUIsetstate()

While 1 
    $msg = GUIGetmsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit
    
    If $msg = $Button Then
        If WinExists(GUICtrlRead($Input)) Then 
            Sleep(500)      
            Winactivate(GUICtrlRead($Input))
            Send("x")
            Send("y")
            Send("z")
            Send("z")
            Send("y")
            Send("{RSHIFT}")
            Send("{ENTER}")
            
            Sleep(1000)         
            
            While 1
                $msg = GUIGetmsg()
                If $msg = $GUI_EVENT_CLOSE Then Exit
            
                $pos = MouseGetPos()
                $var = PixelGetColor (0,0)
                $var1 = PixelGetColor ($pos[0],$pos[1])
    
                If $var = 0 AND WinActive(GUICtrlRead($Input)) Then 
                    Sleep(50)
                EndIf   
    
                If NOT $var = 0 AND WinActive(GUICtrlRead($Input)) AND $var1 = 12632256 Then 
                    Mouseclick("left")
                    Sleep(50)
                EndIf
            WEnd
        Else
            Msgbox(0,"Error","Please run Minesweeper, and input the correct window title")
        EndIf
    EndIf
WEnd
Link to comment
Share on other sites

Wow! WTF, I don't get it lol, it work's I hit no mines but how does this actually work, I looked over the code but don't get it :(

<{POST_SNAPBACK}>

hehehe :(

When the xyzzy SHIT ENTER code is entered, when you move the curser over a field with a bomb, a little tiny black pixel shows up in 0,0 (x,y) so the code is simply checking for that pixel..

Link to comment
Share on other sites

hehehe  :(

When the xyzzy SHIT ENTER code is entered, when you move the curser over a field with a bomb, a little tiny black pixel shows up in 0,0 (x,y) so the code is simply checking for that pixel..

<{POST_SNAPBACK}>

Ohhhh! That's pretty sneaky :(
FootbaG
Link to comment
Share on other sites

When the xyzzy SHIT ENTER code is entered, when you move the curser over a field with a bomb, a little tiny black pixel shows up in 0,0 (x,y) so the code is simply checking for that pixel..

<{POST_SNAPBACK}>

Yeah, I guess it would hurt if you "SHIT" an "ENTER" key, now wouldn't it?

:(

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...