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 


Disabling Hit detection

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

Joined: 22 Jan 2014
Posts: 9

PostPosted: Sat Apr 04, 2015 6:05 am    Post subject: Disabling Hit detection Reply with quote

Wher i can start with this . I want dont react when sombody hit me
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sat Apr 04, 2015 10:18 am    Post subject: Reply with quote

You need to be an advanced "cheater" ( i.e. to know your way trough assembly language, and know how to debug a game ).

So the code of the game should look like this very sketchy pseudo code:

Code:
game_cycle:
do_Graphics_Calculations();

if_player_got_hit_then_execute_the_code_between_curly_braces
{
    /* this gets executed only if you get hit */
    do_damage_reaction();
    subtract_amount_of_damage_taken_form_player_health_meter();
    if_player_health_is_equal_to_or_less_than_zero_execute_the_code_between_curly_braces
    {
          display_game_over();
    }
}
do_some_other_stuff();
goto game_cycle;

so once you find the code that writes to your health, you can backtrace the code that does the reaction and nop it!
in the example above I placed the code that does the reaction above the code that subtracts damage, that is not always the case, it might be placed just below it, however, it is near the code that subtracts the damage taken form the players health.

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