Results 1 to 5 of 5

Thread: Bank procedure

  1. #1
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Bank procedure

    im trying to come up with my bank procedure, it compiles, but when i start it to test it, the mouse moves to the top right of my screen where the close(X) button is on firefox.

    here is my procedure:

    SCAR Code:
    program TSGBanking;

    {.include SRL/SRL.scar}

    var
    bx, by: Integer;

    procedure TGSBank;
    begin
      MakeCompass('W');
      WriteLn('Compass now west');
        end;
       begin
       WriteLn('Looking for bank booth');
        begin
        if FindObjCustom(bx, by, ['Use, ank, ooth'], [5797510, 7105905, 537927], 5)then
         end;
         begin
          WriteLn('Found bank booth, trying to open');
          MMouse(bx, by, 1, 1);
          Wait(500);
          Mouse(bx, by, 0, 0, false);
          WriteLn('Bank opened...depositing');
          ChooseOption('Use-quickly');
         if BankScreen then
         DepositAll;
         WriteLn('Deposited logs');
       end;
     end.


  2. #2
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    try this

    SCAR Code:
    program TSGBanking;
     
    {.include SRL/SRL.scar}
     
    var
    bx, by: Integer;
     
    procedure TGSBank;
    begin
      MakeCompass('W');
      WriteLn('Compass now west');
        end;
       begin
       WriteLn('Looking for bank booth');
        begin
        if FindObjCustom(bx, by, ['Use, ank, ooth'], [5797510, 7105905, 537927], 5)then
         end;
         begin
          WriteLn('Found bank booth, trying to open');
          MMouse(bx, by, 1, 1);
          Wait(500);
          Mouse(bx, by, 0, 0, false);
          WriteLn('Bank opened...depositing');
          ChooseOption('Use-quickly');
         if BankScreen then
         DepositAll;
         WriteLn('Deposited logs');
       end;
    end;

    begin
      SetupSRL;
      TSGBank;
    end.

    You didnt have setup srl or a main loop...
    METAL HEAD FOR LIFE!!!

  3. #3
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why don't you try this
    SCAR Code:
    OpenBankFast('feb');
    Works great
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  4. #4
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, you banking should problably work, but very possible that scar just losts focus...So before compiling be sure to drag crosshair to rs, I was having issue that very time I pick color I'll lost focus
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  5. #5
    Join Date
    Jan 2008
    Posts
    163
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i had the same problem make sure you select the rs window with the cross hair..... i was wondering for days why things like that didn't work.

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. Bank Procedure
    By Da 0wner in forum OSR Help
    Replies: 17
    Last Post: 02-23-2008, 12:58 AM
  3. Procedure TypeSendRandom & Procedure AutoResponder!
    By Ultra in forum Research & Development Lounge
    Replies: 12
    Last Post: 01-08-2008, 07:04 PM
  4. Read my bank procedure
    By me_ntal in forum OSR Help
    Replies: 2
    Last Post: 06-03-2007, 03:00 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
  •