Results 1 to 9 of 9

Thread: need help with these built in banking procedures

  1. #1
    Join Date
    Feb 2012
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default need help with these built in banking procedures

    Simba Code:
    if OpenBank('feb', False, True) then
        Withdraw(...);

    Working on the first banking part of my script. I search banking and see a bunch of banking procedures come up, i chose this one because it seems basic and what i want it to do, open the bank.

    First question. What do i put in the withdraw? bank slot numbers? DMTs? Can someone give me an explanation of this please?

    second question, do i need to do a FindBank Procedure first? Or will OpenBank already do that?

  2. #2
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    You're not opening the bank, try this
    Simba Code:
    OpenBank('feb', False, True);
    If BankScreen Then
    Withdraw(0,0,1000); // this is the 1st bank slot, as in the very 1st, you go over 0 colums, and down 0 rows, and withdraw 1k

  3. #3
    Join Date
    Feb 2012
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Le Jingle View Post
    You're not opening the bank, try this
    Simba Code:
    OpenBank('feb', False, True);
    If BankScreen Then
    Withdraw(0,0,1000); // this is the 1st bank slot, as in the very 1st, you go over 0 colums, and down 0 rows, and withdraw 1k
    Thank you.


    How would i go about getting simba to actually detect items? Does that have to go with DMTs?

  4. #4
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by Here2help View Post
    Thank you.


    How would i go about getting simba to actually detect items? Does that have to go with DMTs?
    FYI, use
    Simba Code:
    OpenBankFast('feb');

    It's much better.

    In Withdraw you put the column number, followed by the row number followed by the amount you want to withdraw.
    Simba Code:
    Withdraw(2, 3, 0);
    //This will withdraw all of the item in the second column, third row.

    If the item you want to withdraw is not always in the same bank slot - then DTM's are the way to go because there are too many objects in a bank to find the specific colour of a specific object.

  5. #5
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    FYI, use
    Simba Code:
    OpenBankFast('feb');

    It's much better.
    Surely it'll be better to use OpenBank, since it attempts to use all SRL procedures if the previous fail?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  6. #6
    Join Date
    Feb 2012
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    After it withdraws the xx,xx,how many. Will it close the bank?

  7. #7
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by Here2help View Post
    After it withdraws the xx,xx,how many. Will it close the bank?
    No. There is a function called CloseBank; if I remember correctly. Also to save time you could close the bank by walking on the minimap if your script walks.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  8. #8
    Join Date
    Feb 2012
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    No. There is a function called CloseBank; if I remember correctly. Also to save time you could close the bank by walking on the minimap if your script walks.
    Can i do this by just having the banking procedure and then just going straight to the walking procedure? Just skipping the closebank procedure altogether?

  9. #9
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by Here2help View Post
    Can i do this by just having the banking procedure and then just going straight to the walking procedure? Just skipping the closebank procedure altogether?
    Yes.

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
  •