Results 1 to 17 of 17

Thread: How to fix banking error! (Deposit money pouch)

  1. #1
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to fix banking error! (Deposit money pouch)

    Hey guys, this is just a simple tutorial to help people who are struggling to auto due to the recent update which has placed the deposit money pouch button in place of the deposit all button.

    EDIT: I've uploaded the updated bank.scar file to replace the original one with. Feel free to check through the code, as there isn't anything malicious about it

    To fix this, follow this guide I have quickly created:








    The code you will need to replace the depositAll feature with is this:

    Code:
    function DepositAll: Boolean;
    var
      T, X, Y: Integer;
      BScreen, DScreen: Boolean;
    begin
      Result := false;
      BScreen := BankScreen;
      if (not(BScreen)) then
        DScreen := DepositScreen;
      if (BScreen) or (DScreen) then
        if (InvCount > 0) or (FindColor(X, Y, srl_outline_black, 98, 68, 436, 257) and (DSCreen)) then
        begin
          Mouse(360 - 50 * Integer(DScreen), 305 - 30 * Integer(DScreen), 15, 10, True);
          Wait(200 + Random(300));
          T := GetSystemTime;
          while (InvCount > 0) or (FindColor(X, Y, srl_outline_black, 98, 68, 436, 257) and (DSCreen)) and (GetSystemTime - T < 2000) do
            Wait(100);
          Result := (InvEmpty) or (not(FindColor(X, Y, srl_outline_black, 98, 68, 436, 257)) and (DScreen));
        end else begin
          srl_Warn('DepositAll', 'No items to deposit ', warn_AllVersions);
          result := true;
        end;
    end;

    EDIT: Some people are struggling with following the tutorial so I've uploaded the updated bank.scar file. Can someone scan through it to confirm it's fine? Thank you.

    I hope I helped, thanks again
    Last edited by lostprophetsown; 01-04-2012 at 07:41 PM.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    =D Nice quick fix to stop all the noobs from asking.
    SRL should be updated with a fix soon too! Thanks for the help.
    Lol glad to see a new guy like you actually HELPING!

  3. #3
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, I'm expecting scripts to be filled with spam, and it's rather annoying they can't search as I came across this fix almost instantly.
    And I can't really take much credit, I only spent 10 minutes making the tutorial, it was actually Kyle that had the fix:

    http://villavu.com/forum/showthread.php?t=71061

  4. #4
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Very nice! This will help a lot!
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  5. #5
    Join Date
    Mar 2009
    Location
    England
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Damn, was hoping I could learn simba a little better by bringing it upon myself to fix it, but I found this tutorial and couldn't help myself, anyways, thanks for the fix!

    Also, yet another amazing reason to use Simba! If this was RSBot or anything of such, you would have to wait for days for an update!
    Last edited by TkrZ; 01-04-2012 at 06:32 PM.
    Anti-moralfag

    Quote Originally Posted by YoHoJo View Post
    My guess is either a PRIVATE: reflection bot or OGL bot, also possibly created by the Chinese.

  6. #6
    Join Date
    Dec 2011
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm, good work and thank you. Been saying if the money pouch was there, hehe. Thanks and Good job at learning Pascal

  7. #7
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Very nice! This will help a lot!
    No, thank you, as you were the one with the fix

    Glad it's helping people though :P

  8. #8
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by IRobot335 View Post
    Damn, was hoping I could learn simba a little better by bringing it upon myself to fix it, but I found this tutorial and couldn't help myself, anyways, thanks for the fix!

    Also, yet another amazing reason to use Simba! If this was RSBot or anything of such, you would have to wait for days for an update!
    Always much more convenient to take the easier alternative :P
    And yeah, plus you'd be getting 'trolled' by everyone, because they're all pro scripters and know everything, so you don't deserve to be helped.
    There's honestly a far better community here, I'm glad it's not too overfilled with people either.

  9. #9
    Join Date
    Nov 2011
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I didn't get it to work.

  10. #10
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by chelmid View Post
    I didn't get it to work.
    I've uploaded the updated bank document if you need it
    Just download and save over the old file.

  11. #11
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    This should be kind of announcement. Then no-one will have to post threads or ask about banking

  12. #12
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  13. #13
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    srl 5 has already been updated with my fix

    if you use srl 5 then just re download it and you will be fine

    ~shut
    Ahh right, cheers for the heads up

  14. #14
    Join Date
    Feb 2008
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you very much

  15. #15
    Join Date
    Dec 2011
    Location
    Look Behind You.
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great, very..

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

    Default

    doesent do anything, this is included in the last srl5 update so its not needed anymore,
    its up to the script creators to update to SRL5 now, as if its not updated, they will get an error saying Exception in Script: Unable to find file 'SRL/SRL.scar' used from ''

  17. #17
    Join Date
    Jan 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not working to me

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
  •