| View previous topic :: View next topic |
| Author |
Message |
thechinesekid How do I cheat?
Reputation: 0
Joined: 05 Jun 2013 Posts: 3
|
Posted: Sat Jun 08, 2013 2:32 pm Post subject: Noob question about addresses |
|
|
Before you dismiss my noob issue, remember obvious things are only obvious once they've been pointed out Do help me out if you know what's going on.
Okay, so when I click on the address column of my saved addresses (either to look at or change the address) 1 of 2 things can happen for me.
1. I get the actual address (eg. 023097BC)
2. I get something like (eg. "tutorial.exe"+772000D) and 772000D is not the address as I have tried it.
Now scenario 1 is straight forward as obviously it gives my address. But how can I figure out the address when I am given scenario 2? I've recently found my pointer via pointer scan and I cannot for the life of me find the base address so that I can put it into C++.
Any help is appreciated
Thanks
PS - is there any way to control whether scenario 1 or 2 happens? It seems sort of random to me.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25823 Location: The netherlands
|
Posted: Sat Jun 08, 2013 3:02 pm Post subject: |
|
|
tutorial.exe gets replaced by the address tutorial.exe is loaded in memory
so if it's loaded at 00400000 then the address is 00400000+0772000d=07B2000D
in c++ you either need to find the module base yourself (easiest is toolhelp32 with module32first/next) or just hardcode the address if it's a pretty old game, since those always start at the same address
_________________
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 |
|
 |
grasmanek94 Master Cheater
Reputation: 0
Joined: 03 Jun 2008 Posts: 283 Location: The Netherlands
|
Posted: Tue Jun 11, 2013 5:11 pm Post subject: |
|
|
I can confirm that 99% of the games have a static base adress of 0x00400000, the base adress can only get randomized if the code decides to, but, I did program my own "HackMe" with different methods to randomize the base addres and there was ALWAYS a pointer to the "base address" at a static virtual address.
The only game you will ever have trouble with is No One Lives Forever 2, the game compiles each mission on the fly into a temporary binary file and runs that, which makes it somewhat impossible to create a static pointer for the weapons or get any valid non-changing opcodes.
(seriously I tried, and for the sake of fun I just used the in-game console cheats..)
|
|
| Back to top |
|
 |
|