tom99
2011-05-17 11:37:47
Hello this loop stop when its not supose to
Seems like it was fixed when i putted wait infront of colorcheck not after, but now another problem rs dont detect that i hit the login button wtf ?
im wondering of, this syntax shoud login in a player at login screen right ?
procedure ventforlogginn;
var
clogin: boolean;
begin
repeat
if(getcolor(374, 184)=3093559) and (getcolor(319, 183)=3093559) and (getcolor(410, 183)=3093559) and (getcolor(450, 183)=3093559) then clogin:=true;
wait(1000);
until(clogin = true)
clogin:=false;
writeln('logger inn nĂ¥');
end;
why is this ? im pretty sure it didnt find those colors it just skipped the loop.Seems like it was fixed when i putted wait infront of colorcheck not after, but now another problem rs dont detect that i hit the login button wtf ?
im wondering of, this syntax shoud login in a player at login screen right ?
clickmouse(377, 308,1);
The mousex and mousey are the X, Y coords you want to click