Jump to content

Reading memories/addresses (Not game related)

Recommended Posts


Hello I am trying to make a script were I use variable I read from a running executable. But these values change every time I start the program again or even sometimes just after some hours. However I found the variable that I look for which doesn't change, but those addresses are different and I can't read them in AutoIT


   $variable_1 = _MemoryRead('0x' & '051C7AE0', $MemoryOpen)
   $variable_2 = _MemoryRead('0x' & '051C7AE4', $MemoryOpen)
   $variable_3 = _MemoryRead('0x' & '0EA23614', $MemoryOpen)

Is how I do right now and it works, but the hex will I have to change. However with cheat engine I found addresses that looks like this "XXXXXX+3F56BC". When I save them on cheat engine they are the correct address even when I restart the executable. However I don't know how to use it in AutoIT! Can someone please help me! :)

(XXXXX = name of the executable)

I tried this example: $variable_1 = _MemoryRead('XXXXXX' & '3F56BC', $MemoryOpen)

and: $variable_1 = _MemoryRead('XXXXXX' + '3F56BC', $MemoryOpen)

and: $variable_1 = _MemoryRead('0x' & 'XXXXXX+3F56BC', $MemoryOpen)

Edited by Melba23
Oh yes it is!

Share this post

Link to post
Share on other sites


This is the same question you posted here - I see you did not read those rules to which you were linked very carefully - you missed the part that says:

"Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above"

Do NOT start another thread on this - our patience has limits.



Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.


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.