Results 1 to 3 of 3

Thread: deposit to bank..

  1. #1
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default deposit to bank..

    yes its me again..
    For some reason it wont deposit ONLY the 15th item and below...I want it to click the 15th item and store all...I DONT want it to store anything before the 15th item...so this is my procedure but it keeps doing the following;
    It clicks store all for the first item in the inventery , THEN it stores all for the 15th item...but I ONLY want it to store for the 15th item..
    Please HELP. AND DONT TEL ME TO READ BANK.SCAR CUZ I READ IT 1`00000 times!

    thanks.
    heres the procedure thats messes up..
    SCAR Code:
    procedure Bankit;
    begin
      if (not(LoggedIn)) then Exit;
      FixBank;
      case Random(4) of
      0: begin
           Wait(250 +random(50));
           Deposit(15, 28, 3);
           Wait(450 +random(100));
           WithDraw(1,1,14);
           Wait(100+ random(100));
           CloseBank;
         end;
      1: begin
           Wait(250 +random(50));
           Deposit(15, 28, 3);
           Wait(450 +random(100));
           WithDraw(1,1,14);
           Wait(100+ random(100));
           CloseBank;
          end;
      2:  begin
            Wait(250 +random(50));
            Deposit(15, 28, 3);
            Wait(450 +random(100));
            WithDraw(1,1,14);
            Wait(100+ random(100));
            CloseBank;
          end;
      3:  begin
            Wait(250 +random(50));
            Deposit(15, 28, 3);
            Wait(450 +random(100));
            WithDraw(1,1,14);
            Wait(100+ random(100));
            CloseBank;
            Myrandom;
          end;
      end;
    end;

  2. #2
    Join Date
    Jan 2008
    Location
    Alberta
    Posts
    727
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try this,
    SCAR Code:
    procedure Deposit15to28;
    var
      i: integer;
    begin
      for i := 15 to 28 do
      MouseItem(i, true);
    end;

    That should deposit all items from 15 to 28 one by one.

  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    What does the 3 do on the end arent the valid auguments only one and 2?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. deposit(2, 28, true);
    By orange in forum OSR Help
    Replies: 9
    Last Post: 08-15-2008, 01:58 PM
  2. Deposit Bank..
    By faster789 in forum OSR Help
    Replies: 7
    Last Post: 05-24-2008, 11:05 PM
  3. Deposit Box(er?)
    By whatsthat in forum OSR Help
    Replies: 22
    Last Post: 12-20-2007, 09:53 PM
  4. Deposit Box Procedure?
    By wtf i sp4nk in forum OSR Help
    Replies: 2
    Last Post: 12-17-2006, 11:43 PM

Posting Permissions

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