marpis
2009-09-26 03:51:42
All OpenBank() functions (OpenBankSilent, OpenBankFast etc) should be rewritten. They seem to avoid the bank booth rather than clicking it. I believe that's because colors have changed alot and they are old functions.
2009-09-26 03:51:42
2009-09-26 05:51:04
2009-09-26 07:29:34
2009-09-26 14:01:11
Function OpenBank1 : Boolean;
Var TPA, FTPA : TPointArray;
ATPA : T2DPointArray;
I : Integer;
Col : TIntegerArray;
Begin
Col := [2763308, 5465204, 4547194, 1517621, 5074311, 6780806, 10199466, 936034];
For I := 0 To High(Col) Do
Begin
FindColorsTolerance(TPA, Col[I], MSX1, MSY1, MSX2, MSY2, 15);
If Length(TPA) > 0 Then
FTPA := CombineTPA(TPA, FTPA);
End;
ATPA := TPAToATPA(TPA, 25);
SortATPAFromFirstPoint(ATPA, Point(MSCX, MSCY));
For I := 0 To High(ATPA) Do
If MiddleTPAEx(ATPA[I], x, y) Then
Begin
MMouse(x, y, 4, 4);
If WaitUpText('ooth', 900) Then
Begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, False);
If WaitOption('uickly', 1100) Then
Result := WaitFunc(@BankScreen, 50, 3000);
End;
If Result Then
Break
Else
Continue;
End;
End;2009-09-26 18:13:32