HACK CRASH

01/28/2010 16:51 denismnich#1
hello dudes...i got a little prob...when i enable the hacks with CE. it works...when i disable...i get crashed...can someone help me?
01/28/2010 16:55 skabed#2
When you change offsets, you need to change them also on the disable part of the script.
01/28/2010 16:55 ~Kakkarot~#3
+#1 reported at 28/1/10 GMT +1 16:55 cause wrong section

If you wan't to disable without DC then you need to restart the game and play with no hacks
01/28/2010 19:22 sachamo512#4
Quote:
Originally Posted by skabed View Post
When you change offsets, you need to change them also on the disable part of the script.
that's your problem, looking at a script, there is 2 parts that have offsets:

Quote:
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)

007E988A: // D9 40 08 5F
jmp newmem
returnhere:

newmem:
mov [eax+08],41000000 // change float point to desire speed
mov [eax+0c],41000000 // change float point to desire speed

originalcode:
fld dword ptr [eax+08]
pop edi
pop esi

exit:
jmp returnhere

a2E4C0:
dd 49600000

[DISABLE]
dealloc(newmem)
007E988A:
fld dword ptr [eax+08]
pop edi
pop esi

a2E4C0: // 64 79 00 00 54 5F 50 6F 72 74 00 00 52 5F 57 65 61 70 6F 6E 00 00 00 00
dd 61000000
You have to update both of them. You only updated the first one, which is why they turn on fine, but don't turn off without crashing. It's the same offset for top and bottom, just copy and paste in the correct spots and you should be fine!
01/28/2010 19:37 trane.#5
#Moved