its a basketball game
to take a shot you press "d" and hold it down for ~ a sec to get in the green bar to make it more sucessfull
so i press "D"
spy++ tells me this
003D0A80 P WM_KEYDOWN nVirtKey'D'
003D0A80 P WM_CHAR chCharCode'100' (100)
003D0A80 P WM_KEYDOWN nVirtKey'D'
003D0A80 P WM_CHAR chCharCode'100' (100)
003D0A80 P WM_KEYDOWN nVirtKey'D'
003D0A80 P WM_CHAR chCharCode'100' (100)
003D0A80 P WM_KEYUP nVirtKey'D'
Code
[DllImport("user32.dll")] static extern bool PostMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
-->
Code
PostMessage(gHandle, 0x0100, 0x44, 0x200001);
PostMessage(gHandle, 0x0101, 0x44, 0x200001);
PostMessage(gHandle, 0x0102, 0x44, 0x200001);
this works in chat but not to take the shot
halp
This post was edited by Numberwanx on Sep 22 2015 02:44pm