kennyvo Posted September 25, 2008 Share Posted September 25, 2008 (edited) i use cheatengine to find a text a123a1 and i get game.exe+AD65CB pointer this pointer point to 00ed65cb like thishow can i get a123a1 ? help me plz ?p/s: sr for my bad english Edited September 25, 2008 by kennyvo Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 25, 2008 Share Posted September 25, 2008 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. Link to comment Share on other sites More sharing options...
kennyvo Posted September 25, 2008 Author Share Posted September 25, 2008 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... Link to comment Share on other sites More sharing options...
oMBRa Posted September 25, 2008 Share Posted September 25, 2008 I dont understand u sorry... post some example of what is "value of some addresses" and "text value" Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 25, 2008 Share Posted September 25, 2008 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? Link to comment Share on other sites More sharing options...
MilesAhead Posted September 25, 2008 Share Posted September 25, 2008 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 variableand dereference it. I see in the help that Ptr is equivalent to LPVOID but I don't see anythingabout dereferencing. My Freeware Page Link to comment Share on other sites More sharing options...
bluerein Posted September 25, 2008 Share Posted September 25, 2008 (edited) 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 September 25, 2008 by bluerein Link to comment Share on other sites More sharing options...
martin Posted September 25, 2008 Share Posted September 25, 2008 i use cheatengine to find a text a123a1 and i get game.exe+AD65CB pointer this pointer point to 00ed65cb like thishow can i get a123a1 ? help me plz ?p/s: sr for my bad englishHave 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. Link to comment Share on other sites More sharing options...
kennyvo Posted September 26, 2008 Author Share Posted September 26, 2008 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now