Results 1 to 7 of 7

Thread: Grr, help please :)

  1. #1
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default Grr, help please :)

    I made DTM for edge bank, it rights clicks the bank booth and ye, but when it gets to the bankscreen it stops... For about 10 sec then goes to the walking proc.

    SCAR Code:
    function OpenBank12: Boolean;
    begin
      Wait(1000);
      repeat
        if DTMRotated(BankBooth, x, y, MSx1, MSy1, MSX2, MSY2) then
        begin
          MMouse(x, y, 0, 0);
          if Isuptext('ank') then
          begin
            Mouse(x, y, 1, 1, false);
            wait(100 + random(200));
            ChooseOption('uickly');
          end;
        end;
      until (Bankscreen) or (Pinscreen);
    //  if OpenBankQuietBH('eb') then
    //  begin
      if (PinScreen) then
      begin
        InPin(IntToStr(Players[CurrentPlayer].Pin));
        Wait(500 + Random(250));
        if (BankScreen) then
        begin
          wait(200);
          FixBank;
          CountItemDTM(Yew);
          ReportVars[1] := CountItemDTM1(Yew);
          Deposit(2, 28, 2);
          CloseBank;
          Players[CurrentPlayer].Loc := 'Bank, Just banked.';
          Banked := Banked + 1;
          Bankedd := Bankedd + 1;
          Wait(1);
          ReportVars[0] := 1;
          SendSRLReport;
          Disguise('Done [' + IntToStr(Banked) + '/' + IntToStr(Players[CurrentPlayer].Integers[1]) + '] Loads');
          Exit;
        end else
          if not BankScreen then
          begin
            Result := False;
            Writeln('Player coulnt find the bank');
            Players[CurrentPlayer].Active := False;
            Logout;
          end;
      end;
    end;

    hmm, I want a DTm because it works like 100% on the bank and OpenBankQuite looks around for aleast 30 seconds.

  2. #2
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Hmm.. Not sure about your problem. But it seems that the script wont do anything unless your acc has a bankpin.

    SCAR Code:
    if (PinScreen) then
      begin
        InPin(IntToStr(Players[CurrentPlayer].Pin));
        Wait(500 + Random(250));
      end;
      if (BankScreen) then
      begin
       ....

    Maybe that would work? Just incase not everyone who uses this script has a bank pin.

  3. #3
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

  4. #4
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Then I'm not sure at all cause I dont understand your problem that well :S

  5. #5
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Thanks GoF, it worked..

    Lol.. thats sad

    Why couldnt i figure that out

  6. #6
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by BobboHobbo View Post
    Thanks GoF, it worked..

    Lol.. thats sad

    Why couldnt i figure that out
    Oh, it did? I guess it's sometimes hard to spot that kind of small things.

  7. #7
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    repeat
        if DTMRotated(BankBooth, x, y, MSx1, MSy1, MSX2, MSY2) then
        begin
          MMouse(x, y, 0, 0);
          if Isuptext('ank') then
          begin
            Mouse(x, y, 1, 1, false);
            wait(100 + random(200));
            ChooseOption('uickly');
          end;
        end;
      until (Bankscreen) or (Pinscreen);

    You don't need a wait after ChooseOption? (or Flag/FFlag?)

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

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
  •