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 make an Empire Earth Bot. Need advice

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

Joined: 25 Apr 2016
Posts: 1

PostPosted: Mon Apr 25, 2016 8:18 am    Post subject: Trying to make an Empire Earth Bot. Need advice Reply with quote

Hi, I am having trouble getting some values, in particular the list of the units info.

I have used Cheat engine to work out the structure of units, and have located their positions in the world, their hp, and their tile numbers that they are standing in. and I have all of these offsets. easy.

I am using this information to then use c++ to make a bot. At the moment the c++ app just draws a window with the world and units represented by squares, but eventually It will play the game as well.

What I'm having problems with is finding the pointer to the list of all units in the game. I'm fairly new to Cheat Engine, but have plugged in hours trying to get this to work, and have probably seen every youtube video and read every post on this website on the subject.

My best effort so far has gotten me about 95% of the units, but every now and again, one unit will go "invisible", replaced by giberish, and this tells me I'm not actually reading the list of units right now, but rather they just happen to mostly fall in this area in memory.

I guessed it was a list of pointers, but when I get like 4 units hp, and find the address affecting their hp, I cannot find any similar hex scans. I figured they would be like 4 apart or so, or at least have a pattern, but I cannot find any patterns, which tells me I'm looking in all the wrong places.

Any help/experience is appreciated. I am also wanting to inject input to the game to make the bot play. How would I do this with Cheat engine?
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