This is what I came up with after awhile, also pretty much the only thing i changed was the way it attacked the yaks and make sure your not in combat
i used
Code:
if srl_infight = false then
Code:
program Yakkiller;
{$i SRL/SRL.simba}
var
x,y:Integer;
const
Monster = 2699326;
Monster1 = 2568773;
Monster2 = 3489360;
GoldCharm = 4746624;
Procedure AttackYak;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, Monster, MSX1, MSY1, MSX2, MSY2, 4)) then
begin Mouse(x, y, 3, 3, True);
wait(500)
end;
end;
Procedure Pickupdrop;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, GoldCharm, MSX1, MSY1, MSX2, MSY2, 5))then
begin Mouse(x, y, 5, 5, true); //If found will Left-Click on the x, y coordinates with a randomness between 5 pixelend
end;
end;
procedure main;
begin
repeat
AttackYak;
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.
Thanks
Stealth,