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 


Decrease enemy health?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials
View previous topic :: View next topic  
Author Message
daninthemix
Cheater
Reputation: 0

Joined: 29 Jul 2013
Posts: 39

PostPosted: Sun Mar 15, 2015 6:15 am    Post subject: Decrease enemy health? Reply with quote

I'm thinking specifically for Shadow Man here, but how would I go making a one-hit-kill hack or decreasing all enemies health?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Sun Mar 15, 2015 6:51 am    Post subject: Reply with quote

Short version Wink:

First you need to find an address which access all (or if possible only the enemy's) health addresses.

Then you've to do a dissect on the found addresses in order to find a value which prevents your own character from getting killed by one hit.

As soon as you're done with it, write a small script which first checks if the current health address belongs to the player or an enemy.
If it belongs to an enemy, then execute the OHK-code, if not then jump to the original code ...
Back to top
View user's profile Send private message
daninthemix
Cheater
Reputation: 0

Joined: 29 Jul 2013
Posts: 39

PostPosted: Sun Mar 15, 2015 6:56 am    Post subject: Reply with quote

hhhuut wrote:
Short version Wink:

First you need to find an address which access all (or if possible only the enemy's) health addresses.

Then you've to do a dissect on the found addresses in order to find a value which prevents your own character from getting killed by one hit.

As soon as you're done with it, write a small script which first checks if the current health address belongs to the player or an enemy.
If it belongs to an enemy, then execute the OHK-code, if not then jump to the original code ...


Yikes! Way beyond my skillset, in other words Sad

Thanks
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Sun Mar 15, 2015 7:50 am    Post subject: Reply with quote

Then you probably should do the CE-Tutorial and learn the basics about memory and code injections ...
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sun Mar 15, 2015 10:14 am    Post subject: Reply with quote

Find one example of an enemy's health in RAM, find what writes to it. Edit that code to write 0, or subtract the EBP register or something like that.

http://forum.cheatengine.org/viewtopic.php?t=570083

_________________
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
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