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 problems

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
zero973
How do I cheat?
Reputation: 0

Joined: 26 Jun 2019
Posts: 1

PostPosted: Wed Jun 26, 2019 12:29 am    Post subject: Pointer problems Reply with quote

I found the necessary variable and the structure itself (screen 1). Now when you restart the game pointer that I did (screen 2), immediately refer to the desired variable.
I restart the game, and the value of the pointer is "??"(I reconnected to the process of the game in CE) (screen 3). The situation changes after I find the variable "Health" and put a breakpoint on the record. Next, the game changes the value, it catches the debugger, and my pointer gets the current value of the variable "Health" (screen 4).
Q: why didn't the pointer get the value of the "Health" variable when the game started ?



4.png
 Description:
Screen 4
 Filesize:  78.99 KB
 Viewed:  2733 Time(s)

4.png



3.png
 Description:
Screen 3
 Filesize:  72.24 KB
 Viewed:  2733 Time(s)

3.png



2.png
 Description:
Screen 2
 Filesize:  14.75 KB
 Viewed:  2733 Time(s)

2.png



1.png
 Description:
Screen 1
 Filesize:  65.85 KB
 Viewed:  2733 Time(s)

1.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Wed Jun 26, 2019 1:38 am    Post subject: Reply with quote

what is the sourcecode of your program
With small programs there's usually a lack of paths you can take as the memory references haven't been duplicated a lot, and often no base address to latch on to

e.g if you did:
Code:

int main()
{
  CPlayer player1=new CPlayer()
  CPlayer player2=new CPlayer()
 
  ...

}

then you will NOT find a static address using the debugger. Best luck is then to use the pointerscanner and let it use threadstack0 as base

_________________
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
marioros
How do I cheat?
Reputation: 0

Joined: 01 Jul 2019
Posts: 1
Location: itali

PostPosted: Mon Jul 01, 2019 8:39 pm    Post subject: base pointer Reply with quote

pointer 340

  player_ptr + 340 = ok
                 n + 340 = error

[I don't know how to find (player_ptr), since the result returned by the access does not work, and the pointer scan takes too long, as I do? ]


I found the pointer 340
and relative, offset, then reaching the offset my then impossible to continue, since no basic pointer is returned.
and without the basic pointer that in my case and (player_ptr) I can't proceed. but I don't know how I could find it (player_ptr), since I didn't find it. and I need to understand getting it.
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