Results 1 to 13 of 13

Thread: Banking not working with slr-6 bankscreen functions

  1. #1
    Join Date
    Jun 2015
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default Banking not working with slr-6 bankscreen functions

    Hi! I followed a tutorial to get started scripting, however, I ran into a banking problem. I tried using the bankscreen functions in SLR-6 but they don't seem to be working. For example I used bankScreen.open(BANK_CHEST_LUMBRIDGE) and it returned a false, even though it opened the bank. Also it doesn't seem to be able to find the deposit all button. Help!

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by geek borgel View Post
    Hi! I followed a tutorial to get started scripting, however, I ran into a banking problem. I tried using the bankscreen functions in SLR-6 but they don't seem to be working. For example I used bankScreen.open(BANK_CHEST_LUMBRIDGE) and it returned a false, even though it opened the bank. Also it doesn't seem to be able to find the deposit all button. Help!
    Could you post a screenshot, showing debug console and your RS window?

  3. #3
    Join Date
    Jun 2015
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    debugg.jpg Lines 76-80, I know its messy I was debugging it. It open the bank chest while saying it didn't then it can't find the deposit button.

  4. #4
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    I've never used bankscreen.open() so idk how much I can help, but it looks like bank() doesn't do anything, since depositLoot() already opens the bank.

  5. #5
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    Im unsure if bankscreen requires mainscreen get bounds, but if it does it'll require to see the abil bar. Unless the mayor updated this already.

  6. #6
    Join Date
    Feb 2015
    Posts
    422
    Mentioned
    41 Post(s)
    Quoted
    226 Post(s)

    Default

    Quote Originally Posted by geek borgel View Post
    debugg.jpg Lines 76-80, I know its messy I was debugging it. It open the bank chest while saying it didn't then it can't find the deposit button.
    It might be the subscribe bar, I know it used to mess things up for me. Try moving it to the bottom right corner of the screen or the bottom right corner of the chat box. Preferably the bottom right of the whole screen so it's away from anything of significance

  7. #7
    Join Date
    May 2014
    Posts
    633
    Mentioned
    8 Post(s)
    Quoted
    322 Post(s)

    Default

    Quote Originally Posted by fady View Post
    It might be the subscribe bar, I know it used to mess things up for me. Try moving it to the bottom right corner of the screen or the bottom right corner of the chat box. Preferably the bottom right of the whole screen so it's away from anything of significance
    Can confirm that this is it. The same thing happens when the treasure hunter chest is at the same spot.

  8. #8
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Is there is any bugs in srl-6 you know where to report them. Most of the devs don't actually play that much so it's up to the users to report any bugs.

  9. #9
    Join Date
    Jun 2015
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Awesome I'll try this when I get home! Also is there documentation for commands besides reading the actual script file comments?

  10. #10
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    Quote Originally Posted by geek borgel View Post
    Awesome I'll try this when I get home! Also is there documentation for commands besides reading the actual script file comments?
    Is this what you mean?
    http://docs.villavu.com/srl-6/index.html

  11. #11
    Join Date
    Jun 2015
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Oh my god yes! Thank you!!!

  12. #12
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Not going to read the previous 10 posts because I don't have time. Therefore, what I'm about to say might have already been said. In that case, disregard.

    bankScreen.open() is a nice function, but it can never be as accurate a a custom routines. Having one function to open every bank is a nice idea, but probably isn't quite viable.

    Making your own function allows you to pick colors, conditionals, wait times, specific actions taken ... basically everything. And it'll be a lot more reliable (when used from your script) then .open().
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  13. #13
    Join Date
    Jun 2015
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    So I tested moving the subscribe button to the bottom right of the chatbox, which did not work. Then I moved it to the bottom right of the screen. Success!!! Thanks so much for the help!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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