I somehow forgot to answer this, thanks interest for bumping...
This pointer chain reading stuff isn't what you want if you like speed. I did this at first also, until a wise old crazy man enlightend me. You want to read structwise, each time reading n bytes, n being the value of your highest offset. This way you can actually read, for example, complete character struct in 4 lines of code. After that, you'd simply reference offsets locally in your struct.
TL;DR : Chains suck for performance, use structs. If you really want, write a chain method that supports writing to struct at final offset.
I somehow forgot to answer this, thanks interest for bumping...
This pointer chain reading stuff isn't what you want if you like speed. I did this at first also, until a wise old crazy man enlightend me. You want to read structwise, each time reading n bytes, n being the value of your highest offset. This way you can actually read, for example, complete character struct in 4 lines of code. After that, you'd simply reference offsets locally in your struct.
TL;DR : Chains suck for performance, use structs. If you really want, write a chain method that supports writing to struct at final offset.
Indeed, or in the very least when reading a lot of values from for example the player struct, only read in the player pointer once. Then read all the offsets from that pointer, instead of going through the entire chain every single time.
read the names of the characters in delphi 05/10/2012 - PW Hacks, Bots, Cheats, Exploits - 11 Replies function ReadPlayerName (hProcess, data: DWord): string;
var
i, rw: DWord;
ch: WideChar;
wch: array of WideChar;
str: string;
begin
i:= 0;
repeat
ReadProcessMemory (hProcess, ptr (data),@ch,2,rw);
[VB]Write Memory bzw Read Memory 06/26/2010 - .NET Languages - 8 Replies Hi
Ich hab das TuT von *Guidman* benütz um einen hack zu machen.
So aber nun hab ihc ein paar fragen könnte man memory teil kürzer machen und am besten wie kann man das selber machen weil ich will nihct immer C&P machen.
Und zu Read Memory kann man das auch machen das ein Label immer die Bestimmte Ahnzahl angiebt von dem Pointer?.(Wenn das Read Memory ist ?)
Bitte helf mir
Danke
View memory address values in delphi or c# 08/14/2007 - Conquer Online 2 - 2 Replies Hello, does anyone know where i can find a good tutorial to print the value of a memory address with dephi code or c# code, if not maybe someone who knows how to do this could explain to me much appreciated.