View previous topic :: View next topic |
Author |
Message |
hacksign23 Master Cheater Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Sun Oct 19, 2008 10:24 pm Post subject: pointer help! |
|
|
So I recently started learning pointers because I was being lazy.
so then i got all the pointer stuff; pointer and it's offset. How do I edit the address umm like... in cheatenging it says:
P->00400000
so how do i edit 00400000's value through the pointer with a script? thanks. _________________
|
|
Back to top |
|
|
Psy Grandmaster Cheater Supreme Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Mon Oct 20, 2008 2:29 am Post subject: |
|
|
With an auto-assemble script? Simple. You could add a section in it that did something like this:
Code: |
push eax //save eax
mov eax,[game.exe+1248] //move base pointer's value into eax
mov eax,[eax+4C] //move the level 1 pointer value into eax
mov eax,[eax+124] //..and repeat if you have deeper levels like this (lvl2)
mov [eax+80],63 //move value into the variable (this would be lvl3 ptr)
pop eax //restore eax
|
~Psych |
|
Back to top |
|
|
hacksign23 Master Cheater Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Mon Oct 20, 2008 4:06 pm Post subject: |
|
|
Thanks! Okay I'm using cheatengine's tutorial as an example. I got up to this:
my problem is that i have the start, I just need to make the jump to start but i'm not sure what address i should do.
Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
registersymbol(start)
alloc(start,1024)
start:
push eax
mov eax, [Tutorial.exe+5CC54+310]
mov [eax],1000
pop eax
ret
Tutorial.exe+5CC4:
?!?!?!?!!
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
Tutorial.exe+5CC54:
db 68 24 eb 00 FF
dealloc(start)
unregistersymbol(start)
|
btw, i'm on step one, but i'm just trying to... yea. _________________
|
|
Back to top |
|
|
|