Jump to content
Sign in to follow this  
acer20006

Solitaire SCRIPT

Recommended Posts

acer20006

hii all

i trying to make a script to read the score of Solitaire by useing cheatengine[DMA] & Autoit

and this is he code

#include <GUIConstants.au3>
#include <NomadMemory.au3>
GUICreate("Solitaire_score_reader")
$Button_1 = GUICtrlCreateButton ("Check Memory Address",  10, 30, 150)
$Label_1 = GUICtrlCreateLabel("(score)",20, 60)
GUISetState ()

$Mem_Address = 0x000A2FA8 
$Process1 = WinGetProcess("Sol.exe")

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $Button_1
            $Mem_Open = _MemoryOpen($Process1)
            $Mem_Read = _MemoryRead($Mem_Address, $Mem_Open)
            _MemoryClose($Mem_Open)

            GUICtrlSetData($Label_1,$Mem_Read)
    EndSelect
Wend

but it cant work >_<

can any one help me >>??

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.