Whilst looking over some stuff I noticed the game loop Peaks a message from the window message queue.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
push 1 ; wRemoveMsg
push 0 ; wMsgFilterMax
push 0 ; wMsgFilterMin
push 0 ; hWnd
lea ecx, [esp+468h+Msg]
push ecx ; lpMsg
call ebp ; PeekMessageA
test eax, eax
jz loc_403854
It may be possible to simulate mouse (and keyboard*) input using PostMessage / SendMessage API.
Rather than the SendInput API.
I know anti hacks detect SendInput but maybe they do not bother to look at PostMessage and SendMessage.
I should note that the game appears to use dinput for keyboard input for most things other than text input.
Anyway sending the messages like this might be a way to script mouse bots that are not detected.
Thoughts?
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
push 1 ; wRemoveMsg
push 0 ; wMsgFilterMax
push 0 ; wMsgFilterMin
push 0 ; hWnd
lea ecx, [esp+468h+Msg]
push ecx ; lpMsg
call ebp ; PeekMessageA
test eax, eax
jz loc_403854
It may be possible to simulate mouse (and keyboard*) input using PostMessage / SendMessage API.
Rather than the SendInput API.
I know anti hacks detect SendInput but maybe they do not bother to look at PostMessage and SendMessage.
I should note that the game appears to use dinput for keyboard input for most things other than text input.
Anyway sending the messages like this might be a way to script mouse bots that are not detected.
Thoughts?