Results 1 to 5 of 5

Thread: Another way to open bank?

  1. #1
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Question Another way to open bank?

    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');"?

  2. #2
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    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.

  3. #3
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Quote Originally Posted by ffcfoo View Post
    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');"?
    PHP Code:
    {*******************************************************************************
    function 
    OpenBankFast(LocationString): Boolean;
    ByWizzup? and Nielsie95 updated by N1keupdated 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
    Hi

  4. #4
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by Tickyy View Post
    PHP Code:
    {*******************************************************************************
    function 
    OpenBankFast(LocationString): Boolean;
    ByWizzup? and Nielsie95 updated by N1keupdated 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.

  5. #5
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Tickyy View Post
    PHP Code:
    {*******************************************************************************
    function 
    OpenBankFast(LocationString): Boolean;
    ByWizzup? and Nielsie95 updated by N1keupdated 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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •