Posted: Fri Jan 17, 2020 4:19 am Post subject: Need help with get GetAsyncKeyState
I'm new to this so everything i've read so far has gone over my head.
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
sub [ecx+eax*2+0A],dx
exit:
jmp returnhere
"BH6.exe"+97A3F7:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"BH6.exe"+97A3F7:
sub [ecx+eax*2+0A],dx
//Alt: db 66 29 54 41 0A
I just want to disable this sub when i left mouse click. Can anyone write the code for me & tell me what exactly did you do?
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
pushad
pushfd
push 1 //this is what changes the key. This is not my main account so I can't submit urls, but just google Virtual Key Codes and you should find a list of codes for rebinding.
call GetAsyncKeystate
shr ax,F
cmp ax,1
jne originalcode
popfd
popad
jmp returnhere
originalcode:
popfd
popad
sub [ecx+eax*2+0A],dx
exit:
jmp returnhere
"BH6.exe"+97A3F7:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"BH6.exe"+97A3F7:
sub [ecx+eax*2+0A],dx
//Alt: db 66 29 54 41 0A
Hope this helps. _________________
How fair is it that you are the only one with a One Hit Kill? What if the AI had just as much power? That would definitely make the gameplay a bit more...EXTREME!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum