Quote:
Procedure Bank;
Var
x, y, Tries: Integer;
Begin
If Not LoggedIn Then Exit;
Repeat
OpenBankFast('db');
Tries := Tries + 1;
Until ((BankScreen) Or (Tries > 4));
If NoNet Then
WriteLn('No NET');
If BankScreen Then
Begin
If Not BankScreen Then Exit;
Shrimps := Shrimps + CountItemsBmp('inv', Shrimp, 35);
Anchovies := Anchovies + CountItemsBmp('inv', Anchovy, 35);
ReportVars[0] := CountItemsBmp('inv', Shrimp, 35);
ReportVars[1] := CountItemsBmp('inv', Anchovy, 35);
Deposit(10, 28, 10);
If Not NoNet Then
NoNet := Not IsFishNet;
If NoNet Then
Begin
FixBank;
Wait(1000);
If FindBitmapToleranceIn(FishingNet, x, y, MSX1, MSY1, MSX2, MSY2, 25) Then
Begin
MMouse(x, y, 2, 2);
GetMousePos(x, y);
Wait(100);
If IsUpText('mall') Then
Begin
Mouse(x, y, 0, 0, True);
End;
NoNet := False;
Wait(1000);
End;
End;
End;
CloseBank;
Players[CurrentPlayer].Banked := Players[CurrentPlayer].Banked + 1;
Banks := Banks + 1;
ReportVars[3] := ReportVars[3] + 1;
End;