in_jeopardy
09-04-2006, 04:34 PM
function InventoryFull: Boolean;
Counts all items in inventory. Returns True if full. False if not.
procedure DropAllLogs;
Description:
Will drop all logs, ignoring anythig you can Wield, Birds Nests,
Knifes and Tinder Boxes
Ok, I have these, can comeone please explain (slowly lol) how to use them in my script to get it to drop all of the logs?
program BasicTreeCutter;
//with help from Sumilion =]
{.include SRL\SRL.scar}
Var TempCount, CutMark : integer;
procedure Setup;
begin;
SetupSRL;
ActivateClient;
MouseSpeed := 20;
end;
procedure colourpick1;
begin;
If FindColorSpiral(x, y, 4483168, 000, 000, 516, 337) Then;
begin;
Mouse(x, y, 3, 5, true);
TempCount := InvCount;
MarkTime(CutMark);
repeat
Wait(200)
Until(InvCount = TempCount +1) Or (TimeFromMark(CutMark) >= 10000)
end;
end;
begin;
Setup;
repeat
colourpick1;
until(false)
end.
Thanks.
Counts all items in inventory. Returns True if full. False if not.
procedure DropAllLogs;
Description:
Will drop all logs, ignoring anythig you can Wield, Birds Nests,
Knifes and Tinder Boxes
Ok, I have these, can comeone please explain (slowly lol) how to use them in my script to get it to drop all of the logs?
program BasicTreeCutter;
//with help from Sumilion =]
{.include SRL\SRL.scar}
Var TempCount, CutMark : integer;
procedure Setup;
begin;
SetupSRL;
ActivateClient;
MouseSpeed := 20;
end;
procedure colourpick1;
begin;
If FindColorSpiral(x, y, 4483168, 000, 000, 516, 337) Then;
begin;
Mouse(x, y, 3, 5, true);
TempCount := InvCount;
MarkTime(CutMark);
repeat
Wait(200)
Until(InvCount = TempCount +1) Or (TimeFromMark(CutMark) >= 10000)
end;
end;
begin;
Setup;
repeat
colourpick1;
until(false)
end.
Thanks.