| View previous topic :: View next topic |
| Author |
Message |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Sun Sep 13, 2015 10:25 pm Post subject: Code Cave Problem |
|
|
I'm making code cave script for ammo in game Ghost Recon advanced warfighter 2 but this game crash .Please Help me for making code cave script for ammo.
Last edited by sjl002 on Sun Sep 13, 2015 10:37 pm; edited 1 time in total |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Sun Sep 13, 2015 10:42 pm Post subject: |
|
|
Post your AA code so we get an idea what are you doing wrong. _________________
|
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Sun Sep 13, 2015 10:49 pm Post subject: |
|
|
| I'm not doing wrong. STN please help me for making code cave for Ammo ghost recon |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
Posted: Sun Sep 13, 2015 11:04 pm Post subject: |
|
|
That code appears to be fine, show a screenshot of the memory viewer where the mov instructions are _________________
|
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Sun Sep 13, 2015 11:10 pm Post subject: |
|
|
| but this game Does it crash |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
Posted: Sun Sep 13, 2015 11:15 pm Post subject: |
|
|
Try changing this
| Code: | "graw2.exe"+38BE51:|
mov esi, eax
pop esi
pop eax
nop
nop
nop
returnhere: |
_________________
Last edited by Snow1337 on Mon Sep 14, 2015 5:55 am; edited 1 time in total |
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Sun Sep 13, 2015 11:22 pm Post subject: |
|
|
| I want my ammo number 99 and freeze to 99 |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
Posted: Sun Sep 13, 2015 11:27 pm Post subject: |
|
|
"graw2.exe"+38BE51:|
mov eax, 63
mov esi, 63
nop
nop
nop
nop
nop
nop
nop
nop
nop
returnhere: _________________
|
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Sun Sep 13, 2015 11:35 pm Post subject: |
|
|
Your code is work.
nop
nop
nop
nop
nop
nop
nop
nop
nop
From where came the this nop's?
with using code writing this? |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
Posted: Sun Sep 13, 2015 11:42 pm Post subject: |
|
|
A nop is non operational, (i.e 90 offset).. you want to apply a nop for every offset that represents the instruction you dont want to operate (freeze)
At the bottom is where I got the offset amount which is 9 byte offsets so thats where 9 nops came from which would look like (90 90 90 90 90 90 90 90 90) _________________
|
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Mon Sep 14, 2015 12:10 am Post subject: |
|
|
What is this code work.
mov [pPlayer],eax
movzx ebx,byte ptr [eax+28]
mov [iID],ebx |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Mon Sep 14, 2015 5:35 am Post subject: |
|
|
| your code for ammo not work and game carshed. |
|
| Back to top |
|
 |
Snow1337 Catastrophic Cheatah
Reputation: 1
Joined: 12 Oct 2004 Posts: 183 Location: Your, Computer
|
Posted: Mon Sep 14, 2015 5:56 am Post subject: |
|
|
Try changing this
| Code: | "graw2.exe"+38BE51:|
mov esi, eax
pop esi
pop eax
nop
nop
nop
returnhere: |
_________________
|
|
| Back to top |
|
 |
|