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 scanning from a dynamic base address

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

Joined: 16 Oct 2024
Posts: 2

PostPosted: Wed Oct 16, 2024 10:42 pm    Post subject: Pointer scanning from a dynamic base address Reply with quote

Greetings,

I see that all of the pointer-scanning tutorials show how to get a pointer chain from a starting static address, like this : [gamemodule.exe + static_offset] + offset_1] + offset_2] = money_value.

But none shows how to get a pointer chain from a dynamic starting address. For example, now I have the address of the local player entity, i.e. p_localplayer, but this address is dynamic, which means in every game this address is different. And I know there is a pointer chain to get the health of this player, for example, the chain is [p_player + offset_1] + offset_2] + offset_3] = player_health.

The question is, how could I do pointer scanning to get this chain?

I find ways to get the address of the local player in every game, so the address of the local player is known. Also, I do a memory scan to get the address of the health value.

Then, I did a pointer scan on the health address, also I set the local player address as the "base address in range" option(from the local player address to the local player address). I set the max level of the pointer to 5 (I am sure that the pointer chain is 5-level).

But after the search, there is no result found. So I want to know if this pointer scanning method, which is searching from a dynamic base address, is correct or not.

Thanks for any help!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Oct 17, 2024 1:00 am    Post subject: Reply with quote

That should work but make sure the offset size is also set high enough

and base address should be in the range of p_localplayer and p_localplayer+8

---
Alternatively use the structure spider

set base address to p_localplayer , set pointer must be in range and enter two times the same address you're looking for

then do a scan

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

Joined: 16 Oct 2024
Posts: 2

PostPosted: Fri Oct 18, 2024 12:46 am    Post subject: Reply with quote

Dark Byte wrote:
That should work but make sure the offset size is also set high enough

and base address should be in the range of p_localplayer and p_localplayer+8

---
Alternatively use the structure spider

set base address to p_localplayer , set pointer must be in range and enter two times the same address you're looking for

then do a scan


Thanks for the help, Dark Byte! This works.

The trick is to set the range between p_localplayer and p_localplayer+8.

But another problem appears: I haven't found efficient ways to narrow down the results. As the base address and the target address were set, I thought the results should be few. But to my surprise, thousands of pointer chains are still found. Because the base address is dynamic, I cannot simply restart the game to filter out the wrong results, nor can I do a pointer map comparison.

Is there any suggestion to narrow down the results in this scenario?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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