Quote:
Originally Posted by jokerboy123
Does this work with every Patch?
|
Code:
alloc(newmem,256)
label(returnhere)
label(originalcode)
label(exit)
00703D6D: [COLOR="Blue"]// The address of the instruction that tells the client which animation to play when someone jumps[/COLOR]
jmp newmem
nop
returnhere:
newmem:
mov eax,[911f5c] [COLOR="Blue"]// Player base pointer. Purpose of the code is to check whether it was yourself or someone else who jumped - only change the animation of other players.[/COLOR]
cmp eax,ecx
je originalcode
mov [edi],00000395
jmp returnhere
originalcode:
mov [edi],00000082
exit:
jmp returnhere
That's for 5389