Yeah it was NOPing lines that weren't even involved with the selected code; And that was what was causing it to crash.
[Edited by Sil3nt_Pr0digy, 3/18/2010 10:59:34 PM]
Okay, So I found out that I can't... and that I need to isolate it more, to find the location of the player's health... i'm trying to find websites which properly explain how movss works.
[Edited by Sil3nt_Pr0digy, 3/19/2010 12:14:52 AM]
Nice little find for an accident.
It is the same premise as Heaven Or Hell mode, except it will work to your advantage on Dante Must Die mode, because normally enemies have normal health, and Dante will die from 1 hit... It evens it up as if it was still Heaven Or Hell mode :þ
Kind of a cheap thing, but nice to have anyways.
I started using code injection for my trainers :þ yay, I no longer have to do the noobish way of simply NOPing code and I actually build a success code cave. Not that it was difficult, I'm just glad that I am grasping it correctly.
[Edited by Sil3nt_Pr0digy, 3/20/2010 12:42:05 PM]
Original Code From Memory: 004F930E - 89 be 84 06 00 00 - mov [esi+00000684],edi
Code To Be Injected: 004002E5 - mov [esi+00000684],157
Infinite Ammo Button Code:
004002E5 - c7 86 84 06 00 00 57 01 00 00 - mov [esi+00000684],00000157
004002EF - c3 - ret
004002F0 - 90 - nop
004F930E - e8 d2 6f f0 ff - call 004002e5
004F9313 - 90 - nop
Original Code From Memory: 00521624 - 89 81 94 05 00 00 - mov [ecx+00000594],eax
Code To Be Injected: 004002F1 - mov [ecx+00000594],157
Infinite Power Nodes Button Code:
004002F1 - c7 81 94 05 00 00 57 01 00 00 - mov [ecx+00000594],00000157
004002FB - c3 - ret
004002FC - 90 - nop
00521624 - e8 c8 ec ed ff - call 004002f1
00521629 - 90 - nop
The problem is that it is writing the second half for both pieces of code(the call instruction and the nop instruction) and if I am messing with the code in CE, the it works fine; But if I don't, and I run it, the game crashes, curious as to why it was doing this, I used Debug.
When running Debug I found that 12 bytes per button were not being written, the first half of the code; curious, isn't it?
Does anyone know why this would happen? why can I inject my code in CE, but not using the poke function in a TMK built trainer?
[Edited by Sil3nt_Pr0digy, 3/20/2010 5:29:52 PM]
Found out what the problem was... I was using a Read-Only address for my code cave, dumb mistake, I forgot to uncheck to scan for read-only address. Oh well, it's fixed now :þ
I'm getting better at least.
[Edited by Sil3nt_Pr0digy, 3/20/2010 7:11:49 PM]
* Updated game trainers and cheats daily
* Get notified when new cheats are added
* Request which games get new trainers
* Priority support with any problem