Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to get offset of the address?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
JWP Programs
Newbie cheater
Reputation: 0

Joined: 19 Dec 2011
Posts: 23

PostPosted: Sat Feb 04, 2012 12:08 am    Post subject: How to get offset of the address? Reply with quote

Before write this, I can't use english very well.
so please understand well..
----------------
Hi. I'm a person who wonder pointer.
I wrote this source.
______
var adr, value, empty, adr2, value2, empty2:dword;
begin
adr:=strtoint('$'+edit1.Text);
readprocessmemory(getcurrentprocess, pointer(adr), @value, 4, empty);
adr2:=value;
readprocessmemory(getcurrentprocess, pointer(adr2), @value2, 4, empty2);

edit2.Text:=inttohex(adr, 8)+' '+inttohex(value, 8);
edit3.Text:=inttohex(adr2, 8)+' '+inttostr(value2);
end;
________

Edit1 means the original address.
and adr2 means the value of original address.
and value 2 means the final value.
so is that correct?
I think that wants to offset..
but I don't know how to get the offset.
so the question is "How to get offset of the address?"
I want to know that.
not just use CE.
in Delphi source..
Please answer to me.
Thanks for the reading.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites