in_jeopardy
2006-09-04 15:12:58
Be nice, it's my third script that works :D
I would apreciate feedback and tips on how to improve it.
I have updated the script a fair bit since the first post, so i thought I'd give a link to the current one:
I would apreciate feedback and tips on how to improve it.
//------------------------------------------------------------------
// In_Jeopardy's
// Normal Log Cutter
//
// *Instructions*
// place character in an area that has lots of normal
// trees, use the crosshair to select the ruenscape
// client, pick the colour of the normal tree and place
// in line 41, press play and enjoy, (have your axe
// equipped or it wont work
//
//
// *Features*
// - will cut a full load of normal logs
// - will drop logs when inventory is full
// - checks for randoms
//
// *Credits*
// By In_Jeopardy
// With help from Sumilion =]
// With some guidance on log dropping from JLewis
//
//
//------------------------------------------------------------------
program BasicTreeCutter;
{.include SRL\SRL.scar}
{.include SRL\SRL\skill\WoodCutting.scar}
Var TempCount, CutMark, Mymark : integer;
procedure Setup;
begin;
SetupSRL;
ActivateClient;
MouseSpeed := 20;
end;
procedure colourpick1;
begin;
If FindColorSpiral(x, y, 2246712, 000, 000, 516, 337) Then;
begin;
Mouse(x, y, 3, 5, true);
TempCount := InvCount;
MarkTime(CutMark);
repeat
FindNormalRandoms;
Wait(200)
Until(InvCount = TempCount +1) Or (TimeFromMark(CutMark) >= 10000)
end;
end;
begin;
Setup;
repeat
marktime(mymark);
repeat
colourpick1;
until(InvFull) Or (TimeFromMark(MyMark) >= 60000) Then;
begin;
DropAllLogs;
end;
Until(false);
end.
I have updated the script a fair bit since the first post, so i thought I'd give a link to the current one: