Results 1 to 10 of 10

Thread: FixBank

  1. #1
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FixBank

    When there is no scroll bar at the side it doesn't like to work since the colour it is trying to find is not there. This is Rev #32. It works fine if there is a scroll bar but just holds the mouse at the one point if there is no scroll bar. Just thought someone would like to know.

    Xcan

    edit: I changed FixBank to
    SCAR Code:
    procedure FixBank;
    begin
      if BankScreen then
        if (GetColor(489, 101) <> 1316634) and (GetColor(489,100) = 657930) then
        begin
          Mouse(485, 102, 7, 10, True);
          while GetColor(489, 101) <> 1316634 do
            Wait(20);
          Wait(100 + Random(200));
        end;
    end;
    and it was working for me.
    Last edited by XcanadamanX; 04-17-2009 at 08:00 PM.

  2. #2
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Wouldn't the second GetColor be suffice?

    Or is the first necessary?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  3. #3
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the first is to check if the scroll bar is at the top. second checks if there is a scroll bar

  4. #4
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    So, wouldn't checking for the scroll bar at the top be enough?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  5. #5
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no because it is checking if the colour doesnt equal 1316634 which is always unless there is actually a scroll bar and it's at the top.

  6. #6
    Join Date
    Aug 2007
    Posts
    984
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    sorry dumb question but what file do i place this in.
    SRL > Runescape

    Quote Originally Posted by brent8900 View Post
    when i download it its a FAWG.rar how to i get it to FAWG.exe

  7. #7
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you use the open svn then a updated fix bank will be there or else in bank.scar

  8. #8
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    add a failsafe in the loop please

  9. #9
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    that is directly from bank.scar but with
    SCAR Code:
    and (GetColor(489,100) = 657930
    added.

  10. #10
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    exactly... bank.scar's has no failsafes and thus is why it screws up scripts

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
  •