Billybob 001
2009-06-28 07:38:49
program New;
{.include SRL\SRL.SCAR}
const
Copper = 4555235;
var
X, Y, T, V, F, S: Integer;
procedure DrpAll();
var
i: Integer;
arr:array of Integer;
begin
arr :=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,
18,19,20,21,22,23,24];
for i := 1 to 24 - 4 do
Swap(arr[RandomRange(i - 1, i + 4)], arr[RandomRange(i - 1, i + 4)] );
for i := 0 to 23 do
DropItem(arr[i]);
end;
procedure FindCopper();
begin
repeat
if (FindColorSpiralTolerance(X, Y, Copper, MSX1, MSY1, MSX2, MSY2, 30)) then
begin
T := T + 1
V := V + 1
MMouse(X, Y, 3, 3)
wait(700 + random(1001))
ClickMouse(X, Y, True)
wait(8000 + random(1001))
PickUpMouse;
writeln('T currently equals ' + IntToStr(T) + '! The current estimated experience is ' + IntToStr(V*17) + '!')
if (T=24) then
begin
F := F + 1
ClearDeBug;
T := 0
DrpAll();
writeln('T has reset ' + IntToStr(F) + ' time(s)!');
end;
end else
begin
S := S + 1
writeln('Failed to find ores ' + IntToStr(S) + ' time(s)!');
wait(3500);
end;
until(false)
end;
begin
SetupSRL;
FindCopper();
end.Dont quiet uderstand the report function just yet so I made some stuff that can give me an estimated report. Oh and I edited the dropall function so that way the last four spots in my backpack is reserved.