So I have a little problem trying to use EntityPtrArray to read information in cs:s
I have the address & the offset for origin (pos x y z)
So when I try to read with readfloatpointer function, I obtain my x position.
I don't have any idea on how to read like 4 bytes after the base address so I can get y pos for example.
Basicly what I'm trying to convert is that (c++) :
ReadProcessMemory(hProc, (PVOID)(gLocalPlayer.BaseAddress + 0x2FC), &gLocalPlayer.Vectors.AbsOrigin, 12, NULL);
Here AbsOrigin is a float using this :
float AbsOrigin[3];
I tried in vb.net like that:
Dim AbsOrigin(3) as double
But I can't read like in the c++ version, I can only read to a specific index of the array.
To resume I'm trying to read 12 bytes & separates them in 3 floats
OR try to read separatly with such thing as "read 4 bytes after the address I have" & then "read 8 bytes after" or something.
I hope you understood me I'm a bit confuse explaining.
Thanks in advance for help, or ask me more information if I did not well explained.
Home » Unlabelled » ReadProcessMemory 12 bytes (3 float) in vb.net