Results 1 to 13 of 13

Thread: looking for banking script/library support

  1. #1
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default looking for banking script/library support

    Hello,
    I would like to add colour based banking for my script. I tried some function from SRL library ( http://docs.wizzup.org/srl-5/bank.html#findbank ) ,but it don't works. It just did nothing. Is there any working banking support?

  2. #2
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Which ones aren't working? The colours may just need to be updated.

  3. #3
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    FindBank(Bank_VW);

    I'm standing inside bank and this function does nothing.

    I also tried OpenBankNPC; ,but it work a bit weird ,if I stand in front the banker script doesn't detect this banker but another 2 windows farther. I have no iea how to fix it.

  4. #4
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    It's nothing you're doing wrong, it just sounds like the colors need to be updated. I can't do it right now, but hopefully someone can before I'm back in a couple days.

  5. #5
    Join Date
    May 2011
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I use this function in my script (also located in bank.scar)

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

    And it still works as of today. (at least at varrock west bank)

  6. #6
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I have also been having a few issues with banking routines. Thebanking functions tend to take a long time to find the bank. Findbanknpc works well except when you're standing just outside of the banks view and it still tries to move the mouse to the area. I also dislike how some of the banking Functions change the camera direction

  7. #7
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    Quote Originally Posted by blabla7 View Post
    I use this function in my script (also located in bank.scar)

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

    And it still works as of today. (at least at varrock west bank)
    Thats strange. If i run this script in vwb (or anywhere) it does nothing ,even not move the mouse or rotate screen'

    It's my basic program to test this script ,maybe I messes something up?

    Code:
    program new;
    {$I SRL/SRL.scar}
    begin
    OpenBankFast('vwb');
    end.

  8. #8
    Join Date
    May 2011
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by beginner5 View Post
    Thats strange. If i run this script in vwb (or anywhere) it does nothing ,even not move the mouse or rotate screen'

    It's my basic program to test this script ,maybe I messes something up?

    Code:
    program new;
    {$I SRL/SRL.scar}
    begin
    OpenBankFast('vwb');
    end.
    Shouldn't you call setupsrl; first?
    Also, make sure you drag the crosshair to the runescape window and call activateclient; to go there.
    I'm not sure if it will help but try this:

    Simba Code:
    program new;
    {$I SRL/SRL.scar}
    begin
    setupsrl;
    activateclient;
    wait(2000);
    OpenBankFast('vwb');
    end.

  9. #9
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    What blabla7 said. You have to call SetupSRL otherwise nothing will work.

  10. #10
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    Thanks for help ,but it still not works. I tested today scripts in vwb: FindBank , OpenBankNPC ,OpenBankFast ,OpenBankQuiet and all of them don't do anything.

    Code:
    setupsrl;
    activateclient;
    that lines was added ,
    Runescape gfx settings was minimum , size fixed, brightness highest
    client was activated by "x cross"
    and i run simba like administrator

    I have no idea why it doesn't work and I think i will make my own coordinate-based banking script ,but then i will have to resign all screen-rotating antibans :/

  11. #11
    Join Date
    May 2011
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by beginner5 View Post
    Thanks for help ,but it still not works. I tested today scripts in vwb: FindBank , OpenBankNPC ,OpenBankFast ,OpenBankQuiet and all of them don't do anything.

    Code:
    setupsrl;
    activateclient;
    that lines was added ,
    Runescape gfx settings was minimum , size fixed, brightness highest
    client was activated by "x cross"
    and i run simba like administrator

    I have no idea why it doesn't work and I think i will make my own coordinate-based banking script ,but then i will have to resign all screen-rotating antibans :/
    That is very odd as for me it is working perfectelly.
    Can you copy paste your whole script and tell me where you are using it?

  12. #12
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Try using SMART rather than just the browser.

  13. #13
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Run this please (regular client, not SMART):
    Simba Code:
    program new;
    {$i srl/srl.scar}
    var x, y : integer;
    begin
    setupsrl;
    activateclient;
    GetClientDimensions(x, y);
    writeln('Dimensions: '+inttostr(x)+', '+inttostr(y));
    SetAngle(true);
    if not FindSymbol(x, y, 'bank') then
      writeln('Bank Symbol not found! Are you sure you stand in a bank?')
    else writeln('Bank Symbol found!');
    MakeCompass('N');
    Writeln('OpenBankFast works?: '+booltostr(OpenBankFast('vwb')));
    wait(500+random(500));
    CloseBank;
    wait(500+random(500));
    Writeln('OpenBankGlass works?:  '+booltostr(OpenBankGlass('vwb', true, true)));
    wait(500+random(500));
    CloseBank;
    wait(500+random(500));
    Writeln('OpenBankNPC works?: '+booltostr(OpenBankNPC));
    wait(500+random(500));
    CloseBank;
    wait(500+random(500));
    Writeln('FindBANK works?: '+booltostr(FindBank('vwb')));
    wait(500+random(500));
    CloseBank;
    wait(500+random(500));
    Writeln('FindBANK works?: '+booltostr(FindBank('vwb')));
    wait(500+random(500));
    CloseBank;
    wait(500+random(500));
    Writeln('OpenBankQuiet works?: '+booltostr(OpenBankQuiet('vwb')));
    wait(500+random(500));
    CloseBank;
    TypeSendEx('Done!', false);
    Writeln('Done testing. Please post above output!');
    writeln('xxx Markus');
    end.
    And post output here: http://villavu.com/forum/showthread.php?t=67366
    I made a new script, check it out!.

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
  •