PDA

View Full Version : Smart is enabled cant find things which is obvious to find.



Equip
12-01-2018, 01:00 PM
What to do ?
Its searching for colors but cant find it anyway.
if(FindColorTolerance (x,y,1967089,0,0,788,586,10)) then Doesn't do anything not with smart on or off. cant find any colors which is obvious to find.



procedure colorred;
begin
if(FindColorTolerance (x,y,1967089,0,0,788,586,10)) then
begin
clickmouse(x,y,mouse_left);
writeln('found cow');

wait(200+random(200));
end;
1967089
end

end;
begin
repeat
inc(a);
colorred;
until(a=10);
end.



This is OBVIOUS i know the color is there so why doesn't it work? I tried to just use the mouse on smart with scar but new scar cant use find color for some reason.

tls
12-01-2018, 10:35 PM
There are no lines in your script that actually load/connect to SMART. You need to call SetupSRL at the start of the script.