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');"?
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');"?
SCAR Code:{*******************************************************************************
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.
Last edited by Frement; 07-14-2010 at 06:24 PM.
There used to be something meaningful here.
This can be found on SRL>SRL>Core>bank.scarPHP Code:{*******************************************************************************
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'
*******************************************************************************}
As you can see it says "ctl" for camelot bank, so all you have to do is OpenBankFast('ctl');
Good luck
Hi
There are currently 1 users browsing this thread. (0 members and 1 guests)