Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Autoit Memory help

Discussion on Autoit Memory help within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2016
Posts: 4
Received Thanks: 0
Unhappy Autoit Memory help

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



LiveHood is offline  
Old 03/23/2020, 00:58   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 313
Received Thanks: 123
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
replace
$hopen = _MemoryOpen(WinGetProcess("Calc.exe"))

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

and add:
#RequireAdmin
at the top of your script


elmarcia is offline  
Old 03/23/2020, 04:52   #3
 
elite*gold: 0
Join Date: Jun 2016
Posts: 4
Received Thanks: 0
Smile

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
Attached Images
File Type: png 1.PNG (37.8 KB, 7 views)
LiveHood is offline  
Old 03/23/2020, 14:53   #4
 
elite*gold: 0
Join Date: Apr 2011
Posts: 313
Received Thanks: 123
Quote:
Originally Posted by LiveHood View Post




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


elmarcia is offline  
Old 03/26/2020, 07:31   #5
 
elite*gold: 0
Join Date: Jun 2016
Posts: 4
Received Thanks: 0
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 ?


LiveHood is offline  
Reply



« Suche jemanden der Mir bei einem Bot helfen kann | AutoitMemoryWrite Problem »



All times are GMT +2. The time now is 00:07.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2020 elitepvpers All Rights Reserved.