NexPB
2012-01-17 15:32:26
Nevermind.
2012-01-17 15:32:26
2012-01-17 16:40:37
if FindObjCustom(x, y, ['posit'], [6784665], 14) then
begin
Mouse(x, y, 2, 2, True); QuickDeposit(SRL_DEPOSIT_ALL);2012-01-17 16:51:57
From: heshbush
if FindObjCustom(x, y, ['posit'], [6784665], 14) then
begin
Mouse(x, y, 2, 2, True);
To left click the box then;QuickDeposit(SRL_DEPOSIT_ALL);
To deposit all.
2012-01-17 20:18:04
procedure Loop;
begin
repeat //repeats the procedure.
if not (InvFull) then
begin
MineIron;
end else
if not (AtResource) then
begin
EnterResource;
end else
Bank;
Until(false); //repeats until False, but since the script never makes the procedure false, this repeats it forever.
end;
2012-01-18 10:20:55
From: Nebula
If you want it to repeat the procedure forever, use "repeat…until".
procedure Loop;
begin
repeat //repeats the procedure.
if not (InvFull) then
begin
MineIron;
end else
if not (AtResource) then
begin
EnterResource;
end else
Bank;
Until(false); //repeats until False, but since the script never makes the procedure false, this repeats it forever.
end;
Hope this helps. Post if this doesn't work.
2012-01-18 10:25:22
From: NexPB
It wil not execute the next procedures cause it doesn't see the inventory.
2012-01-18 10:34:48
From: XxX Toxin XxX
I'd be willing to help however I don't understand what the problem is here… why is it that the inventory must be seen in order for the deposit to be done, is this a failsafe of yours you've added?
if (InvFull) then
begin
MineOre;
end else
Bank;