Hey guys, I made a fishing bot in C++ that I have been testing on private servers and it works fine.. But today when I tried on official classic wow I had a few issues.
One of them was SetForegroundWindow(HWND hWnd); is not setting the wow window to foreground (the handle to the window is correct)
The other one is that I can't send keyboard inputs with
Code:
keybd_event(keyCode, 0, 0, 0);
keybd_event(keyCode, 0, KEYEVENT_KEYUP, 0);
and also mouse inputs with
Code:
mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0);
Any ideas, or any additional information you need me to provide so you can think of something to assist? Much appreciated