lanadekat
2014-11-18 01:56:17
Everytime I let my bot run overnight I find It back like this:

I tried pausing the script walking away, but it just teleports back to the bank ( it's supposed to do that ) and stand there moving over the boxes.
stopping the script and starting it again fixes the problem.
here's the code it get's stuck at:

I tried pausing the script walking away, but it just teleports back to the bank ( it's supposed to do that ) and stand there moving over the boxes.
stopping the script and starting it again fixes the problem.
here's the code it get's stuck at:
procedure Bank();
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
bankTimer: TTimeMarker;
InBank : Tbox;
begin
banktimer.start();
if (bankTimer.getTime() > 120000) and not bankScreen.isOpen() then TeleportToBank();
mainscreen.findObject(x, y, 7771300, 11, ['ank'], MOUSE_LEFT);
if (not bankScreen.isOpen(8000)) then
begin
if(tabBackpack.count() = 28) then
begin
Bank;
end;
end;
bankScreen.deposit([2],[-1]);
bankScreen.close;
tabBackpack.waitWhileLocked;
exit;
Inc(bankfailcount);
if (bankfailcount < 4) then
begin
Bank;
end;
end;