Clicking works, but seems to lose window focus?
Here is a bit of code
PHP Code:
for i:= 0 to iMax do
begin
CMouse(165,90,165,90,true)
Wait (500 + Random (250));
//i:=i+1;
Writeln('iMax='+inttostr(iMax));
Writeln('i='+inttostr(i));
end;
It clicks a bit, and then the mouse jumps outside the rs window(but still in the client). I think i read on a post that jagex forces the window to loose focus or something, and someone had posted how to fix it?
BWUAHAH! Problem solved :) "dont have to use c mouse, can just use mouse, and i learned what the 3rd and 4th numbers do) So i was telling the mouse to leave the screen, and there was no problem!
Also, am i using cmouse correctly? or is there a better way to move a mouse and click on the coordinates?