Jump to content
Sign in to follow this  
Wb-FreeKill

Minesweeper cheats!

Recommended Posts

Wb-FreeKill

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

Share this post


Link to post
Share on other sites
Wb-FreeKill

pretty nice. to bad it has to be done so slowly.

<{POST_SNAPBACK}>

yes it is pretty funny :( i was not able to find a better way, someone may be?

Share this post


Link to post
Share on other sites
Wb-FreeKill

memory reading. check the code project.

<{POST_SNAPBACK}>

what code project?

Share this post


Link to post
Share on other sites
layer

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 :(


FootbaG

Share this post


Link to post
Share on other sites
Wb-FreeKill

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..

Share this post


Link to post
Share on other sites
layer

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

Share this post


Link to post
Share on other sites
Blue_Drache

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

Share this post


Link to post
Share on other sites
layer

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

:(

<{POST_SNAPBACK}>

LOL, I didn't even see that type haha :(

FootbaG

Share this post


Link to post
Share on other sites
Wb-FreeKill

LOL, I didn't even see that type haha :(

<{POST_SNAPBACK}>

lol haha funny :(

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.