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 


Static pointer changing values??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
=sinister=
Newbie cheater
Reputation: 0

Joined: 30 Sep 2007
Posts: 15

PostPosted: Wed Dec 09, 2015 10:52 pm    Post subject: Static pointer changing values?? Reply with quote

So i'm really confused by this. This happened twice now, i'm trying to do a simple ammo hack for a 64 bit game (Dying Light) and so I go through the process of finding a static pointer, and I find one 4 offsets deep, and it seems to work. Infact, I can restart the game and the values stay the same, but if I die in-game, all the values are ??
Maybe i'm too much of an amateur programmer but I don't understand how a static value can change? Confused
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Thu Dec 10, 2015 12:06 am    Post subject: Reply with quote

"Static" is a relative term if you mean green addresses, also the path may be right but the base may change, etc.

Nowadays on modern games usually a combination of scripts or the pointer scanner work better.
http://forum.cheatengine.org/viewtopic.php?t=572465

_________________
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4715

PostPosted: Thu Dec 10, 2015 10:26 am    Post subject: Reply with quote

A static pointer just means that the base address of the pointer doesn't change when the process is restarted. The pointer path itself is probably dynamic, so if any block of memory in that pointer path is deallocated, the end result will be that the pointer points to a block of memory that doesn't exist (value = ??). So a static pointer will always directly point to some address, but that address doesn't have to have a value associated with it.

Using the pointer scanner is much better and faster than doing it manually.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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 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