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 


Finding pointers in Python Games

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

Joined: 18 Jul 2023
Posts: 1

PostPosted: Tue Jul 18, 2023 9:40 am    Post subject: Finding pointers in Python Games Reply with quote

Hi all, I have been learning some assembly and memory topics recently and went to try and use them to get some values in a game. I am fairly certain this game is coded in Python which I heard can make it impossible to find static addresses? Anyways, I can find the value with no issue and edit it and have it show up in game as expected. The problem is when I do a pointer scan, all of the pointers it gives me don't point to the correct value upon exiting and reopening the game.

So my question is, is it possible to find pointers from a static address in Python games? If not, is there another strategy I can use to find these values consistently even after restarting the game?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Tue Jul 18, 2023 1:26 pm    Post subject: Reply with quote

Disclaimer: I have no idea how python works at a low level.

If the code is compiled (static or JIT), you might be able to use a code injection to copy the address without too much trouble. Search for "injection copy"

If it's interpreted, you might be able to do that anyway, but you'll almost certainly have to deal with other addresses being accessed (CE tutorial step 9). Changing the bytecode being interpreted is an alternative.

_________________
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
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