procedure Bank;
var
Tries : Integer;
begin
if not(LoggedIn) then
exit
else
begin
if not (Loc = 'at bank') then
Walk(True);
DeBug('Bank : Open Bank Booth');
R_OpenBankBooth('veb');
Tries := 0;
Wait(200 + Random(100));
while not BankScreen do
begin
if (DistanceFrom(Tile(3250, 3419)) < 2) or
(DistanceFrom(Tile(3257, 3419)) < 2) then
WalkToTile(PathTiles[High(PathTiles)], 1, 0);
R_OpenbankBooth('veb');
Inc(Tries);
if Tries > 3 then
exit;
end;
if (BankScreen) then
DeBug('Bank : Bank Opened')
else
DeBug('Bank : Open Bank Failed!');
Players[CurrentPlayer].Integers[1] := Players[CurrentPlayer].Integers[1]
+ R_CountItemID(440);
Inc(Players[CurrentPlayer].Integers[2]);
R_DepositAllButIDEx(AxeIds);
Wait(1000 + Random(500));
MarkTime(Loop);
while InvFull do //Failsafe
begin
Wait(66);
if TimeFromMark(Loop) > (7500 + Random(2000)) then
begin
DeBug('Bank : Deposit : Failed. Trying again');
exit;
end;
end;
Walk(False);
end;
end;
This is the section of code but I'm not too sure what to change. I was using the script before todays update and all was fine, as soon as I updated hooks and logged in againl…….wouldn't bank.