Ejjman
2006-04-26 22:32:16
Can anyone help me with a progress report?! I just want a simple one that says 'You've mined X ores!' Can any1 help me? Here is my current code, and it works great.
//Walk here by Ejjman1
//Runs over and clicks on a copper rock to mine.
{Version 1-Put character next to rock LOL.
Version 2-Moved mouse to rock.
Version 3-Added SRL
Version 4-Started using FindColorSpirals
Version 5-Successfully got 1 Copper Ore
Version 6-Successful to get a full load}
program New;
{.include SRL\SRL.scar}
procedure coppermine;
begin
SetupSRL;
If(FindColorSpiral(x,y,607076,255,222,273,238))or
(FindColorSpiral(x,y,607076,255,222,273,238))then
MMouse(x,y,2,2)
wait(1000);
ClickMouse(x,y,True)
wait(4000+random(10000));
end;
begin
repeat
coppermine;
until(false);
end.