Ever noticed when your running scripts that the mouse moves somewhere, seems to check the up text, then clicks. But the click is in a slightly different position to the move which results in the mouse 'twitching' effect. This is an example of where it can be found.
SCAR Code:
Findbitmap(x, y, bitmap); // W/e the function is, just an example
MMouse(x, y, 5, 5);
If (uptext('sexy ss23') then
Begin
Mouse(x, y, 5, 5, True);
Writeln('Yahs for sexy ss23!!!');
end else
Writeln('Fail');
Now the problem arises where you move the mouse with random ness, and click with random ness. It makes problems.
The first (but wrong) soloution would be having the second click as (x, y, 0, 0, True) but this will fail too, as the random ness moving there will be useless, and the mouse will twitch back to the perfect place anyway.
The so called 'proper' soloution would be this
SCAR Code:
Findbitmap(x, y, bitmap); // W/e the function is, just an example
MMouse(x, y, 5, 5);
If (uptext('sexy ss23') then
Begin
GetMousePos(x, y); // This ensures that we click in exactly the same place, while still retaining a 'random' click
Mouse(x, y, 0, 0, True);
Writeln('Yahs for sexy ss23!!! (Without twitching this time :)');
end else
Writeln('Fail');
My question is, does this matter for scripts? Is there an inceased chance of being banned etc. Whenever I script, I try to avoid this as I would think it would increase ban chances etc.
Does it?
And also, its also annoying with the mouse twitching. Makes me annoyed, but thats just me