Sign in to follow this  
Followers 0
Demonic

NomadMemory.au3

4 posts in this topic

It isn't seeming to properly read the value of the offset that I give it, it is always returning 0.

I can tell this because while looking in Cheat Engine at the address, it shows the value properly as it is displayed in the process I am trying to scan.

However, when I check for @Error it comes out as 0 showing that no error is occuring.

Is there anything Vista could be screwing this up about, and any possible fixes or advice?

Share this post


Link to post
Share on other sites



Share this post


Link to post
Share on other sites

#include <NomadMemory.au3>
$hWnd = "winmine"
$PID = WinGetProcess($hWnd, "")

$Memory = _MemoryOpen($PID, default)

$ReadMemory = _MemoryRead(0x02a3d22c, $Memory)

MsgBox(0, @Error, $ReadMemory)

When the MsgBox pops up, it shows @error as 0 and $ReadMemory as 0 even though Cheat Engine is showing the address 0x02a3d22c as the value displayed for the time.

Share this post


Link to post
Share on other sites

Now this may be a useless workaround for you, and this being my first post kinda sheds some light on my experience. But I have been having no probs with it and I am running vista. Based off of the code that you are using I notices that you are not using the _MemoryGetBaseAddress UDF written by Szhlopp.

I do not know a whole lot about memory, but I believe that Cheat Engine gives you the offset from the process that it is attached to, and not the physical address. What _MemoryGetBaseAddress does is find the location of the process in memory and then you use the offset learned from CE along with the address you get from Szhlopp's function with _MemoryRead from NomadMemory.

Szhlopp's function can be found here: Memory UDF, For finding that EXE's address! "Game.exe+753EC"

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  
Followers 0