Now I do not know if anyone knows this but if they do not this is some useful information. The "invulnerability" cheat code for KOTOR is a one time enter code. Once you have entered it, you will not have to enter it again if you quit the game and you will constantly have it, this also works with any give item codes, and, for example, "addpersuade" or codes like that that affect the characters status, I think pretty much every code works like that, expect one but do not quote me on that. The code I know that you will always have to re-enter every time you restart the game is the "infiniteuse" code. This code you will always have to reentered every time you play the game. Hope this is helpful.
Throughout the game visit yavin and all have good people (bastilla , Juhani) or whoever your best people are. Keep going back and forth between quests and yavin. Eventually you will see a group of tradoshans threatening the guy they leave. Ask him about them. Then do what you want finish quests then go back to yavin. You will see the tradoshans threatening the guy again. Say what ever you want but try to scare them away. They'll say ill be back. The guy will give you a good discount. Then leave and finish everything till you can go to the unknown planet. Don't go to the unknown planet cause once youre there you can't go anywher else. Go to yavin. Get everyone good weapons shields and stims cause this part is hard.if you saw the tradoshans go in there will be a cutscene and they unshield and attack. Beat them then talk to the guy and look at his items. Buy his mantle of the force and heart of the guardian. Rate this please. :-)
If your main party member is dead or dying in a hard battle, switch to a different party member and go and use a computer or something away from the battle, and your main party member will appear standing ther as well.
This works well on Tatooine while gong against Calo Nord, only instead of a computer, run past the markers and your main character will appear next to you.