Hey, Im having a problem with a bot i have made long time ago. It used to work until 2 days ago; Mouse clicks stopped working in game lobby, channels, server select, etc.. but it still works in game
that's the code of my click ( direct input )
Code:
INPUT input;
input.type = INPUT_MOUSE;
input.mi.dx = 0;
input.mi.dy = 0;
input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
SendInput (1, &input, sizeof(input));
Sleep(5);
input.mi.dwFlags = MOUSEEVENTF_LEFTUP | MOUSEEVENTF_LEFTUP;
SendInput (1, &input, sizeof(input));
Note: after finishing some games, with luck, the click works in the room lobby and keeps working untill i restart the game