Log in

View Full Version : Another way to open bank?



ffcfoo
07-14-2010, 06:13 PM
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');"?

Frement
07-14-2010, 06:16 PM
{************************************************* ******************************
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;

Just replace the color with some that fits camelot bank.

Tickyy
07-14-2010, 06:20 PM
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');"?


{************************************************* ******************************
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'
************************************************** *****************************}

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

Baked0420
07-14-2010, 07:55 PM
{************************************************* ******************************
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'
************************************************** *****************************}

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

it says clt so it would be OpenBankFast('clt');

just throwing that out there to make sure he doesn't try doing it the wrong way and then have no clue why.

ffcfoo
07-14-2010, 08:37 PM
{************************************************* ******************************
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'
************************************************** *****************************}

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

Thanks! Also it is clt not ctl like Baked said.