Amsterdamn
2012-08-17 06:43:06
Okay so this is my first script ever and i have used an auto yakk killer but took out the pickupdrop funtion only. All it does it sit there and does anothing..i get this:
SRL Compiled in 0 msec
this is the script:
program Looter;
{$i SRL/SRL.simba}
var
x,y:Integer;
const
GoldCharm = 4746368;
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
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.
SRL Compiled in 0 msec
this is the script:
program Looter;
{$i SRL/SRL.simba}
var
x,y:Integer;
const
GoldCharm = 4746368;
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
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.