Can't Create a accurate TPA to have my life.
So, I learned how to make a TPA and for it to click on a object, It works well for my miner(with the exception of the smoking rock having to be re-written every logout) and I tried making a TPA to find the bank but I feel like just using a single color would be more accurate.. well because it has been more accurate for me. I am trying to make simba click on a bank booth http://i47.tinypic.com/35idv00.jpg but when I was ACA I can never get good colors it always shows red on spots other then the bank booth:
http://i46.tinypic.com/2467wwl.jpg
-BTW I see CTS is on 1 but it shows almost the same results on 2
This same thing happens to me with DTM's..
What am I doing wrong? Btw my code finding the bank booth is:
Simba Code:
program test;
{$i srl/srl.simba}
Procedure FindTheBank;
var
tmpCTS, l, r:Integer;
BankTPA:TPointArray;
begin
MouseSpeed:=15;
tmpCTS := GetToleranceSpeed;
SetColorToleranceSpeed(2);
SetToleranceSpeed2Modifiers(0.69,1.67);
if FindColorsTolerance(BankTPA, 9281961, 1, 1, 516, 337, 7) then
begin
SetColorToleranceSpeed(tmpCTS);
SetToleranceSpeed2Modifiers(0.02, 0.02);
L := High(BankTPA)
wait(randomrange(60, 100));
mmouse(BankTPA[r].x, BankTPA[r].y, 2, 2);
wait(randomrange(100, 150));
clickmouse2(mouse_left);
wait(randomrange(2000, 2500));
end;
end;
begin
FindTheBank;
end.