| View previous topic :: View next topic |
| Author |
Message |
skwod How do I cheat?
Reputation: 0
Joined: 04 Jan 2008 Posts: 3
|
Posted: Tue Apr 03, 2012 1:14 pm Post subject: [Help]Map pointers |
|
|
Hello,
I'm gathering data from the game called Heroes of Newerth. Seen some stuff about multiplayer games no no. So lets keep us to the local practice mode(hehe), well atleast I'm not working on a project of evil, just educational as some may say.
Asking for some help because, I'm not so familiar with a tool like Cheat Engine and gather data, but it was very friendly so had some adventages.
Well my goal is to rip down the whole f-.. map. So I started out getting a object and picket out the "CurrentCharacter object". Great!. Now I have the player information.
Then I took 3 typical objects from the map pointer array. Great! The objects will never be in the same order, ok don't care.
Where should I start get all the pointers to the objects, I took a guess by looking at the memory that it starts at 543D0000. (Unsure)
Well, then gather some offsets to the objects so we can get some information out of it. Not a problem at all.
Right now I'm feeling so unsure about everything, so need some help from someone that have used CheatEngine and probably plays the game.
Someone can help me to solve the rest of the puzzle?
Well my conclusion is that I need know:
The Mappointer (If it's not the right adress to start on)
How do I know when the array ends?
Thought the next object was objectPointer+3F0 but didn't seam to be right, idk.
Oh, reading about AI right now so you may guess what I'm up to.
Ofc I'll add credits to you that helps me, the project will never be finished ofc. But it's always fun to watch the act!
I upload the table with what I have.
Table comments
| Code: | CurrentCharacter:
A pointer to the focused object (Not target) the controlled unit.
Objects:
Some examples on objects at the map, they are not binded in any way to a specific object.
The object can be a player, monster, building etc..
MapPointer Startadress:
I think it's there the data from the array of gameobjects starts.
When a adress writes to a pointer to a object:
It moves adress+3F0 Maybe each pointer object have 1008 bytes?
Example Offsets(There is a few more usefull but not important right now):
MaxHp 254
Hp 24C
PosX 90
PosY 94
Mp 250
Mp 258 |
| Description: |
|
 Download |
| Filename: |
hon3.CT |
| Filesize: |
4.65 KB |
| Downloaded: |
551 Time(s) |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25812 Location: The netherlands
|
Posted: Tue Apr 03, 2012 2:20 pm Post subject: |
|
|
I don't have this game but are you sure the objects start with 543d0000 instead of a pointer to a function table?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
skwod How do I cheat?
Reputation: 0
Joined: 04 Jan 2008 Posts: 3
|
Posted: Tue Apr 03, 2012 5:21 pm Post subject: |
|
|
| Dark Byte wrote: | | I don't have this game but are you sure the objects start with 543d0000 instead of a pointer to a function table? |
Yepp, 543d0000 useless.
err.. Still stuck. I'll keep trying later. I think I just don't get all the concepts how to find what I need. Hehe.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25812 Location: The netherlands
|
Posted: Tue Apr 03, 2012 5:25 pm Post subject: |
|
|
Here's a basic idea:
Object oriented programs often use classes.
The default way classes are defined in memory is a pointer to the list of it's methods followed by it's associated variables.
The pointer to the methods is for each object of the same class type the same, and 'tends to' point to static memory, meaning that value is always the same.
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|