Table Of Contents

Previous topic

AutoColor

Next topic

Bitmap

This Page

Bank

The Bank include contains Bank finders, and all banking routines.

BankScreen

function BankScreen: Boolean;

Finds Bankscreen. Returns true if Found.

Note

by The SRL Dev Team

Example:

DepositScreen

function DepositScreen: Boolean;

Returns true if deposit screen is Found.

Note

by Shuttleu

Example:

PinScreen

function PinScreen: Boolean;

Finds Pin Screen. Returns true if Found.

Note

by NaumanAkhlaq

Example:

InPin

function InPin(Pin: String): Boolean;

Enters bank pin. Will try 3 times, returns true if bank is opened.

Note

by ZephyrsFury and Nava2

Example:

MSTPointToBankPoint

function MSTPointToBankPoint(P: TPoint): TPoint;

Converts a point on the Mainscreen to the point in the Bank.

First Row and Col are (0,0). .. note:

by Wizzup?

Example:

BankPointToBankIndex

function BankPointToBankIndex(P: TPoint): Integer;

Description: Converts a Bank Point (Row,Col) to Bank Index (spot in bank). (0, 0) = 1

Note

by Wizzup?

Example:

BankIndexToBankPoint

function BankIndexToBankPoint(ind: Integer): TPoint;

Converts the Bank Index (spot in bank) to a Bank Point (Row,Col). 1 = (0, 0)

Note

by Wizzup?

Example:

BankIndexToMSPoint

function BankIndexToMSPoint(Index: Integer): TPoint;

Converts the Bank Index (spot in bank) to a Mainscreen TPoint of the Index. (Top Left)

Note

by Wizzup?

Example:

BankIndexToMSBox

function BankIndexToMSBox(ind:Integer): TBox;

Converts the Bank Index (spot in bank) to a Mainscreen TBox of the Index. .. note:

by Wizzup?

Example:

DepositItemBox

function DepositItemBox(Item: Integer): TBox;

Returns a TBox surround Item (1 to 28) in the Deposit Box screen.

Note

by ZephyrsFury

Example:

FixBank

procedure FixBank;

Scrolls the bank screen up.

Note

by lordsaturn, Nava2, IceFire908 & Bixby Sayz

Example:

FixBankTab

function FixBankTab: Boolean;

Fixes the BankTab to ‘View All’

Note

by Wizzup?

Example:

CurrentBankTab

function CurrentBankTab: Integer;

Returns Current Bank Tab selected

Note

by Narcle

Example:

ExistsBankTab

function ExistsBankTab(T: Integer): Boolean;

Returns true if Bank Tab Exists

Note

by Narcle

Example:

BankTab

function BankTab(T: Integer): Boolean;

If Bank Tab is there will switch to it.

Note

by Narcle

Example:

SearchBank

procedure SearchBank(Item: string);

Searches for Item in your bank.

Note

by ZephyrsFury

Example:

DepositAll

function DepositAll: Boolean;

Deposits all items in your inventory

Note

by ZephyrsFury & Quickmarch

Example:

Deposit

Procedure Deposit(SlotFrom, SlotTo: Integer; vType: Variant);

- Deposits from Slot to ToSlot.
- vType True = Deposit All.
- vType False = Deposit one by one.
- Any integer is deposit with Deposit X. (except for 5 and 10)

Note

by WT-Fakawi/PPLSUQBAWLZ/Stupid3ooo/Town

Example:

WithdrawEx

function WithdrawEx(Col, Row, Amount: Integer; Uptexts: TStringArray): Boolean;

Withdraws Amount at Column/Row.

Note

by Starblaster100, Town, Wizzup? and Narcle, small fixes by r!ch!e & EvilChicken!

Example:

Withdraw

function Withdraw(Col, Row, Amount: Integer): Boolean;

Withdraws Amount at Column/Row.

Note

by Starblaster100, Town, Wizzup? and Narcle

Example:

WithdrawItemEx

function WithdrawItemEx(Ident: integer; IdentType: string; var Index: integer; Amount: integer; UpText: String; Tol: TIntegerArray): boolean;
Withdraws an item from the bank by using “Ident” with
  • tol[0] as color tolerance,

  • tol[1] as contour tolerance in case of bmp masks, or the count of colors for TPA item finding.

  • Valid IdentTypes are all in FindItem.
    • Index: The Bank Index where the item is found, must be a variable.
    • Speeds up future withdraws.
    • Amount: Amount to withdraw from bank.
    • UpText: The UpText which the function checks for.

Note

by Nava2

Example:

WithdrawItem

function WithdrawItem(Ident: integer; IdentType: string; Amount: integer; UpText: TStringArray; Tol: TIntegerArray): boolean;

Withdraws an item using WithdrawItemEx, but removes the Index check.

Note

by Nava2

Example:

Notes

procedure Notes(SwitchOn: Boolean);

Toggles note withdrawal on or off.

Note

by lordsaturn, idea by R1ch

Example:

CloseBank

function CloseBank: Boolean;

Closes the bank window - Tries twice before exiting

Note

by Starblaster100

Example:

OpenBankQuiet

function OpenBankQuiet(WhichBank: string): Boolean;

Opens any given bank in the free world using FindDeformedBitmapToleranceIn. Avoids strange mouse movements. Will causesignificant lag (approx. 1 second), but finds the bank with one click.

Valid arguments are:

  • ‘feb’ (Falador East Bank)
  • ‘fwb’ (Falador West Bank)
  • ‘veb’ (Varrock East Bank)
  • ‘vwb’ (Varrock West Bank)
  • ‘db’ (Draynor Bank)
  • ‘eb’ (Edgeville Bank)
  • ‘akb’ (Al-Kharid Bank)

Note

by WT-Fakawi

Example:

OpenBankGlass

function OpenBankGlass(WhichBank: String; ChangeCompass, ChangeAngle: Boolean): Boolean;

Opens the bank. Valid arguments are:

  • ‘feb’ (Falador East Bank)
  • ‘fwb’ (Falador West Bank)
  • ‘veb’ (Varrock East Bank)
  • ‘vwb’ (Varrock West Bank)
  • ‘db’ (Draynor Bank)
  • ‘akb’ (Al-Kharid Bank)
  • ‘eb’ (Edgeville Bank)
  • ‘ctb’ (Catherby bank)
  • ‘clt’ (Camelot bank)
  • ‘nab’ (North Ardougne bank)
  • ‘sab’ (South Ardougne bank)
  • ‘ynb’ (Yanille bank)
  • ‘ngb’ (North gnome bank)
  • ‘sgb’ (South gnome bank)
  • ‘wgb’ (Warrior guild bank)
  • ‘fgb’ (Fishing guild bank)

Note

by Wizzup? and modified by Ron updated to P2p banks by N1ke!

Example:

OpenBankFast

function OpenBankFast(Location: String): Boolean;

Description: Opens the bank. Valid arguments are:

  • ‘feb’, ‘falador east bank’
  • ‘fwb’, ‘falador west bank’
  • ‘veb’, ‘varrock east bank’
  • ‘vwb’, ‘varrock west bank’
  • ‘db’ , ‘draynor bank’
  • ‘akb’, ‘al-kharid bank’
  • ‘eb’ (Edgeville Bank)
  • ‘ctb’, ‘catherby bank’
  • ‘clt’, ‘camelot bank’
  • ‘nab’, ‘north ardougne bank’
  • ‘sab’, ‘south ardougne bank’
  • ‘ynb’, ‘yanille bank’
  • ‘ngb’, ‘north gnome bank’
  • ‘sgb’, ‘south gnome bank’
  • ‘wgb’, ‘warrior guild bank’
  • ‘fgb’, ‘fishing guild bank’

Note

by Wizzup? and Nielsie95 updated by N1ke! updated again by marpis

Example:

Home

function OpenBankNPC: Boolean;

Opens the bank by using Banker.

Note

by Home

Example:

OpenBank

function OpenBank(WhichBank: String, ChangeCompass, ChangeAngle: Boolean): Boolean;

Opens the bank if possible. Valid arguments are:

  • ‘feb’ (Falador East Bank)
  • ‘fwb’ (Falador West Bank)
  • ‘veb’ (Varrock East Bank)
  • ‘vwb’ (Varrock West Bank)
  • ‘db’ (Draynor Bank)
  • ‘akb’ (Al-Kharid Bank)
  • ‘eb’ (Edgeville Bank)
  • ‘lb’ (Lumbridge Bank)
  • ‘ctb’ (Catherby bank)
  • ‘clt’ (Camelot bank)
  • ‘nab’ (North Ardougne bank)
  • ‘sab’ (South Ardougne bank)
  • ‘ynb’ (Yanille bank)
  • ‘ngb’ (North gnome bank)
  • ‘sgb’ (South gnome bank)
  • ‘wgb’ (Warrior guild bank)
  • ‘fgb’ (Fishing guild bank)

Note

by phantombmx/EvilChicken!, idea by NaumanAkhlaQ

Example:

FindBank

function FindBank(TheBank: String): Boolean;

Finds and opens any given bank in the free world. If the MM DTM is found it will find and open the bank. Valid arguments are:

  • ‘feb’ (Falador East Bank)
  • ‘fwb’ (Falador West Bank)
  • ‘veb’ (Varrock East Bank)
  • ‘vwb’ (Varrock West Bank)
  • ‘db’ (Draynor Bank)
  • ‘akb’ (Al-Kharid Bank)
  • ‘ctb’ (Catherby bank)
  • ‘clt’ (Camelot bank)
  • ‘nab’ (North Ardougne bank)
  • ‘sab’ (South Ardougne bank)
  • ‘ynb’ (Yanille bank)
  • ‘ngb’ (North gnome bank)
  • ‘sgb’ (South gnome bank)
  • ‘fgb’ (Fishing guild bank)

Note

by WT-Fakawi and modified by Ron Updated to P2p by N1ke! Eb added by R1ch

Example:

OpenDepositBox

function OpenDepositBox : Boolean;

Opens the deposit box.

Note

by Shuttleu

Example: