Jump to content

Recommended Posts

Posted

hello all

i try to read value from memory

#include <NomadMemory.au3>

$Mem_Address = 0x004EC1E8 
$Process1 = WinGetProcess("mspaint.exe") ;the window to get PID

While 1
 
            $Mem_Open = _MemoryOpen($Process1) ;must open before you can read address
            $Mem_Read = _MemoryRead($Mem_Address, $Mem_Open) ;reads value at memory address
            _MemoryClose($Mem_Open) ;
            ConsoleWrite($Mem_Read)
            
        
   
Wend

the probleam i run 3 paint and I want to read from one application just how to get the pid like cheat engine?

 

Untitled55.png

Posted (edited)

Yeah what are you trying to accomplish ?

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

Posted

I think "Cheat engine" tells us what he tries to accomplish ...

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

You can use Run to execute mspaint.exe and it would return the PID of the process :)

Thanks bro , It is impossible to obtain this address like cheat engine

As you can see there are different numbers and letters at the beginning of each program

How to get these addresses in autoit

arafa.png

Posted

If you could be more precise on what are you trying to automate, then we can suggest you more (appropriate) solutions :)

_______________________________________________________________________________________________________________________________

I want to know the value of RAM for a specific program but I work on three programs of the same type at a time

How to get PID for a single program such as cheat engine gives you a title for each program

 

arafa.png

Posted

Yeah what are you trying to accomplish ?

____________________________________________

I want to read the value of the memory but I use three programs of the same type at a time how can I specify the PID and address for each of them because I want to read the value of one program only 

 

Posted

I think "Cheat engine" tells us what he tries to accomplish ...

_______________________________________________________________

yes bro , It gives a title for each program but I do not know how to do this using Autoit

  • Moderators
Posted

Hawlong,

Stop being evasive, we all know what you want to do - what we need to know is what are the "three programs of the same type at a time" whose memory you want to read.

M23

P.S. And just to be absolutely clear - this is the Mod team determining the legality of the thread, so everyone else please keep out.

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Hawlong,

Stop being evasive, we all know what you want to do - what we need to know is what are the "three programs of the same type at a time" whose memory you want to read.

M23

P.S. And just to be absolutely clear - this is the Mod team determining the legality of the thread, so everyone else please keep out.

________________________________________________

three programs

 

 

11111d.png

  • Moderators
Posted

Hawlong,

We are not stupid - we all know that Paint is not the program with which you want to interact. So last chance - what are you actually trying to do?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Yes, the painter is not the program I want to interact with
But why all these questions? Is what I want forbidden?

I think my question is very clear

  • Moderators
Posted

Hawlong,

  Quote

But why all these questions? Is what I want forbidden?

Expand  

Quite possibly. if you read the Forum rules you will see that we do not permit discussion of game related scripts. And the use of Cheat Engine is usually a fair indication of exactly that - hence my question. I would also point out that your evasive answers are not helping your cause.

So it looks as if you get another chance - what are these "three programs of the same type at a time"? if I do not get an acceptable answer this time then the thread will be locked.

M23

 

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Developers
Posted
  On 11/9/2018 at 11:34 AM, Hawlong said:

I do not use this for a game ,

Expand  

.. but you are not going to tell us what you are really using it for...  :idiot: 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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