Good morning.
I've trying to read some addresses in PXG Client (http://www.pokexgames.com), the Pokemon (first?) OT... and it has an own client...
Some addresses are easy to find, like PosX, PosY, PosZ, but some like PokemonHP, PlayerHP, I just can't figure out how to find...
First of all, I found them on CheatEngine, but it always change when I open up the game again, and worse, they are "Double" type and I can't read them on my software.
I'm using this code for Read mem int:
Code:
function ReadMemInt(Address: Integer): Integer;
var
value:integer;
begin
ReadProcessMemory(IDProcess, Ptr(Address), @Value, 4, NBR);
Result:=value;
end;
I've tried:
Code:
function ReadMemLongInt(Address: int64): Int64;
var
value: int64;
begin
ReadProcessMemory(IDProcess, Ptr(Address), @Value, 8, NBR);
Result:=value;
end;
And even:
Code:
function ReadMemLongInt2(Address: Longint): Longint;
var
value: Longint;
begin
ReadProcessMemory(IDProcess, Ptr(Address), @Value, 8, NBR);
Result:=value;
end;
None worked, any ideas?
Ty;
Ps: My english sucks haha