Opus
2012-05-24 20:58:33
I'm having some problems with the mining script I wrote (ie. modified the script from Kyle's tutorial) for mining copper rocks. There are two things in my script so far that aren't working.
1. It doesn't stop clicking while mining the rock, it keeps clicking at about 1 sec intervals.
2. When my inventory is full, it doesn't go on to my next procedure (dropping the ore), even though I specified to repeat…until(InvFull).
I was wondering if i could get help for any of these problems :)
1. It doesn't stop clicking while mining the rock, it keeps clicking at about 1 sec intervals.
2. When my inventory is full, it doesn't go on to my next procedure (dropping the ore), even though I specified to repeat…until(InvFull).
I was wondering if i could get help for any of these problems :)
procedure MineRock();
var
x, y : Integer;
Box : TBox;
begin
if(not(LoggedIn))then Exit;
MakeCompass('N');
Box := IntToBox(MSCX - 10, MSCY - 25, MSCX + 15, MSCY + 15);
repeat
if(not(FindNormalRandoms))then
begin
if(FindRock(x, y))then
begin
Wait(RandomRange(150, 250));
Mouse(x, y, 2, 2, mouse_Left);
Wait(RandomRange(100, 300));
while(Animating(Box, 750, 30))do
begin
AntiBan;
Wait(RandomRange(100, 300));
end;
end else
Exit;
end;
until(InvFull);
end;