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 


[Tutorial] Dissect data/structures in Cheat Engine
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials
View previous topic :: View next topic  
Author Message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Tue Jan 25, 2011 12:23 pm    Post subject: Reply with quote

You need to type in the value of ESI.

ESI is the base address of the structure.
EAX is the number of the item in a list and 334 is the offset where the list is starting.

esi+eax*4+00000334

In my case, for that M4A1 or what, EAX was 0A which means that this weapon is the 10th item in the list. So the code is working like this:

base address+number if the item*4+starting offset of the ammo list in the structure

The *4 part is needed because the ammo is stored on 4 bytes.

So at offset 334, You will find the first weapon's ammo.

334: 1st weapon's ammo
338: 2nd weapon's ammo
33C: 3rd weapon's ammo
340: 4th weapon's ammo

and so on.

So eax is always changing depending on which weapon's ammo is accessed, but ESI is always the same, it is the base address of the whole structure.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
mafiozer
Newbie cheater
Reputation: 0

Joined: 02 Sep 2010
Posts: 13

PostPosted: Tue Jan 25, 2011 12:28 pm    Post subject: Reply with quote

awwwww
i dont understand it very well , pls if you can make video tutorial , show me how you finded your eax of gun and show me what you typed in window pls
pls
pls
peace geri!!!!!!!!!!
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Tue Jan 25, 2011 12:32 pm    Post subject: Reply with quote

On this picture, the base register is EDI.
The address that I put in in the data dissector is 00E0D8E8.

If it is still not clear, I will put up a video about it but later, have to go to do some stuff now.



cod4_registers.jpg
 Description:
 Filesize:  58.87 KB
 Viewed:  38073 Time(s)

cod4_registers.jpg



_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
mafiozer
Newbie cheater
Reputation: 0

Joined: 02 Sep 2010
Posts: 13

PostPosted: Tue Jan 25, 2011 12:40 pm    Post subject: Reply with quote

yep i think you need to make tutorial xDDDD
pls make !
peace geri!!!
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Tue Jan 25, 2011 2:57 pm    Post subject: Reply with quote

Ok here is a video about it. I don't have too much to say about it.

The base address in that code is EDI. I just add the address stored on EDI in the dissector and CE will generate the structure. Offset 3C holds the value for the weapon reload time, offset 624 is the accuracy modifier. You can see how are those values changing when I fire the gun.

The reload time is changing it's value all the time when I keep firing, but if I freeze it with code injection, I can fire much faster (faster than on the video because the recording has slowed down the whole game).

Same goes for accuracy. It is 0 by default and it is changing when I fire the gun and accuracy is decreasing. Then it will be 0 again if the accuracy is the default value again. If I enable my cheat for accuracy, the value will be always 0 and the accuracy is not changing whatever You do.

Freezing those values is not the best idea as they are changed too quickly, but as You can see, code injection will work perfectly on them.


Link

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
mafiozer
Newbie cheater
Reputation: 0

Joined: 02 Sep 2010
Posts: 13

PostPosted: Tue Jan 25, 2011 3:41 pm    Post subject: Reply with quote

thank you dude very very mutch xD
peace brooo !!!!
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Tue Jan 25, 2011 3:56 pm    Post subject: Reply with quote

So did You find it in Your game version too?
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
mafiozer
Newbie cheater
Reputation: 0

Joined: 02 Sep 2010
Posts: 13

PostPosted: Wed Jan 26, 2011 2:54 pm    Post subject: Reply with quote

yes i did find it xD it works thx you very mutch
and yes
i saw on youtube you dont have profile image so i maked you one xD
peace bro!!!
img823.imageshack.us /img823/4300/gerin.jpg
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed Jan 26, 2011 3:24 pm    Post subject: Reply with quote

Haha, cool! Thx. It even has a CE logo. Smile
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
mafiozer
Newbie cheater
Reputation: 0

Joined: 02 Sep 2010
Posts: 13

PostPosted: Wed Jan 26, 2011 3:25 pm    Post subject: Reply with quote

yes i put ce logo too because you are fucking ch freak xDDDDD
peace bro
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed Jan 26, 2011 3:30 pm    Post subject: Reply with quote

Yep, I am. Smile
I hate profile pictures but I have added this one for avatar.

Nah, it's too big for an avatar but still good for other profiles.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
jaruki12
Cheater
Reputation: 0

Joined: 07 Jan 2011
Posts: 28

PostPosted: Thu Jan 27, 2011 4:08 am    Post subject: Reply with quote

hey..

i've try to find the rate of fire
but i dont see any change of value in the dissect data/structure

there are some change but i dont think it is the rate of fire that im finding for
eg: the value that changed is the value of the bullet

im playing counter strike condition zero
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Thu Jan 27, 2011 5:11 am    Post subject: Reply with quote

If You cannot find it "manually", just use the speedhack. Slow down the game to 1-5% speed and search for the reload time after You have fired the weapon. Probably it is a decreasing value but You can never know, so try to search for increased values too if You don't find it.
First narrow down the search range to the structure only and if You don't find it there, search for it globally in the whole game (or near the other data).
Also as You can see it on the video too, the reload timer is usually the same value which is stored for reload between two shots or load a new clip when You are out of ammo. So You can try to search for the timer when You change clip too.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
jaruki12
Cheater
Reputation: 0

Joined: 07 Jan 2011
Posts: 28

PostPosted: Thu Jan 27, 2011 10:51 pm    Post subject: Reply with quote

i tried to use the speedhack.. and i found the address but it seem that i only make the motion faster but not the shot Confused
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Thu Jan 27, 2011 11:16 pm    Post subject: Reply with quote

I have never played Counter Strike so I have no idea how is it working in that game, but the method I have used for COD4 should work in almost every game.
And if speedhack is working, probably You can find the timer if You try patiently.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
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 Tutorials All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
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