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 


Two Addresses Share Same Offset??

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

Joined: 27 Aug 2022
Posts: 7

PostPosted: Sat Aug 27, 2022 7:09 pm    Post subject: Two Addresses Share Same Offset?? Reply with quote

I am working on hacking a game and found a bunch of pointers for a value. I have moved on to finding pointers for another value, and when I look at the offset it is the same as the first value. Is this even possible? I tried to get pointers for it, thinking maybe because its a different address it may work. Nope. No pointers found because they have the same offset. How can I find pointers to memory location if they share the same offset?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Sat Aug 27, 2022 7:37 pm    Post subject: Reply with quote

There's nothing special about offsets. e.g. two different instances of the same structure can have the same final offset(s).

Given two pointer paths, if all the offsets are the same and they share the same base address, then they are the same pointer path and they will point to the same address. This might happen if you find an "item under cursor" pointer for example.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
j.c
How do I cheat?
Reputation: 0

Joined: 27 Aug 2022
Posts: 7

PostPosted: Sat Aug 27, 2022 8:53 pm    Post subject: Reply with quote

I am working on finding pointers to ammo in Doom. I found pistol ammo pointers without issue. I am now working on shotgun ammo. The shotgun ammo is at a different address but has the same offset value as the pistol ammo.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Sat Aug 27, 2022 9:34 pm    Post subject: Reply with quote

It's fine. I can't put it any more simply than that.

Maybe try the pointer scanner if you're confused:
https://www.youtube.com/watch?v=3dyIrcx8Z8g

If it can't find a pointer, you probably won't be able to either.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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