I use Cheat Engine and in Cheat Engine you have Memory Addresses and Pointers. In Cheat Engine I got my Memory and Pointers to work just fine.
Now trying to do this Visual Basic is a pain. I must be misunderstanding something. This is what Cheat Engine has and this is what I am trying to code in Visual Basic:

Name:  cheatengine.png
Views: 957
Size:  13.7 KB

Here is the code I am trying:

baseaddress = 00007FF73EE70000
GV.addresses = 01DB81B0
pointer = A4
When I add 'baseaddress' and 'GV.addresses' I get: '7FF740C281B0 ' Which is Mathematically correct.

Now I know a Pointer points to a Memory Address that has a Memory Address in it which is a 4Byte. Then you read that address and add the pointer.

My Code will show the correct value of '00007FF73EE70000' + '01DB81B0' (which is '7FF740C281B0')

Dim testt As Long
testt = (Convert.ToInt64(baseaddress, 16) + (GV.addresses))
But no matter how much I play with '7FF740C281B0' I can't get Cheat Engines Value of '1C6B64B70F4'.

I thought it worked like you read the Address in Hex stored at '00007FF73EE70000' + '01DB81B0' (baseaddress + GV.addresses). Then you take that addressed that is stored there and add the pointer 'A4'.

But the value in Cheat Engine stored at ('00007FF73EE70000' + '01DB81B0') is '3058397264'

Name:  cheatengine2.png
Views: 629
Size:  10.3 KB

And none of those will point to '1C6B64B70F4'.

I need to get the Address '1C6B64B70F4' to add the pointer of 'A4'

What am I doing wrong here????

I am so confused on this... Can anyone help sort this mess out for me?


I hope that because I am referencing Cheat Engine here that it does not break any rules. But I am relating this to a Visual Basic issue, so I thought it would be ok. If not, I apologize.

I should note that this has NOTHING TO WITH CHEATING in a game. I am trying to read memory addresses in a game and display them to help keep track of a Characters Progress.

I am reading variables such as HP, MP, and Coordinates. I then want to store the variables and keep track of there changes.

I am not trying to modify any memory addresses.
I am just reading memory addresses.