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 calculation

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

Joined: 03 Dec 2017
Posts: 4

PostPosted: Thu Sep 20, 2018 3:38 pm    Post subject: Pointer calculation Reply with quote

Hello there,

I'm using autoit + a memory udf to change game memory, which worked fine 'til today and i can't even explain why, the only thing i know is that the automated "readMemoryPointer" or "writeMemoryPointer" is not working anymore, the default readMemory/writeMemory works fine, so i'm trying to manually calculate the pointers as a workaround.

So here's the problem:
when i'm reading the first pointer 7FFC21B46D60 with C++ ReadProcessMemory or the Autoit Memory UDF, i'm getting A52C1A80 and not like shown in the picture 1CDA52C1A80 , so basically im missing the first 3 hex characters (1CD00000000), everytime. So i can't manually add the addresses in autoit as im missing the full address there.

How are they calculated? How can i know them? They change every startup.

Thanks alot!



this.PNG
 Description:
 Filesize:  7.48 KB
 Viewed:  905 Time(s)

this.PNG


Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu Sep 20, 2018 5:00 pm    Post subject: Reply with quote

Are you reading 8 bytes?
_________________
Back to top
View user's profile Send private message Visit poster's website
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Thu Sep 20, 2018 5:45 pm    Post subject: Reply with quote

set number of bytes to read to '8'
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Sep 20, 2018 10:55 pm    Post subject: Reply with quote

and use a datatype that can hold 8 bytes (so not integer)
_________________
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
martiney1337
How do I cheat?
Reputation: 0

Joined: 03 Dec 2017
Posts: 4

PostPosted: Fri Sep 21, 2018 2:16 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
Are you reading 8 bytes?


Thank you guys, it was that easy yea.
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