ffcfoo
2010-07-14 14:13:59
Hello, I use "OpenBankFast('veb');" for opening bank but I want to open Camelot's bank but I have no clue how to do that at all! Would it be like "OpenBankFast('cb');"?
2010-07-14 14:13:59
2010-07-14 14:16:17
{*******************************************************************************
function F_OpenBank(Pin: String): Boolean;
By: Frement
Description: Opens the bank in falador and inserts a pin if necessary.
*******************************************************************************}
function F_OpenBank(Pin: String): Boolean;
var BankerTP: TPoint;
BankerTPA: TPointArray;
BankerATPA: T2DPointArray;
i, BankerHigh, Tried: Integer;
begin
if (FindColorsSpiralTolerance(x, y, BankerTPA, 5008518, MSX1, MSY1, MSX2, MSY2, 5)) then
begin
SortTPAFrom(BankerTPA, Point(MSCX, MSCY));
BankerATPA := TPAtoATPAEx(BankerTPA, 20, 20);
BankerHigh := High(BankerATPA);
for i := 0 to BankerHigh do
begin
if (Length(BankerATPA[i]) >= 50) then begin
BankerTP := MiddleTPA(BankerATPA[i]);
MMouse(BankerTP.X, BankerTP.Y, 3, 3);
if (IsUpTextMultiCustom(['se Ba', 'nk boo', 'ank boot'])) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, False);
Flag;
Wait(200 + Random(500));
Tried := 0;
repeat
Wait(200 + Random(200));
Inc(Tried);
until(ChooseOption('ickl') or ChooseOption('kly') or ChooseOption('e-qu') or ChooseOption('ank bo') or (Tried > 10));
Flag;
Wait(400 + Random(200));
if (PinScreen) then begin
if (InPin(Pin)) then begin
Result := True;
Break;
end;
end;
Result := True;
Break;
end;
end else begin
Result := False;
end;
end;
end;
end; 2010-07-14 14:20:36
From: ffcfoo
Hello, I use "OpenBankFast('veb');" for opening bank but I want to open Camelot's bank but I have no clue how to do that at all! Would it be like "OpenBankFast('cb');"?
2010-07-14 15:55:07
From: Tickyy
[PHP]{*******************************************************************************
function OpenBankFast(Location: String): Boolean;
By: Wizzup? and Nielsie95 updated by N1ke! updated again by marpis
Last update: 7th December 2009
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'
*******************************************************************************}[/PHP]
This can be found on SRL>SRL>Core>bank.scar
As you can see it says "ctl" for camelot bank, so all you have to do is OpenBankFast('ctl');
Good luck
2010-07-14 16:37:30
From: Tickyy
[PHP]{*******************************************************************************
function OpenBankFast(Location: String): Boolean;
By: Wizzup? and Nielsie95 updated by N1ke! updated again by marpis
Last update: 7th December 2009
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'
*******************************************************************************}[/PHP]
This can be found on SRL>SRL>Core>bank.scar
As you can see it says "ctl" for camelot bank, so all you have to do is OpenBankFast('ctl');
Good luck