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 


Getting Coordinates for Objects that spawn and despawn

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

Joined: 19 Jun 2026
Posts: 2

PostPosted: Fri Jun 19, 2026 4:21 am    Post subject: Getting Coordinates for Objects that spawn and despawn Reply with quote

Hello! I’m new to CE so forgive me if the answer is obvious. I’m attempting to make a bot that performs a task on repeat in a 2d pixel art game. I could use pixel/image detection but I wanted to take it one step further and inject into the game to get the XY coordinates for the Player and the objects that spawn. I’ve successfully got Pointers for the Players XY coordinates, but I’m not sure how to proceed from here. The way it works in game is the player does an action, then the game spawns 3 different objects nearby the player in a random spot. The Player then has to interact with all 3 of them to complete the task. They will despawn after about 10 seconds so you gotta be slightly quick. My problem is how can I get a Pointer for something that’s being dynamically created? If it was an object that just went invisible and reappeared somewhere else, no problem. But that’s not the case. Is what I’m trying to achieve essentially impossible? Or is there a good way to achieve it?
Back to top
View user's profile Send private message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 522

PostPosted: Fri Jun 19, 2026 11:39 am    Post subject: Reply with quote

the game must store those objects nevertheless, a list or a organised heap structure, point here is that you would need to find that list and then find appropriate fields that identify that object as specific object you want
Back to top
View user's profile Send private message
outlawvv
How do I cheat?
Reputation: 0

Joined: 19 Jun 2026
Posts: 2

PostPosted: Fri Jun 19, 2026 11:12 pm    Post subject: Reply with quote

Gotcha. Are there any good guides for that that you would recommend?
Back to top
View user's profile Send private message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 522

PostPosted: Fri Jun 19, 2026 11:15 pm    Post subject: Reply with quote

I would start by searching for coords for the object then its pointer, but I do also think that player is in that list too, so start by searching pointers for the player
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