Hey dev's.. I've discovered some weird issues and I don't know if it's SRL or Simba at fault here, please move this thread if this isn't the appropriate forum..
I can't seem to get some functions to call when they are in the until(); bracket of a loop.. Here is an example of what I had to do to get findcolourtol to be called:
Code:
repeat
z:= z + 1;
SleepAndMoveMouse(384 + random(253));
if (findcolortolerance(x,y,2340527,525, 445, 527, 447, 10)) then
begin
z:= 111;
end;
until(z >= 111); //found colour
This is the code which will compile but causes an endless loop:
Code:
repeat
SleepAndMoveMouse(384 + random(253));
until(findcolortolerance(x,y,2340527,525, 445, 527, 447, 10)); //never looks for colour
I had another problem, but it is no longer present..
I would also appreciate if a mod would remove the "Miserable user" status from my account, as happened with Wanted.. I don't think such an open-source-preaching community should be so closed-source with it's member structure anyway..