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 


Static Values

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

Joined: 04 Sep 2014
Posts: 1

PostPosted: Thu Sep 04, 2014 2:04 pm    Post subject: Static Values Reply with quote

I'm trying to find the ID of some monsters in a game. I found the IDs of monsters that I already encountered in the game, but I'm not sure how to use those IDs to find out the IDs of monsters I still don't have access to in the game (NOTE: In this game you can search for monsters and knowing the ID of a monster allows me to search that monster even if I'm actually searching for another monster).

Let's say the ID of a monster is 1135220225. The adress containing that value when I'm searching for the monster with ID 1135220225 is set like so:
mov [esi+eax+1C],ebx

I'm guessing that if I can understand how and when ebx is set to that value I should be able to find all the possible values, but I'm far too new to CE to be sure about it.

Anyway, some of the IDs I found are 1135220225, 178773340, 637843762. There is no evident correlation between them, so I don't see any other option.

PS: I'm trying to get a better understanding of this world rather than simply solving this particular problem, so anything closely related will be helpful Smile
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Sep 04, 2014 2:35 pm    Post subject: Reply with quote

Generally speaking, you probably won't be able to find the other ID's until they are actually loaded during game-play. I say this based on the approach that I assume you took and also because of the ID values that you are using. However, if you have, or could find, a text-based ID, you might be able to find them all without playing through the entire game.

For example, let's say you find a text-based ID that you can use, that identifies the type of monster you are looking at. In your data structure, let's say you find a text string at a particular offset, and after adjusting the text length, you get this:

/objects/class.c/characters/elf2.ddg

Now, if you search for the string characters (or any generic part of the above string), you'll not only see the string that relates to elf2 monster, but you may see many more, depending on the game.

Here, you can use common sense, do some digging, and you should be able to compile several structures and possibly find all of the monsters in the game.

That said, some strings relating to that structure may only be visible when they are loaded by the game...so you'll have to use a string set that loads during game start-up.

A good way to find useful strings is to load one or two of the monster structures, and perform a string-based comparison/search with the structure spider. This is where I would start. Find some workable strings and start searching to see what else you can find by using a part of that string-based identifier.
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