Ok, so I have a *really* crappy and basic powerminer built. Long story short, it needs some work and I had a quick question...
Is there a way to set it so it waits for the rock it's mining to be empty before it clicks on a new rock?
If so, can you explain/show me?
And if it's easier, here is my current script
{Added wait times to help but still not effective enough}
Program TestMiner;
{.include SRL/SRL.scar}
Var
x,y: integer;
const
rockcolor= 2376036;
Procedure ClickRock;
Begin
Repeat
If(FindColor(x,y,rockcolor,0,0,700,700))Then
MMouse(x,y,0,0);
wait(2500+random(2500));
Mouse(x,y,0,0,true);
Until(InvFull);
End;
Procedure DropOre;
Begin
DropAll;
End;
Begin
SetupSRL;
Repeat
wait(4000)
ClickRock;
DropOre;
Until(false)
End.


Reply With Quote

