Jump to content
Sign in to follow this  
kennyvo

how to read text value of address from memory ?

Recommended Posts

kennyvo

i use cheatengine to find a text a123a1 and i get game.exe+AD65CB pointer

this pointer point to 00ed65cb like this

Posted Image

how can i get a123a1 ? help me plz ?

p/s: sr for my bad english

Edited by kennyvo

Share this post


Link to post
Share on other sites
Richard Robertson

Most strings are either null terminated or have a value near them that controls the length of the string. You'll have to figure out which it is. If it is null terminated, you'll have to read byte for byte until you find a null. I think you could just load that address as a char* and read it into a string that way.

Share this post


Link to post
Share on other sites
kennyvo

Most strings are either null terminated or have a value near them that controls the length of the string. You'll have to figure out which it is. If it is null terminated, you'll have to read byte for byte until you find a null. I think you could just load that address as a char* and read it into a string that way.

thanks for your help ?? but i dun understand? can u code example let me understand u ?? i have nomadmemory.au3 already. and get value of some addresses is good but i can't get text value...

Share this post


Link to post
Share on other sites
oMBRa

I dont understand u sorry... post some example of what is "value of some addresses" and "text value"

Share this post


Link to post
Share on other sites
Richard Robertson

Ok, let's backtrack here. Are you saying you want to read that specific address in memory or are you saying you want to be able to search for it in AutoIt?

Share this post


Link to post
Share on other sites
MilesAhead

Ok, let's backtrack here. Are you saying you want to read that specific address in memory or are you saying you want to be able to search for it in AutoIt?

If I'm reading the OP correctly he's looking for how to assign an address to a Ptr variable

and dereference it. I see in the help that Ptr is equivalent to LPVOID but I don't see anything

about dereferencing.

Share this post


Link to post
Share on other sites
bluerein

try

#include <NomadMemory.au3>
   #include <GUIConstants.au3>
   #include <Misc.au3>
   #include <Array.au3>

   $ID=_MemoryOpen(ProcessExists("game.exe"))
   $Address=0x00ed65cb
   $value=_MemoryRead($Address,$ID ,"char[16]")
   
  
     sleep(1000)
   MsgBox(0,"Value", $value)

as long as "00ed65cb" is static

Edited by bluerein

Share this post


Link to post
Share on other sites
martin

i use cheatengine to find a text a123a1 and i get game.exe+AD65CB pointer

this pointer point to 00ed65cb like this

Posted Image

how can i get a123a1 ? help me plz ?

p/s: sr for my bad english

Have look at this post.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
kennyvo

try

#include <NomadMemory.au3>
   #include <GUIConstants.au3>
   #include <Misc.au3>
   #include <Array.au3>

   $ID=_MemoryOpen(ProcessExists("game.exe"))
   $Address=0x00ed65cb
   $value=_MemoryRead($Address,$ID ,"char[16]")
   
  
     sleep(1000)
   MsgBox(0,"Value", $value)

as long as "00ed65cb" is static

i got it. thank u so much :)

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.