Results 1 to 3 of 3

Thread: Read my bank procedure

  1. #1
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Read my bank procedure

    Can Some one just run over this and make sure its corect, it will find the bankers color then move -50 x which means it ends up at a bank booth.

    SCAR Code:
    Function OpenVarrock : Boolean;
    var bx,by :integer;
    begin
      Flag;
      if not (BankScreen) then
      begin
        if FindColorRightTol(bx,by,6045001,MSX1,MSY1,MSX2,MSY2, 10) then
        begin
          Wait(100+Random(100));
          Mouse((bx- 50),by,0,3,False);
          Wait(100+Random(100));
          ChooseOption(bx, by, 'quickly');
          Wait(500+Random(100));
          Writeln('1');
          if (BankScreen) then Result := True
        end else
        if FindColorRightTol(bx,by,5782600,MSX1,MSY1,MSX2,MSY2, 10) then
        begin
          Wait(100+Random(100));
          Mouse((X- 50),by,0,3,False);
          Wait(100+Random(100));
          ChooseOption(bx, by, 'quickly');
          Wait(500+Random(100));
          Writeln('2');
          if (BankScreen) then Result := True
        end;
      end;
      if (BankScreen) then Result := True
    end;

  2. #2
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im pretty sure -50 is too much, but also u have (X- 50) in the second part of that procedure when its supposed to be (bx- 50)

    Edit, this is for mainscreen? nvm... about the -50

  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You should have it move the mouse to the bank if it finds it, and then look for the up text. Or else, if it finds a color on somebody's clothes or something, it will right click them even when it's not the bank. So that'd mean it found the color, and it wouldn't do the fail safe to look for it again.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Bank Procedure (quick question)
    By Macros in forum OSR Help
    Replies: 3
    Last Post: 11-09-2008, 09:03 PM
  2. Willow and bank READ
    By Rsnerdx in forum RS3 Outdated / Broken Scripts
    Replies: 11
    Last Post: 07-12-2008, 12:24 AM
  3. Bank Procedure
    By Da 0wner in forum OSR Help
    Replies: 17
    Last Post: 02-23-2008, 12:58 AM
  4. Bank procedure
    By Illkillutill in forum OSR Help
    Replies: 4
    Last Post: 01-24-2008, 12:19 PM
  5. What Is The Best Bank Opening Function/Procedure?
    By ronny.m.p in forum OSR Help
    Replies: 15
    Last Post: 04-10-2007, 12:01 AM

Posting Permissions

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