doxin
2012-12-20 01:12:56
hi so im trying to write a mining script for a 2006 rsps but the bot doesn't seem to click the iron rock. it hovers over every rock but doesn't click. i've tried FindColor and Mouse(x, y, 2, 2, true) and it still won't click. here's the script as of now. I know FindObj probably won't work with the updated SRL but i seriously need help here.. i also wouldnt mind to have a tutor :D pm me for my msn
program IronMiner;
{$i srl/srl.simba}
procedure MineIron;
var x, y: integer;
begin
if FindObj(x, y, 'ine', 2371664, 15) then
begin
Mouse(x, y, 2, 2, true);
end;
end;
begin
SetUpSrl;
SetDesktopAsClient
MineIron;
end.