 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
mafiozer Newbie cheater
Reputation: 0
Joined: 02 Sep 2010 Posts: 13
|
Posted: Wed Sep 08, 2010 9:59 am Post subject: PLS HELP GOD MOD HACK |
|
|
Hy i want to make cod 4 sp god mode hack, i find the health adress and i replace it wit nop"s and i am in god mod and enemies are in god mod so pls help me how to make god mode without enemy have it !!!
This is not only for cod 4 example:Gta san andreas or more games.....
(sorry bad english) but pls help ,make tutorial or explain me
Thanks!!!!!!
Dark_Byte Peace Brother !!!
|
|
Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Wed Sep 08, 2010 12:25 pm Post subject: |
|
|
You can do it with code injection which may be the harder but more sophisticated way, or You can do it by finding a pointer for Your health only and freeze Your health.
I suggest to beat the Cheat Engine tutorial to see how to find pointers.
If You need some help, You can find my tutorials and videos here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles
If You choose code injection to solve the issue, try to find a code which is accessing to Your health only so You can modify it to give max health for You. I am not sure if there is a code like that in this game, because I did not hack it. It is just a general advice.
_________________
|
|
Back to top |
|
 |
mafiozer Newbie cheater
Reputation: 0
Joined: 02 Sep 2010 Posts: 13
|
Posted: Thu Sep 09, 2010 8:56 am Post subject: |
|
|
i searched once on this forum and find something , i think when you find god mod you change jne into jmp or somethin similiar ,does you know something like that
|
|
Back to top |
|
 |
noko_112 Grandmaster Cheater
Reputation: 0
Joined: 09 Jun 2009 Posts: 585
|
Posted: Thu Sep 09, 2010 9:51 am Post subject: |
|
|
You are way off I think you read something cracking related, but does this work?
Trainers at bottom of the link btw
"http://www.gamewinners.com/Cheats/index.php/Call_Of_Duty_4:_Modern_Warfare_(PC)"
EDIT:
CEF cant format the url properly
|
|
Back to top |
|
 |
mafiozer Newbie cheater
Reputation: 0
Joined: 02 Sep 2010 Posts: 13
|
Posted: Thu Sep 09, 2010 11:41 am Post subject: |
|
|
Geri i saw this on your forum
For a fine example on how to use the stack, compare, conditional jumps and mov, I will describe how did I make a "God Mode" for my soldiers in an RTS game, Warhammer: Mark of Chaos.
First of all You need to search for a soldier's health and check which code is writing to the address of health. However, this code is changing all of the soldiers' health in the game, including the enemy soldiers. So if You just turn off this code, everyone will be invincible. That would not be useful.
The code which is changing the health is the following:
008d0f08 - d9 56 04 - fst dword ptr [esi+04]
If You look in the memory browser, You will realise that the soldier's data structure is very simple in this game. As You can see it in the code, the health is stored on esi+04. The maximum health of the unit is 4 bytes later, so it is on esi+08. One more information: if the value before the health (esi) is 0, then the unit is Your unit. If it is not, then an enemy unit.
So the data structure is the following:
[esi] = player ID, if it is 0, then the unit is Yours
[esi+04] = health
[esi+08] = max health
With these information, we can plan our script now. It should do the following:
Check if the unit is Your unit.
If it is Your unit, change the healt to the maximum health.
The script will look like this:
fst dword ptr [esi+04] //original code which is changing health
pushad //save the registers
pushfd //save the flags
cmp [esi],0 //check if the player ID is equal to 0
jne +6 //if it is not 0, the program will skip the next 2 lines
mov eax,[esi+08] //copy the value of max health to eax
mov [esi+04],eax //copy eax to the health, so max health=health
popfd //load flags
popad //load registers
can you explain how to do that on other games, call of duty 4 ,gta san andreas ..... pls , i dont understand that very well,can you make some tutorial of any game using this script pls , i know lot of things in cheat engine i completed 9 tutorials easy i know lot of stuff"s but this i dont know the best ((((sorry bad english)))))) and pls make video tutorial !!
Respect
Geri
Dark_Byte
|
|
Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Thu Sep 09, 2010 3:42 pm Post subject: |
|
|
mafiozer wrote: | i searched once on this forum and find something , i think when you find god mod you change jne into jmp or somethin similiar ,does you know something like that |
I can think about 2 things with god mode and jump.
Jump over an instruction which is checking if You should be dead, this is working is some games.
Or check if the god mode is on or off.
About the god mode script for Warhammer, every game is different especially if we are talking about an FPS and an RTS game.
If You have read that part, there is another cheat too, with C&C Generals money. You should try out the same method with the health.
So find the health, find a code which is accessing to it. Check if the code is accessing to Your health only and attach a line in the code which is changing Your health to something high. If You find this code, most likely this method will work.
So when You find health, You need to check which code is accessing (not just writing) to Your health.
There are many reasons to have codes which are reading Your health, for example to be able to display it on the screen for You. If You find one, You can make a god mode script easily.
I did not hack COD4, so unfortunately I do not know how is it working exactly. I am not really an FPS fan.
_________________
|
|
Back to top |
|
 |
|
|
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
|
|