Autoit Memory help

03/22/2020 16:44 LiveHood#1
Hi Guys i just want to ask is there any way to use this Adress to read on Autoit NomadMemory Example : >> 004589B7 i want this adress to be read but i already did all things but still no lock it returns value = 0 as always.
Code:
#Include "NomadMemory.au3"

TEST()
                ;;Base = Adress = 004589B7

Func TEST()
    Sleep(1000)
    Local $base = 0x004589B7
    Local $hopen, $sread1
    $hopen = _MemoryOpen(WinGetProcess("Calc.exe"))
    $sread1 = _MemoryRead($base , $hopen)
    Global  $result = _MemoryRead($hopen, $sread1, 'dword')
    MsgBox(0,""," = " & $result)
EndFunc

or any of you guys can help or send me some Tutorial on how to use cheatengine Lua to Autoit ??? please guys begging you :handsdown::handsdown::handsdown:
03/22/2020 23:58 elmarcia#2
Quote:
Originally Posted by LiveHood View Post
Hi Guys i just want to ask is there any way to use this Adress to read on Autoit NomadMemory Example : >> 004589B7 i want this adress to be read but i already did all things but still no lock it returns value = 0 as always.
Code:
#Include "NomadMemory.au3"

TEST()
                ;;Base = Adress = 004589B7

Func TEST()
    Sleep(1000)
    Local $base = 0x004589B7
    Local $hopen, $sread1
    $hopen = _MemoryOpen(WinGetProcess("Calc.exe"))
    $sread1 = _MemoryRead($base , $hopen)
    Global  $result = _MemoryRead($hopen, $sread1, 'dword')
    MsgBox(0,""," = " & $result)
EndFunc

or any of you guys can help or send me some Tutorial on how to use cheatengine Lua to Autoit ??? please guys begging you :handsdown::handsdown::handsdown:
replace
$hopen = _MemoryOpen(WinGetProcess("Calc.exe"))

with
$hopen = _MemoryOpen(ProcessExists("Calc.exe"))

and add:
#RequireAdmin
at the top of your script
03/23/2020 03:52 LiveHood#3
[Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by elmarcia View Post
replace
$hopen = _MemoryOpen(WinGetProcess("Calc.exe"))

with
$hopen = _MemoryOpen(ProcessExists("Calc.exe"))

and add:
#RequireAdmin
at the top of your script


Hi sir i already test this code and still not lucky returning value to 0 but first i want to thank you for replyingand helping me i didnt expect there would be some one else here still active thanks a lot sir and ill send the screen shot of address sir that i want to read on CE i know how to use Memory on Autoit using Pointer but without pointer i dont know how :(
03/23/2020 13:53 elmarcia#4
Quote:
Originally Posted by LiveHood View Post
[Only registered and activated users can see links. Click Here To Register...]



Hi sir i already test this code and still not lucky returning value to 0 but first i want to thank you for replyingand helping me i didnt expect there would be some one else here still active thanks a lot sir and ill send the screen shot of address sir that i want to read on CE i know how to use Memory on Autoit using Pointer but without pointer i dont know how :(
Sorry didn't read all the code

Code:
#RequireAdmin
TEST() 
Func TEST()
    Sleep(1000)
    Local $base = 0x004589B7
    Local $hopen
    $hopen = _MemoryOpen(ProcessExists"Calc.exe"))
    $result = _MemoryRead($base , $hopen,'dword')
    MsgBox(0,""," = " & $result)
EndFunc
You just need to read the value once, is not Pointer read.

But if you have in CE static address like
ProcessName.exe + offset

Then use
Code:
;Ex Explorer. exe+123A
$offset = 0x123A
$hopen = _MemoryOpen(processexists("explorer.exe")) 
$processBaseAddress = _MemoryGetBaseAddress($hopen) 
$value = _MemoryRead($processBaseAddress + $offset, $hopen, 'dword') 
msgbox(0, "", $value)
; Note this offset isn't even valid so return value can be 0
03/26/2020 06:31 LiveHood#5
Quote:
Originally Posted by elmarcia View Post
Sorry didn't read all the code

Code:
#RequireAdmin
TEST() 
Func TEST()
    Sleep(1000)
    Local $base = 0x004589B7
    Local $hopen
    $hopen = _MemoryOpen(ProcessExists"Calc.exe"))
    $result = _MemoryRead($base , $hopen,'dword')
    MsgBox(0,""," = " & $result)
EndFunc
You just need to read the value once, is not Pointer read.

But if you have in CE static address like
ProcessName.exe + offset

Then use
Code:
;Ex Explorer. exe+123A
$offset = 0x123A
$hopen = _MemoryOpen(processexists("explorer.exe")) 
$processBaseAddress = _MemoryGetBaseAddress($hopen) 
$value = _MemoryRead($processBaseAddress + $offset, $hopen, 'dword') 
msgbox(0, "", $value)
; Note this offset isn't even valid so return value can be 0


Ohhh i see now sir/mam thankyou for help sorry for late reply but last can you give me example on how to read it my adress at once so i can test if its working ?