View previous topic :: View next topic |
Author |
Message |
simbim Newbie cheater
Reputation: 0
Joined: 14 Jun 2016 Posts: 21
|
Posted: Tue Jun 14, 2016 9:46 pm Post subject: One hit kill |
|
|
Hello!
Starting my first question trying to make a one hit kill.
First I did a find out what adress this instruction access at Code: | fstp dword ptr [edi+00000154] |
I got two player and lots of enemies health.
All of the pointers using same offset 0154.
See picture
Now My question is how to do so that the player have god mode and enemies has 1 health.
Description: |
|
Filesize: |
326.7 KB |
Viewed: |
18721 Time(s) |

|
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Jun 15, 2016 3:13 am Post subject: |
|
|
Find a valid identifiert between human players and AI/enemy players. With default dissect data settings you should look for purple lines.
And if you don't understand what you're supposed to do or how to work with the results you may find, do the last step of CE's tutorial. It's basically the same.
|
|
Back to top |
|
 |
simbim Newbie cheater
Reputation: 0
Joined: 14 Jun 2016 Posts: 21
|
Posted: Wed Jun 15, 2016 10:58 am Post subject: |
|
|
Thanks!
I have checked every offset and I only find one which should be the right one if Im not wrong. But it also gives the enemy god mod too. Mabey something is missing in my code
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
cmp [edi+000000D0],00010100
jne originalcode
fadd dword ptr [edi+00000154]
jmp exit
originalcode:
fstp dword ptr [edi+00000154]
exit:
jmp returnhere
2F1D944A:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
2F1D944A:
fstp dword ptr [edi+00000154]
//Alt: db D9 9F 54 01 00 00 |
Description: |
|
Filesize: |
478.38 KB |
Viewed: |
18663 Time(s) |

|
|
|
Back to top |
|
 |
Matze500 Expert Cheater
Reputation: 8
Joined: 25 Jan 2012 Posts: 241 Location: Germany
|
Posted: Wed Jun 15, 2016 11:03 am Post subject: |
|
|
Hi
Is edi 3DEBC660 or is edi+154 3DEBC660 ?
if the first is true you need to use
Code: | cmp [edi+224],00010100 |
Greets Matze
_________________
|
|
Back to top |
|
 |
simbim Newbie cheater
Reputation: 0
Joined: 14 Jun 2016 Posts: 21
|
Posted: Wed Jun 15, 2016 11:17 am Post subject: |
|
|
Thanks Matze500 That one did not have an effect. I found one at offset 214. Now I have godmod and enemy take damage but I still miss one hit kill. Whats missing in my code?
|
|
Back to top |
|
 |
Matze500 Expert Cheater
Reputation: 8
Joined: 25 Jan 2012 Posts: 241 Location: Germany
|
Posted: Wed Jun 15, 2016 12:13 pm Post subject: |
|
|
Hi, you need to decrease the enemys health to zero instead of calling the originalcode.
If the function is called on hit:
Code: |
mov [edi+154],(float)0
fstp dword ptr [edi+00000154]
|
If the function is called permanently
Code: | enemy:
cmp [edi+154],(float)1
je originalcode
mov [edi+154],(float)1 |
Greets Matze
_________________
|
|
Back to top |
|
 |
cooleko Grandmaster Cheater
Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Wed Jun 15, 2016 12:47 pm Post subject: |
|
|
I typically set the enemy HP to 1 in games just in case there is a boss battle that you are supposed to lose or storyline triggers at certain HP markers, etc.
Code: | Enemy:
cmp dword ptr [EnemyHP], (float)1
jg SettoOne
//run the default code
jmp return
SettoOne:
mov [EnemyHP], (float)1
jmp return
|
This is entirely a personal preference to prevent breaking the game (after possibly not saving in the last 8 hours).
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Thu Jun 16, 2016 3:04 am Post subject: |
|
|
Also personally I'd take only one byte at "edi+224" as the identifier, which would then be "00" for you (human players) and "01" for AI players.
|
|
Back to top |
|
 |
simbim Newbie cheater
Reputation: 0
Joined: 14 Jun 2016 Posts: 21
|
Posted: Sat Jun 18, 2016 7:04 pm Post subject: |
|
|
Thank you guys. What ever I tried to do with that bas adress eaither it made the enemy one hit kill and me godmod or opposite. Ijust did what access and found another instruction so I created godmode in that one and its working perfect now.
Next thing I want to learn is how to make movement speed but Ill make a new thread. Just wanted to say thanks for guiding me
|
|
Back to top |
|
 |
finnegan waking up How do I cheat?
Reputation: 13
Joined: 05 Aug 2014 Posts: 0
|
Posted: Mon Jun 20, 2016 6:15 pm Post subject: |
|
|
speed hack would be great if you could apply it to routines in processes.
|
|
Back to top |
|
 |
|