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 


Multiple Process has same Base Address but works in CE

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

Joined: 16 Nov 2015
Posts: 14

PostPosted: Mon Jul 05, 2021 6:12 pm    Post subject: Multiple Process has same Base Address but works in CE Reply with quote

Hi there,

Sorry if this is a silly question but I'm experiencing something rather strange.

Okay so imagine I have a memory address that is defined as "ABC.dll" + 609C8 and I have the application running twice.

For Simplicity lets say that Process A -Should Produce Value 10 and Process B Should Produce Value 20.

Now This works fine in cheat engine, if I attach to each of the processes and preserve the addresses in the list the values change to what is expected of each Process.

Now what I'm a little confused about is that the Address displayed in the cheat engine table does not change but the value does?

This also means that when I've come to implement this in code, my value is always that of either Process A OR Process B but I'm not able to read both?

If anyone has any suggestion as to what is going on it would be greatly appreciated or if this isn't clear enough let me know and I'll try to post some pictures / video for clarity
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Mon Jul 05, 2021 10:20 pm    Post subject: This post has 1 review(s) Reply with quote

Basically, each process gets its own view of memory called a virtual address space. Each process's virtual address space is separate (isolated) from other processes. This way any one process misbehaving has less of a chance of reading/writing data it isn't suppose to (better reliability, security, & privacy) among other things.

Even though two values in two different processes might have the same virtual address in their respective address spaces, they occupy different areas of physical memory, hence why they can have two different values.

_________________
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
Murded
Newbie cheater
Reputation: 0

Joined: 16 Nov 2015
Posts: 14

PostPosted: Tue Jul 06, 2021 2:38 am    Post subject: Reply with quote

Edit:
It turns out that it's an issue with the library I was using (or the way that I was using it) and swapping to a different library resolves the issue.
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