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 


Cheat Engine doesn't find pointers for every process

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Erez Zrihen
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2016
Posts: 65

PostPosted: Fri Mar 04, 2016 3:36 am    Post subject: Cheat Engine doesn't find pointers for every process Reply with quote

I went to step 6 in CE Tutorial.
I scanned until I found the address of the value.
Then I new scan for a value that holds the address, (i.e. I tried to find the pointer to the value I found previously). Then in the CE Tutorial I clicked the "Change Pointer" button, and the address of the value changed. I deleted the old record and then I clicked the "add address manually" button. I inputted the value of the record that was left, which holded the new address of the value of the tutorial step 6. and got access to the same value I found firstly without any more scans.
I tried the same thing in PCSX2. I found the address of the value I was interested, but when I tried to find the pointer to it, I got "0 Found". Why!? This is impossible! I tried many times, but same lame result.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25718
Location: The netherlands

PostPosted: Fri Mar 04, 2016 3:58 am    Post subject: Reply with quote

emulators work very different from actual programs.
the code you found belonged to the emulator, not the game. The address it accessed was build up from multiple calculations instead of a single address with an offset (emulated base, byteswapping, adding that to the base, another read, byteswap again, add as offset, final result)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Erez Zrihen
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2016
Posts: 65

PostPosted: Fri Mar 04, 2016 4:19 am    Post subject: Reply to Dark Byte Reply with quote

So what is your suggestion then? I.E. What now should I do exactly to achieve this goal?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 150

Joined: 06 Jul 2014
Posts: 4657

PostPosted: Fri Mar 04, 2016 11:15 am    Post subject: Reply with quote

If it uses JIT compilation like flash/java/.net, then you can usually expect it to compile the bytecode to the same machine instructions each time. So hooking some instruction that accesses the address you're concerned about is usually enough to get a reference to the address.

If it's a strict interpreter, then you aren't going to (feasibly) get a reliable reference to the address. You might be able to find a stack address as a base pointer, but I doubt that'll persist if you restart the process. IMO you should just give up- it takes less effort to find an address each time than it does to find a reliable reference to it.

_________________
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
Erez Zrihen
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2016
Posts: 65

PostPosted: Sun Mar 06, 2016 8:44 am    Post subject: Reply to ParkourPenguin Reply with quote

Thanks you very much for your reply ParkourPenguin! I will check and try this!
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