Results 1 to 5 of 5

Thread: Finding A Banker

  1. #1
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Finding A Banker

    I had it finding the banker perfectly then unfortunatly misclicked and exited simba without saving the script Now I can't seem to get it to find a banker again.

    It used to go straight to the booth/banker but now it likes to move around at other gray colors. I can't remember if I was using FindObjCustom before, is there another option? It also can hover over the banker but doesn't seem to recognize uptext or something and moves on to keep trying. Also lots of errors saying
    'Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Successfully executed.'

    Simba Code:
    Procedure Bank;
    var
      SeX, SeY: Integer;

    Begin
      If FindObjCustom(SeX, SeY, ['Use','Talk'], [5724255, 5000531], 5) Then
      Mouse(SeX, SeY, 5, 5, False);
      WaitOptionMulti(['Use-qu', 'Bank'], 200)
    End;

  2. #2
    Join Date
    Feb 2009
    Posts
    484
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    There are pre built functions for banker in SRL. Just type Bank and they all should come on.

    Simba Code:
    OpenBankNPC;

    Works very nicely.

  3. #3
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Simba Code:
    {*******************************************************************************
    function OpenBank(WhichBank: String, ChangeCompass, ChangeAngle: Boolean): Boolean;
    by: SRL Development Team
    Description: 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)
    *******************************************************************************}


    Example:
     OpenBank('vwb', false, false);

    Anything other then probably those are custom.
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

  4. #4
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I've tried using OpenBank, OpenBankNPC, OpenBankFast, etc. They all seem to try to move the mouse to the windows on the right of the bank. It never goes to the bank booth, any suggestions?

  5. #5
    Join Date
    Feb 2009
    Posts
    484
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by lilcmp1 View Post
    I've tried using OpenBank, OpenBankNPC, OpenBankFast, etc. They all seem to try to move the mouse to the windows on the right of the bank. It never goes to the bank booth, any suggestions?
    Yeah, this happens to me sometimes as well.

    Personally I always use OpenBankNPC.

    Make sure that before you call that, do MakeCompasss() to whichever direction the bank booth(s) are at.

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
  •