View previous topic :: View next topic |
Author |
Message |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Wed Jan 20, 2016 2:06 pm Post subject: question about base player address |
|
|
Hello everyone,
I got a question which i cannot solve regarding player base address. When i say player base address i mean its an address of which some constant offset will be same values, ie if base address id 21836000 than for example +540 offset of it will be always health value. So now obviously i want always be able to find that base player address, but where to get it ?
Is it correct to assume that when the player object is created it stored in memory and can be accessed in "whatEverGame.exe"+XXXXX way ? if so, how that "whatEverGame.exe"+XXXXX address can be found ?
Game in question is Bioshock.
Thanks a lot,
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4697
|
Posted: Wed Jan 20, 2016 3:10 pm Post subject: |
|
|
Either find a pointer to it (use the pointerscanner), or copy the base address of the structure by hooking some instruction that accesses something in the structure ("injection copy").
http://forum.cheatengine.org/viewtopic.php?t=572465
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Wed Jan 20, 2016 3:18 pm Post subject: |
|
|
Hey ParkourPenguin
Thank you for reply,
1. How can i use pointer in auto assembly script ?
2. Can you please explain what you mean by "hooking some instruction that accesses something in the structure ("injection copy")" ?
thanks for helping ...
Edit : 2. You mean use some instruction that using the base player address and then "globalalloc" it ?
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4697
|
Posted: Wed Jan 20, 2016 4:15 pm Post subject: |
|
|
1.
Code: | ...
mov eax,["Game.exe"+1234] // gets static base address, reads it into eax
mov eax,[eax+23C] // adds offset 1, reads it into eax
mov eax,[eax+D4] // adds offset 2, reads it into eax
...
// do this until you're at the base of the structure |
2. Open that topic I linked to previously and scroll down to the part that says "Injection Copies". It explains what to do quite well.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Fri Jan 22, 2016 8:26 pm Post subject: |
|
|
Ok, i got it work both ways, thanks a lot !!!
|
|
Back to top |
|
 |
|