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 


Trying to Read Memory in Python (Static Pointers)

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

Joined: 11 Oct 2023
Posts: 3

PostPosted: Tue Oct 08, 2024 4:29 pm    Post subject: Trying to Read Memory in Python (Static Pointers) Reply with quote

I managed to read memory from a dynamic adres in python and i am now trying to read from a static adress.

I compared 2 pointerscans on 2 different instances of the same application with each other. Next i took the pointers and validated that they worked by deactivating the pointers. This ensures I have the correct pointers.

Now i see this (i also included as attachment)

_________________________________________
Address:
2266180CE08=5
Description
pointerscan results
Type
4 Bytes
[ ] Hexadecimal [ ] Signed
[V] Pointer
< 238 > 2266180CBD0+238 = 2266180CE08
< 68 > [266FA2F8F50+68] -> 2266180CBD0
< 18 > [2265D0AD770+18] -> 266FA2F8F50
"coreclr.dll"+0048CC08 -> 2265D0AD770
__________________________________________

now "coreclr.dll"+0048CC08 does equal to 2265D0AD770. this makes sense. However 2265D0AD770+18 does not equal to 266FA2F8F50. So in my code when i tell my code to read memory from "coreclr.dll"+0048CC08 + 18 + 68 + 238 i dont end up on the adres 2266180CE08. My code ended up at adres 0x2265d0ada28.

Am i not understanding the window cheat engine is presenting me? is it faulty? I would really appreciate any kind of help



ct.png
 Description:
pointerscan results
 Filesize:  14.05 KB
 Viewed:  3794 Time(s)

ct.png


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

Joined: 06 Jul 2014
Posts: 4695

PostPosted: Tue Oct 08, 2024 4:43 pm    Post subject: Reply with quote

`[address1 + offset] -> address2` means "the value of the pointer at the address `address1 + offset` is equal to `address2`"

Don't just add a bunch of offsets to each other. You have to dereference addresses as you traverse the pointer path.

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

Joined: 11 Oct 2023
Posts: 3

PostPosted: Wed Oct 09, 2024 7:23 am    Post subject: Reply with quote

Thx! exactly what i needed.
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