Hello guys,
I wrote a very simple Triggerbot for Paladins, basically all it does is it gets pixel color from the center of the screen (where crosshair is) and if its red it shoots. It works as intended the only problem is when you move mouse moderately fast around target it misses some shots. So what I would like to do is, when the crosshair gets red disable mouse movement, shoot and when it gets white (So its off target) enable mouse movement again. In C++ I tried using BlockInput(true)->BlockInput(false) but it blocks keyboard too, which is pretty bad. Is there any way to block mouse movement only? I have written this code both in AutoIt and in C++ so if you can help me in either language :D. Here are my codes:
AutoIt:
C++:
Thank you.
I wrote a very simple Triggerbot for Paladins, basically all it does is it gets pixel color from the center of the screen (where crosshair is) and if its red it shoots. It works as intended the only problem is when you move mouse moderately fast around target it misses some shots. So what I would like to do is, when the crosshair gets red disable mouse movement, shoot and when it gets white (So its off target) enable mouse movement again. In C++ I tried using BlockInput(true)->BlockInput(false) but it blocks keyboard too, which is pretty bad. Is there any way to block mouse movement only? I have written this code both in AutoIt and in C++ so if you can help me in either language :D. Here are my codes:
AutoIt:
C++:
Thank you.