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 


pointer help!

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

Joined: 26 Nov 2006
Posts: 404

PostPosted: Sun Oct 19, 2008 10:24 pm    Post subject: pointer help! Reply with quote

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
View user's profile Send private message AIM Address
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Mon Oct 20, 2008 2:29 am    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
hacksign23
Master Cheater
Reputation: 0

Joined: 26 Nov 2006
Posts: 404

PostPosted: Mon Oct 20, 2008 4:06 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
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