mitchell li
2014-08-21 18:19:31
I am writing a script to fight chickens. I set the color search to find the red beak. I set the mousespeed really high.
MouseSpeed := 1000000;
And this is the code for clicking the found x and y
mouse(x, y, 1, 1, MOUSE_LEFT);
But the game character missclick about 5% of the time.
I tested the script in paint and I can see the motion of the mouse.
Wouldn't 1000000 be high enough to move the mouse instantly?
idk why but this doesn't work
mouse(x, y, MOUSE_LEFT);
Also any suggestions?
MouseSpeed := 1000000;
And this is the code for clicking the found x and y
mouse(x, y, 1, 1, MOUSE_LEFT);
But the game character missclick about 5% of the time.
I tested the script in paint and I can see the motion of the mouse.
Wouldn't 1000000 be high enough to move the mouse instantly?
idk why but this doesn't work
mouse(x, y, MOUSE_LEFT);
Also any suggestions?