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 


Help Understanding How To Add Base Address + Offsets On Calc

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
MrNubbins
How do I cheat?
Reputation: 0

Joined: 13 Jan 2019
Posts: 2

PostPosted: Sun Jan 13, 2019 6:28 am    Post subject: Help Understanding How To Add Base Address + Offsets On Calc Reply with quote

I need help adding these Hex numbers together so they match the values Cheat Engine comes up with.

I try to add 0457A57C+10 and get 457A58C using Hex on Windows Calculator. Why is this different from what Cheat Engine Shows? Cheat Engine Shows 0457A57C+10 = 0873CC88. Please help
Thanks.



problem1.jpg
 Description:
 Filesize:  108.09 KB
 Viewed:  1702 Time(s)

problem1.jpg


Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Sun Jan 13, 2019 7:32 am    Post subject: Reply with quote

such questions have been answered a lot, and you should have had noticed the square-brackets [ ] which technically indicates a ptr or in other words reference in memory / value of some address.

Code:
[0457A57C+10] = 0873CC88.
equivalent to
[0457A58C] = 0873CC88


cheat engine read the contents of static address and see what it points to, then it takes the pointed address plus the mentioned offset and do another read operation.

ce will repeat that until final offset is summed and contents are read, and for sure it will keep reading to update the address-list.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sun Jan 13, 2019 8:06 am    Post subject: Reply with quote

In short, because after it adds the offset it then reads from that address, indicated by the []s. That's why it's not just the same as 457A57C+10+0+24+90+38 = 457A57C+FC = 457A678
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
MrNubbins
How do I cheat?
Reputation: 0

Joined: 13 Jan 2019
Posts: 2

PostPosted: Mon Jan 14, 2019 2:32 am    Post subject: Reply with quote

Thanks guys I ended up figuring it out!
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