The Bank include contains Bank finders, and all banking routines.
function BankScreen: Boolean;
Finds Bankscreen. Returns true if Found.
Note
by The SRL Dev Team
Example:
function DepositScreen: Boolean;
Returns true if deposit screen is Found.
Note
by Shuttleu
Example:
function PinScreen: Boolean;
Finds Pin Screen. Returns true if Found.
Note
by NaumanAkhlaq
Example:
function InPin(Pin: String): Boolean;
Enters bank pin. Will try 3 times, returns true if bank is opened.
Note
by ZephyrsFury and Nava2
Example:
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:
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:
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:
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:
function BankIndexToMSBox(ind:Integer): TBox;
Converts the Bank Index (spot in bank) to a Mainscreen TBox of the Index. .. note:
by Wizzup?
Example:
function DepositItemBox(Item: Integer): TBox;
Returns a TBox surround Item (1 to 28) in the Deposit Box screen.
Note
by ZephyrsFury
Example:
procedure FixBank;
Scrolls the bank screen up.
Note
by lordsaturn, Nava2, IceFire908 & Bixby Sayz
Example:
function CurrentBankTab: Integer;
Returns Current Bank Tab selected
Note
by Narcle
Example:
function ExistsBankTab(T: Integer): Boolean;
Returns true if Bank Tab Exists
Note
by Narcle
Example:
function BankTab(T: Integer): Boolean;
If Bank Tab is there will switch to it.
Note
by Narcle
Example:
procedure SearchBank(Item: string);
Searches for Item in your bank.
Note
by ZephyrsFury
Example:
function DepositAll: Boolean;
Deposits all items in your inventory
Note
by ZephyrsFury & Quickmarch
Example:
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:
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:
function Withdraw(Col, Row, Amount: Integer): Boolean;
Withdraws Amount at Column/Row.
Note
by Starblaster100, Town, Wizzup? and Narcle
Example:
function WithdrawItemEx(Ident: integer; IdentType: string; var Index: integer; Amount: integer; UpText: String; Tol: TIntegerArray): boolean;
tol[0] as color tolerance,
tol[1] as contour tolerance in case of bmp masks, or the count of colors for TPA item finding.
Note
by Nava2
Example:
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:
procedure Notes(SwitchOn: Boolean);
Toggles note withdrawal on or off.
Note
by lordsaturn, idea by R1ch
Example:
function CloseBank: Boolean;
Closes the bank window - Tries twice before exiting
Note
by Starblaster100
Example:
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:
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:
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:
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:
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: