Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
Posted: Sat Apr 04, 2015 10:18 am Post subject: |
|
|
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 |
|