Jump to content

Recommended Posts

Posted

I can not figure out how to read a value from a pointer.

I can get my program to read and use the normal addresses but having a hard time with a pointer.

In Cheat Engine I found a pointer.

Process.exe+memoryAddress

then it has an Offset

Not sure how to use a pointer.

For a normal address I'm reading it like this.

$x = 23618832 <- memory address

$Process = 'nameofgame.exe' <- program

$PID = ProcessExists($Process)

$OpenProcess = MemOpen(0x38, False, $PID)

$playerX = Memread($OpenProcess, $x, 'float', 4)

This is working fine.

Any help would be appreciated.

Posted

Read through the script your using and understand what your doing.

But do not see how to get a pointer out of Cheat Engine into autoit still.

It gives as an address Process.exe+memoryAddress and an Offset

In cheat Engine it gives the address it points at which works while the program is open, but when you restart the program it is reading from the address changes.

The pointer stays the same but now points to a new address which works if you manually put it in but my question is how do you get the info into autoit just using the pointer and offset.

Posted (edited)

Read through the script your using and understand what your doing.

But do not see how to get a pointer out of Cheat Engine into autoit still.

It gives as an address Process.exe+memoryAddress and an Offset

In cheat Engine it gives the address it points at which works while the program is open, but when you restart the program it is reading from the address changes.

The pointer stays the same but now points to a new address which works if you manually put it in but my question is how do you get the info into autoit just using the pointer and offset.

Do you have a screenshot of your pointer?

Edited by Oldschool

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...