View previous topic :: View next topic |
Author |
Message |
Erez Zrihen Advanced Cheater
Reputation: 0
Joined: 26 Feb 2016 Posts: 65
|
Posted: Fri Mar 04, 2016 3:36 am Post subject: Cheat Engine doesn't find pointers for every process |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25718 Location: The netherlands
|
Posted: Fri Mar 04, 2016 3:58 am Post subject: |
|
|
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 |
|
 |
Erez Zrihen Advanced Cheater
Reputation: 0
Joined: 26 Feb 2016 Posts: 65
|
Posted: Fri Mar 04, 2016 4:19 am Post subject: Reply to Dark Byte |
|
|
So what is your suggestion then? I.E. What now should I do exactly to achieve this goal?
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 150
Joined: 06 Jul 2014 Posts: 4657
|
Posted: Fri Mar 04, 2016 11:15 am Post subject: |
|
|
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 |
|
 |
Erez Zrihen Advanced Cheater
Reputation: 0
Joined: 26 Feb 2016 Posts: 65
|
Posted: Sun Mar 06, 2016 8:44 am Post subject: Reply to ParkourPenguin |
|
|
Thanks you very much for your reply ParkourPenguin! I will check and try this!
|
|
Back to top |
|
 |
|