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 


Need advice on finding all monsters.

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

Joined: 04 Jul 2015
Posts: 7

PostPosted: Sat Jul 04, 2015 8:48 pm    Post subject: Need advice on finding all monsters. Reply with quote

Hi everyone. I'm quite new to cheat engine and memory stuff, but I've started doing some reading so please be gentle.

I'm trying to make a simple bot for a game. Right now, I'm just trying to retrieve all the monsters on the map (their positions, health, whatnot). I am able to get the x,y coordinates of a single monster. Unfortunately, I couldn't seem to find some sort of pointer that points to all the other monsters, so I just tried checking what "accesses this address" and check if that opcode accesses other addresses as well. This gave me a bunch of addresses that refer to the coordinates of all the monsters I see on the screen. My problem with this approach is that I only get new addresses whenever a monster moves (since that's the only time x,y changes), so I can't really get all the monsters on the screen in an instant.

What approach do people usually do when trying something like this? Also, do all games have some sort of pointer that points to all the monsters, or do some games don't bother structuring the monsters at all (scattered around)?
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sun Jul 05, 2015 3:56 am    Post subject: Reply with quote

Do a pointer scan on a few of the monster addresses and see the point where they diverge?

And it depends on the game, some games consider monsters their own class of things with their own functions and stuff, others don't and lump them in with other stuff.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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