Results 1 to 20 of 20

Thread: [Hard-To-Solve] How Do i get in a crowded Bank?

  1. #1
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default [Hard-To-Solve] How Do i get in a crowded Bank?

    THE DDTM IS THR BANK SYMBOL

    SCAR Code:
    function BankDDTM: Integer;
    var
      BankMainPoint: TDTMPointDef;
      BankSubPoints: Array [0..4] of TDTMPointDef;
      BankTDTM: TDTM;
      BankDTMTol : Integer;
    begin
      BankDTMTol := 40

      BankMainPoint.x := 632;
      BankMainPoint.y := 70;
      BankMainPoint.AreaSize := 0;
      BankMainPoint.AreaShape := 0;
      BankMainPoint.Color := 5087402;
      BankMainPoint.Tolerance := BankDTMTol;

      BankSubPoints[0].x := 632;
      BankSubPoints[0].y := 70;
      BankSubPoints[0].AreaSize := 1;
      BankSubPoints[0].AreaShape := 0;
      BankSubPoints[0].Color := 5087402;
      BankSubPoints[0].Tolerance := BankDTMTol;

      BankSubPoints[1].x := 632;
      BankSubPoints[1].y := 77;
      BankSubPoints[1].AreaSize := 1;
      BankSubPoints[1].AreaShape := 0;
      BankSubPoints[1].Color := 5087402;
      BankSubPoints[1].Tolerance := BankDTMTol;

      BankSubPoints[2].x := 638;
      BankSubPoints[2].y := 77;
      BankSubPoints[2].AreaSize := 1;
      BankSubPoints[2].AreaShape := 0;
      BankSubPoints[2].Color := 1462373;
      BankSubPoints[2].Tolerance := BankDTMTol;

      BankSubPoints[3].x := 638;
      BankSubPoints[3].y := 71;
      BankSubPoints[3].AreaSize := 1;
      BankSubPoints[3].AreaShape := 0;
      BankSubPoints[3].Color := 1462373;
      BankSubPoints[3].Tolerance := BankDTMTol;

      BankSubPoints[4].x := 635;
      BankSubPoints[4].y := 76;
      BankSubPoints[4].AreaSize := 1;
      BankSubPoints[4].AreaShape := 0;
      BankSubPoints[4].Color := 1758693;
      BankSubPoints[4].Tolerance := BankDTMTol;

      BankTDTM.MainPoint := BankMainPoint;
      BankTDTM.SubPoints := BankSubPoints;
      Result := AddDTM(BankTDTM);
    end;

    function BankWalk : Boolean;
    var
      SearchBankSymbol, BankDTM, x, y : Integer;
    begin
      repeat
        BankDTM := BankDDTM;
        if DTMRotated(BankDTM, x, y, MMX1, MMY1, MMX2, MMY2) then
        begin
          Mouse(x, y, 3, 3, True);
          Wait(450 + Random(115));
          FFlag(1);
          Wait(2000 + Random(2000));
          FreeDTM(BankDTM);
          Result := True;
        end;
        if (not (FindDTM(BankDTM, x, y, MMX1, MMY1, MMX2, MMY2))) then
        begin
          SearchBankSymbol := SearchBankSymbol + 1;
          if (SearchBankSymbol = 15) then
          begin
            FindSymbol(x, y, 'Bank');
            Mouse(x, y, 3, 3);
            FFlag(1);
            Wait(330 + Random(220));
            if (not (FindSymbol(x, y, 'Bank'))) then
            begin
              LogOut;
              Writeln('Failed to find the Bank');
            end;
          end;
        end;
      until (Result = True);
      SearchBankSymbol := SearchBankSymbol - SearchBankSymbol;
    end;

    The bank takes place in Camelot, the most annoying, crowded bank a SRL Jr. Scar Scripter could ever imagine! I tried numerous ways to enter the through fail safes and different methods such as Radial Walk etc... Nothing seems to work for me. Can anyone help me please? Fail safes are not working and i need another method....

    If you solve this, you are Cool =D

  2. #2
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Give me a pic and i'll fix it for you

    PvH

  3. #3
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm not sure what that ddtm is of, but you should try making a dtm of the bankers and you:



    make the main point the white spot and the bankers sub points.

  4. #4
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Wait... How did you do that =l

    But my case is TRYING to walk to the bank. BUT the bank is crowded so it cant find the BANK DDTM. Right now im making a Maple Chop and Bank. But the Camelot bank is always crowded. and im wondering does anyone know of an idea to enter the bank (Camelot) FROM outside.

  5. #5
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make a dtm of the pic i posted, it should get in the bank that way

  6. #6
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    ahh yes the question past down the ages. how evere i dono
    Did someone say GDK?

  7. #7
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A DTM of the bankers would be your best bet.

    To make a DTM:
    -Select RuneScape with the Crosshairs
    -Find the picture you want
    -Tools -> DTM editor
    -Click the main point (where you want all lines to converge on)
    -Click on some of the bankers

    Good luck.

    ~Macro
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  8. #8
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Quote Originally Posted by skilld u View Post
    Make a dtm of the pic i posted, it should get in the bank that way
    I already know how to make DDTMs and DTMs

    and skilld u, so if i was in the Maple Tree site near the bank of Camelot, i make a main point on the where i am standing in the mini map, and sub points on the bankers?

    Maple Tree Site
    0 - Me
    /\
    _/|_\__________________
    / | \ |
    o o o o o o o |
    Bankers |
    ______________________|
    Like that? (Me) is OUTSIDE the bank.

  9. #9
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you make the main point where you WANT to be after you click.

    make the main point where you want it to click in the bank, and the sub-points the bankers.

  10. #10
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This should work:
    SCAR Code:
    DTM := DTMFromString('78DA63CC646060B062400195B5790C72409A1' +
           '188FF0301630C90E188AA868B1D88A16A408031018B1A262C6AEC' +
           '50D5700BA1A9C900124EA86A18D1ED2A0112F6A86A7839116AD84' +
           '074311635BC68E69403096754350C3C686AAA31D5B07361518366' +
           '978000E97E0700B77D0E29');

    This is a strange bank though...
    There are no black outlines on the banker dots, so I had to add tolerance for it.
    Also.. I picked as mainpoint, a color near the bankers, so use like:
    SCAR Code:
    if DTMRotated(DTM, x, y+5, MMX1, MMY1, MMX2, MMY2) then
    To avoid it will click there
    I hope this works, because the colors change quite a lot, and I couldn't test it. Also, an uploaded image loses some information/changes colors, so that might also be why it can fail.

    Good luck with it,

    PvH

  11. #11
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Thanks PvH. Does i always though DDTMs worked better than dtms =p

  12. #12
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    So skilld u, like this?


    SCAR Code:
    DTM := DTMFromString('78DA63CC676260286640017939A9609A11CA6' +
           '74C02AA494355F3E70F13AA9A2C203F8B809A3222D4D401F999F8' +
           'D50000B0110D81');

    And the picture of the DTM.


  13. #13
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by deathscytex View Post
    So skilld u, like this?


    SCAR Code:
    DTM := DTMFromString('78DA63CC676260286640017939A9609A11CA6' +
           '74C02AA494355F3E70F13AA9A2C203F8B809A3222D4D401F999F8' +
           'D50000B0110D81');

    And the picture of the DTM.

    Yes, that is the same as I did
    Good job, though this bank is hard with color change, so it might fail

    PvH

  14. #14
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Aww....... Wait guys. Isnt it usually when we click in the mini map where the banker are, the Flag ends up INSIDE the bank and we walk in .


    See where the the bankers stand in the Mini Map, click on that and we move towards the bank! it could work right?

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

    Default

    It would work but you could possibly end in another place where there is a yellow dot. like PvH said, the colors change a lot, so tolerance has to be set high, and sometimes thats not the best thing.

  16. #16
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Add failsafes to check if you're inside the bank?

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

    Default

    Yes... always add failsafes. Just look for something on the main screen, a color of some sort that is dynamic and specific to that bank only.

  18. #18
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by deathscytex View Post
    Thanks PvH. Does i always though DDTMs worked better than dtms =p
    A DDTM is totally the same as a DTM other than the fact that you can create it during runtime.

  19. #19
    Join Date
    Jul 2008
    Location
    California
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    You could try creating the DTM of the bankers with the main point inside the bankers' room (as far as I know the bankers do not walk around so this should work). And then have the mouse click instead of ON the DTM, click near the DTM, but inside the bank, also with failsafes.

    Code:
    FindDTMRotated( DTM, x, y + 5, MMX1, MMY1, MMX2, MMY2 );
    Mouse( x, y - 7, 2, 5, True);
    Unfortunately, no active scripts atm.

  20. #20
    Join Date
    Nov 2007
    Posts
    437
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    DDTMs are beneficial when you might need to change things like color tolerance or area size during the script. If the DTM is static, you might as well make a regular DTM because it takes fewer lines. Some other tips, when creating your DTM make sure to give a Area Size on the bankers of 2 or 3 and a Color Tolerance of 10 to 15 because the colors change and the location of bankers shifts a bit. Always choose the center color of the bankers dots. Set the tolerance of your main point to 255, that way if some one is standing there or it is empty it will still work. Good luck.

    Dusk412

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Bored? Solve this.
    By Secet in forum News and General
    Replies: 23
    Last Post: 11-28-2007, 07:07 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
  •