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 to a pointer
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Pointer tutorials
View previous topic :: View next topic  
Author Message
ppxdf
Newbie cheater
Reputation: 0

Joined: 05 Apr 2006
Posts: 18

PostPosted: Wed Apr 26, 2006 7:24 pm    Post subject: pointer to a pointer Reply with quote

pointer to a pointer

Hi, guys !!!

I wonder if someone can spend a litle bit time with me.

First, i found the address of the value. Then, i used the function to find out what writes to that address.

Then I go back and do a hex search for and i got only 3 results.

so, click add address manually / click the pointer check box / and i filled correctely the address of a pointer and a offset.

i did it for all 3 results.

Back to game i realize the pointer's address seems to change and i try freeze it but it doesnot works.

Oh yes, Perhaps it's a pointer to a pointer (to a pointer etc...).

But Cheat engine Pointer doesnt write the address in this second time.,
so pointer to a pointer is not wolking for me. (it never writes)

Any suggestion ?
Thanks in advance



pointers.JPG
 Description:
25 k
 Filesize:  78.8 KB
 Viewed:  110690 Time(s)

pointers.JPG


Back to top
View user's profile Send private message
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 394
Location: DEAD

PostPosted: Wed Jun 28, 2006 5:57 pm    Post subject: Reply with quote

Can someone explain do to me like level pointers 2 and 3?, the level 1 already is easy but it does not work in many occasions, if anybody explains with an example thank you Smile
_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Thu Jun 29, 2006 12:57 am    Post subject: Reply with quote

use find out what accesses the pointer. That'll find more than just write.

about multilevel pointers:
lets say you have a game object
the game object has a player object
and the player object holds the health

so to find the health address you need to know the address of the player object
and to find the player object you need to know the address of the game object

that is a level 2 pointer . (address of game object+offset to playerobject gets you the location of the address of the player object, and address of player object+offset of health, gets you the health)

_________________
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
View user's profile Send private message MSN Messenger
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 394
Location: DEAD

PostPosted: Thu Jun 29, 2006 9:24 pm    Post subject: Reply with quote

game: Indiana Jones and the Emperor's Tomb

first pointer:

target: ammo

address:


pointer:





Pointer static address:






now in next stahe address change an search second pointer ( level 2 )



next stage ponter level 1 obsolete 6 not value and see news movement in pointer:


in EBX:


now¿?¿?¿? for pointer level 2? explaint me please.


_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Thu Jun 29, 2006 9:51 pm    Post subject: Reply with quote

you need to do another hex search like you did to find the first pointer,
so hex search for 87D24A0,

enter the address you find ( preferably a static green one like you did correctly before ) and add the 64 offset,

so you will have

Arrow 87D2504 + FE4

then press the add pointer button to put the next pointer in

Arrow the address containing --> 87D24A0 + 64










Idea
Mind you 87D2504 is green meaning it should be static anyway so that is all you might need to use,
but this is good practice to find second level and lower level pointers anyhow

Idea Idea

oh and at that bit of code you got there its in the process of clearing the pointer--> ebx = 0,
and above that it is loading [esi+000000b0],ebx just before the JE tscriptdef :: clearproperties jump,

so you might want to add a seperate second level pointer with the b0 offset just to see whats going on there as well,

_________________
Back to top
View user's profile Send private message
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 394
Location: DEAD

PostPosted: Fri Jun 30, 2006 6:45 am    Post subject: Reply with quote

me, help me please im confuse, thanks


_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Fri Jun 30, 2006 9:11 am    Post subject: Reply with quote

In your hex search for 2532504 you say you found 0, ?????
but I can see you found 6 addresses, maybe you think because they are not green they are not pointer addresses !

well green addresses just mean they are pretty stable(don't look like they change to cheat engine),

some pointer addresses hold several values during the game thats why you sometimes need to go down some levels to find the static or stable pointers,


( I have not got this game so am just making up an example cos I dont know the weapons in indiana jones)

for instance lets say you got the first AMMO address in your list there D8FD32 is holding the ammo for a moment for a rifle but you change you weapon to a flamethrower,
then it might change d8fd32 to hold the flamethrower ammo you got,
but anyway you have 6 addresses there to play with ,
hmm wonder what the Arrow 085d9d12 DEC,ECX does ??

it decs ecx movs,
mov ecx into eax
stores it in your address
compares eax to ebx
then jumps to the flamethrower code if eax is greater than ebx, looks like a weapons check,
see what happens if you nop the dec ecx,
might not crash the game lol,

and keep your first found GREEN address as a pointer in your cheat engine table Arrow 87D2504 + FE4 offset.................. see if that stays nice and stable and still holds your ammo when you restart the game.

dont give youself a headache doing this it takes a little while to get used to the idea, you need to take breaks from it to clear your head now and again cos its new stuff,
I leave it alone for a bit and take a break when I get stuck on a piece of code, clears the head and you can see things better that you can miss if you try too hard in one go,.. Very Happy

_________________
Back to top
View user's profile Send private message
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 394
Location: DEAD

PostPosted: Fri Jun 30, 2006 5:26 pm    Post subject: Reply with quote

I cannot me, you can put your example with images of a game q use level pointers 2? This way I can do an idea to me seeing an example, thanks Wink
_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 394
Location: DEAD

PostPosted: Sat Jul 01, 2006 3:16 pm    Post subject: Reply with quote

Please can they put an example of a game that uses level 2 in pointers with the life for example? This way I can see and deal in a visual way thank you
_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 394
Location: DEAD

PostPosted: Sun Jul 02, 2006 5:22 pm    Post subject: Reply with quote

When it treats itself of any tutorial nobody gets wet eh!, since it is the only way of being able to learn something, an average tutorial with images serious ideal
_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
JoshA56
Newbie cheater
Reputation: 0

Joined: 26 Jun 2006
Posts: 11

PostPosted: Mon Jul 17, 2006 5:38 pm    Post subject: Reply with quote

What are pointers but a useless step in creating a trainer?

After you find the address that does what you want, right click on the address and select 'Find Out What Writes To This Address'. Go back into the program, do what you did before to get the address. Ex: INF Balls in 3D Pinball, you would go back in-game and lose a ball. You would then get a code. Highlite that code, and select 'Add To Codelist'. Rename it to something particular to the hack you're making.

Pointers are not needed, unless you want to waste time.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Tue Jul 18, 2006 12:40 am    Post subject: Reply with quote

pointers are important
lets say you have a routine that decreased health like this:
decreasehealth(gameobject,ammountofhealth)

if you nop that code everything, including monsters would be invulnerable

_________________
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
View user's profile Send private message MSN Messenger
ViNiZiN
How do I cheat?
Reputation: 0

Joined: 26 Mar 2006
Posts: 3
Location: Serrinha

PostPosted: Mon Aug 07, 2006 6:17 am    Post subject: Reply with quote

Xblade wrote:
game: Indiana Jones and the Emperor's Tomb

first pointer:

target: ammo

address:


pointer:





Pointer static address:






now in next stahe address change an search second pointer ( level 2 )



next stage ponter level 1 obsolete 6 not value and see news movement in pointer:


in EBX:


now¿?¿?¿? for pointer level 2? explaint me please.


_________________
xD
Back to top
View user's profile Send private message AIM Address
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Mon Aug 07, 2006 11:32 am    Post subject: Reply with quote

well ebx is holding zero at that point in the game and is just below a clear properties jmp as well so that is probably not the place you want,

check what values
Arrow
0ea3ae6a mov[esi+64],ebx

and

0ea3b7bb mov[ecx+64],eax

are holding and try adding those pointers to your list with the +64 offsets ,

also add all you code to the code list and check what they are writing to in case they are writing to thousands of addresses just out of interest,

its difficult to figure out whats going on sometimes when you have not got the game yourself and so I can only give general help on it here and trust you to make sure you got the right addresses , but that looks ok and if several pieces of code access the same pointer you have to check which ones do the right job for you,
often you will get 2 or more codes will give you what you want while other pieces of code are usless to you and may be just a display your ammo/health check or something along those lines.

[edit] by the way have you tried nopping that address at

Arrow 85d9d12 dec ecx Question Question Question Question

I'm sure I asked this before and got no answer,,
cos that looks like all you may need to do if this is a single player level cheat your doing for infinite ammo Exclamation Exclamation Exclamation Exclamation Exclamation

_________________
Back to top
View user's profile Send private message
himurachun
How do I cheat?
Reputation: 0

Joined: 07 Aug 2006
Posts: 7
Location: MALAYSIA

PostPosted: Sun Sep 03, 2006 2:32 am    Post subject: Reply with quote

is this how i do it on other games too...finding pointers???
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Pointer tutorials All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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