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 scan and Alignment

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

Joined: 26 Apr 2024
Posts: 2

PostPosted: Fri Apr 26, 2024 4:12 am    Post subject: Pointer scan and Alignment Reply with quote

I have an old game that was made in 2004. When I try scanning for a certain value like ammo, for example, the scan list doesn't return any value after reducing the amount of ammo. I have tried scanning for unknown initial values and searching for decreased values each time the magazine reloads occur, and I have had luck getting the value. However, it is a gigantic value and does not reflect the real ammo value. But when I increase the value, the ammo does increase. I have tried changing the alignment from 4 to 1, and the real ammo value does show. Now, I want to do a pointer scan on this value, which its address is not a multiple of 4, but the pointer scanner refuses to scan such an address (not a multiple of 4). By increasing the address number to become a multiple of 4, can I do something about such an issue. I want to force the pointer scanner to use the exact address, not a multiple of 4?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 141

Joined: 06 Jul 2014
Posts: 4337

PostPosted: Fri Apr 26, 2024 1:24 pm    Post subject: Reply with quote

You can adjust the last offset of the pointer path yourself.

Of course, if pointers aren't aligned either, then the pointer scanner won't work. There should be an "unaligned" option somewhere in the pointer scan settings IIRC. Something about "compressed pointerscan files" might need to be disabled too. Make sure you're using multiple pointermaps. See this for more information:
https://www.youtube.com/watch?v=3dyIrcx8Z8g

PS: are you sure it isn't a 2-byte or 1-byte value? Look at what instructions access the address of that value and it'll give you a good idea of what type the game is treating that value as.

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

Joined: 26 Apr 2024
Posts: 2

PostPosted: Fri Apr 26, 2024 2:56 pm    Post subject: Reply with quote

Thanks alot
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