View previous topic :: View next topic |
Author |
Message |
vergilganesh Expert Cheater
Reputation: 0
Joined: 01 Jul 2013 Posts: 134 Location: India
|
Posted: Sun Jul 28, 2013 11:50 am Post subject: superjump facing problem |
|
|
I have played mark of ninja pc game. I found the address controls height of the player. I analysed codes there is fadd instruction. I just multiply with fmul instruction and i finishes superjump hack. But my player only remains in air for 1.5sec. How much he jumps fast that much he returns to ground. Is there anyway to reduce the speed while decreasing height? I want to seperate increasing and decreasing. But both are at the same instruction
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sun Jul 28, 2013 3:08 pm Post subject: |
|
|
Post your current script.
My bet is: we have to multiply only when value is bigger than 0
(it depends how they made it).
_________________
|
|
Back to top |
|
 |
vergilganesh Expert Cheater
Reputation: 0
Joined: 01 Jul 2013 Posts: 134 Location: India
|
Posted: Mon Jul 29, 2013 1:14 am Post subject: |
|
|
see the pics----------------------------
Description: |
|
Filesize: |
58.62 KB |
Viewed: |
3642 Time(s) |

|
Description: |
|
Filesize: |
49.16 KB |
Viewed: |
3642 Time(s) |

|
Description: |
|
Filesize: |
27.75 KB |
Viewed: |
3642 Time(s) |

|
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Jul 29, 2013 8:53 am Post subject: |
|
|
Code: |
(...)
alloc(va,8)
va:
dd (float)2.5
dd 0
newmem:
push eax
fcom dword ptr [va+4] // compare current value with 0.0
fnstsw ax
sahf
pop eax
jb originalcode
fmul dword ptr [va]
originalcode:
fadd dword ptr [ebx+78]
fstp dword ptr [ebx+78]
exit:
jmp returnhere
(...)
|
_________________
|
|
Back to top |
|
 |
vergilganesh Expert Cheater
Reputation: 0
Joined: 01 Jul 2013 Posts: 134 Location: India
|
Posted: Mon Jul 29, 2013 12:08 pm Post subject: |
|
|
the address is always zero.,, what does these codes actually means???
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Jul 29, 2013 4:53 pm Post subject: |
|
|
Code: |
push eax
fcom dword ptr [va+4] // compare current value ( ST(0) ) with 0.0
fnstsw ax // store StatusWord in the destination location (AX here)
sahf // store AH register ( AX contains AH and AL, EAX contains AX) info Flags (CPU)
pop eax // restore original EAX value
jb originalcode // jump if below (if ST(0) is below 0.0)
|
_________________
|
|
Back to top |
|
 |
|