Brandon
2012-01-18 22:38:27
In simba, with out smart, this code returns true 100% of the time.. even with a very high tolerance..
In Simba with smart enabled, that same code above will return false every single time even with a tolerance of 50+
Why is this happening?
program new;
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
var
X, Y, cols: Integer;
begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.00, 0.03);
writeln(FindColoredAreaTolerance(X, Y, 6382182, MSX1, MSY1, MSX2, MSY2, 900, 1));
ActivateClient;
MouseSpeed:= 500;
MMouse(X, Y + 10, 0, 0);
cols:= CountcolorTolerance(6382182, MSX1, MSY1, MSX2, MSY2, 1);
writeln(cols);
end.
In Simba with smart enabled, that same code above will return false every single time even with a tolerance of 50+
program new;
{$Define Smart}
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
var
X, Y, cols: Integer;
begin
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.00, 0.03);
writeln(FindColoredAreaTolerance(X, Y, 6382182, MSX1, MSY1, MSX2, MSY2, 900, 1));
ActivateClient;
MouseSpeed:= 500;
MMouse(X, Y + 10, 0, 0);
cols:= CountcolorTolerance(6382182, MSX1, MSY1, MSX2, MSY2, 1);
writeln(cols);
end.
Why is this happening?
