gunminiho Expert Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 144 Location: peru
|
Posted: Mon Oct 18, 2010 3:19 pm Post subject: Player Movement Hook |
|
|
Hi to everyone , i was intrested on this particular part of my game , i was thinking on a way to get that of part memory where it can be done.
Anyone can give me a idea on where to look or atleast any directions ?
i guess DirectInput should get me there , but no idea how to get there
i wont mentione the game name because its not ****** here
i got this old version but its outdated now, and its not because i can't update it, its because it was a modification on that game to make it work with Joystick, so i guess it has been changed.
Code: | [ENABLE]
alloc(MYAUTOLR,1024)
label(StopMove)
label(MoveLeft)
label(MoveRight)
MYAUTOLR:
mov edx, [00C4D318]//
mov edx, [edx+1214]//
mov edx, [edx+00000C4]
cmp [edx], 4 //Character Frame Check
jne StopMove
mov edx, [00C4D324]//
mov edx, [edx+28]//
mov edx, [edx+4]//
mov edx, [edx+518]//
mov ecx, [00C4EDB4]//
mov ecx, [ecx+5EC]//
cmp [ecx], edx
jg MoveLeft
jmp MoveRight
MoveLeft:
mov [ebp-8],ffffffff
xor ecx,ecx
jmp 057CBB2D //39 45 ? 0F 9F ? 51 33 ? 39
MoveRight:
mov [ebp-8],1
xor ecx,ecx
jmp 057CBB2D//39 45 ? 0F 9F ? 51 33 ? 39
StopMove:
xor ecx,ecx
xor eax,eax
jmp 057CBB2D//39 45 ? 0F 9F ? 51 33 ? 39
057CBB26:
jmp MYAUTOLR
[DISABLE]
057CBB26: //33 ? 33 ? 39 45 ? 0F 9F
xor ecx,ecx
xor eax,eax
cmp [ebp-04],eax
setg al
dealloc(MYAUTOLR) |
You may be wondering why dont i use SendInput or keybrd_evnt.
Reason is that i need to my windows be minimized
|
|