Hacking How to create cheat codes that make players invincible

  • Thread starter Thread starter Rocks1867
  • Start date Start date
  • Views Views 552
  • Replies Replies 6

Rocks1867

Active Member
Newcomer
Joined
Jan 7, 2022
Messages
34
Reaction score
2
Trophies
0
Age
29
XP
260
Country
Japan
As the title says, I would like to know the general method of creating cheat codes that make the player invincible. By invincible, I mean a cheat that completely avoids enemy attacks in action games like the Mario series or the Resident Evil series. It is not a cheat that makes damage zero. I have knowledge of disassembly.
 
More than a cheat, that's related with game logic.

Most of the time, the game compares the player's X/Y position regarding objects and/or NPCs that could cause damage.

You would need to find a way to make the game logic so it never finds a matching position of them both at any given time.

In a programming language you can easily do that by using an IF logic comparison, or a set of them by using a WHILE/WHILE NOT. Or even by nulling such comparison's valid state.

Nesting IF comparisons is considered a bad practice.
 
  • Like
Reactions: NanashiFinal13
Thank you for your reply. Please tell me the cheat code to avoid being attacked in DS or 3DS action games. Any game like the ones mentioned above is fine. I understand that it has to do with coordinates, but I still don't know how to actually specify the address, so I would like to test it using an actual cheat code. I'm using dessume, so I would like to paste the code into readpoint and test it.
 
Please tell me the cheat code to avoid being attacked in DS or 3DS action games.
Surely you realize that every game is different and there is no such thing as "the cheat code" that will work in every game..? Because that's what your sentence suggests.

so I would like to test it using an actual cheat code.
Are you suggesting that on your own you haven't been able to find any invincibility code anywhere for any game..?
 
I'm saying that if there is a cheat code in an action game that allows you to avoid being attacked by enemies, I don't care what the title is, but I want to know the cheat code. I know that the cheat code to avoid being attacked by enemies has to do with coordinates, but I don't know how to create it specifically, so I want to know the code that has already been created and work backwards to figure out how to do it.
 
I know that the cheat code to avoid being attacked by enemies has to do with coordinates
It doesn't, though. Some codes would work by "nulling such comparison's valid state" and thus be independent of coordinates. It is going to vary substantially from game to game.

so I want to know the code that has already been created
And have you been unable to find any such code on your own..?
 
Any DS or 3DS action game will do, so post a cheat to avoid being hit by enemies. I searched but couldn't find it.
 

Site & Scene News

Popular threads in this forum