Sign in to follow this  
Followers 0
nusaki

MemoryReading isnt working

6 posts in this topic

This doesnt work ;), Can someone tell me why

#include <NomadMemory.au3>
$address = 0x000BB0E8
dim $Offset[5] = [0, 0x48, 0xA0, 0x68, 0x154]

While 1

    $Process = _MemoryOpen(ProcessExists("solitaire.exe"))
    If Not @error Then
        $Value = _MemoryPointerRead($address, $Process, $Offset)

        if Not @error Then ToolTip($Value[1],0,0)


        _MemoryClose($Process)

    EndIf

    Sleep(100)

WEnd

keywen.com

Share this post


Link to post
Share on other sites



You try to automate solitaire? Or is it another game?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

It's just an example since every pc got solitaire on it. Returned value is always 0. (its should be ur score btw)


keywen.com

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

That's what I assumed. But what are you trying to achieve? Just read the score?

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Yes, just read the score using memory. You think you can help me with this?


keywen.com

Share this post


Link to post
Share on other sites

nusaki,

You think you can help me with this?

No he cannot - nor can anyone else here. Which part of "Do not discuss automating games here" is so hard to understand? And the type of game with which you are trying to interact does not matter in the slightest - "This rule is zero tolerance". ;)

Please read the Forum Rules before posting again. And a word of warning - do NOT PM me to argue about this. There are no special cases. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0