Page 2 of 2 FirstFirst 12
Results 26 to 48 of 48

Thread: Finding Bank

  1. #26
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by itschris917 View Post
    It really isn't dumb. The bankers are static(meaning they don't move). And i can almost guarantee that his script will walk him to AROUND the same spot everytime.. All he needs to do is make a box around the bankers and search in there..
    OR he could SIMPLY make a dtm to get him in the center every time?
    Extinct.

    Formally known as Drags111.

  2. #27
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not every time.. lol. Oh well, you guys win this battle.. but my way would work also. .

  3. #28
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    okay well i tried the dtm thing and made it a lot like chris said do and i tried making the bankers sub points but it just didnt work and clicked random places... Any more ideas?

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

    Default

    I would have to recommend using the bankers as subpoints (even though I am not mem, I do know what I am talking about lol). I would set tolerance of the parent to 255 and then for the subpoints area of 3 maybe and tolerance of 10-15?

    Edit: give me a link to the picture or something and I'll even make it for you (I'm f2p)

    Edit: and that finding the symbol as a backup := good idea .

  5. #30
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sirlaughsalot, if you trust me enough, loan me your account with your character standing exactly where you are immediately before you want to click on the bankers and i will make the DTM for you...

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

    Default

    That goes for me as well, though if he doesn't trust itschris he won't trust me probably lol seeing as I am not a member. But just for the record my offer still stands. Or you can upload the pic (try photobucket.com) and I will make that way...

    Edit: Just take a picture (print screen button then paste in MSPaint or something) and leave the whole minimap on there for me and I will create a DTM .

  7. #32
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol, same as Dusk.. It's hard to create one when the picture is so small..

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

    Default

    OK well you know what I just used that pic on the first page and I made the DTM for you. I even made a sample script that finds the bank and clicks for you! Yeah, I know, I'm awesome. (I swear, if anyone complains that I have no failsafes or antirandoms I will kill them lol). Anyways here is the DTM:

    DTM := DTMFromString('78DA6314676060E0654001FF7FBE64F80FA 41' +
    '9416C2060E40632F82072CC5035EFBE5830F043D58000588D 38AA' +
    '9A2FEF8351D5C80109515435576F2BA3A80100129E0ED0');

    And here is the sample script:

    SCAR Code:
    program FindBankTest;
    {.include SRL/SRL.scar}

    var
      x, y, BankDTM : Integer;

    procedure FindTheBank;
    begin
      BankDTM := DTMFromString('78DA6314676060E0654001FF7FBE64F80FA41' +
           '9416C2060E40632F82072CC5035EFBE5830F043D58000588D38AA' +
           '9A2FEF8351D5C80109515435576F2BA3A80100129E0ED0');
      if (FindDTM(BankDTM, x, y, MMx1, MMy1, MMx2, MMy1)) then
      begin
        Writeln('YAY WE FOUND THE BANK!!!');
        MFNF(x, y, -1, 1);
      end else
      begin
        Writeln('We Did Not Find The Bank DTM');
        if (FindSymbol(x, y, 'bank')) then
        begin
          Writeln('WE FOUND THE BANK SYMBOL!!!');
          MFNF(x, y, -1, 1);
        end else
        begin
          Writeln('Man We Fail.... Better End The Script');
          TerminateScript;
        end;
      end;
    end;

    begin
    SetupSRL;
    ActivateClient;
    FindTheBank;
    end.

  9. #34
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks man ill try that im goin to clear some brush ill be back in like 9 hours... well lunch before that but... whatever... THANKS!

  10. #35
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    okay ya'll we bitchin about how it is hard to do it because you dont know what it looks like, so thats where i will be running from and whatnot... I was thinking, maybe make multiple DTM's of the bank and use them all to account for the bank symbol being over the wall.... Btw it didnt work... and what were those mouse functions you were using i have never seen them before

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

    Default

    MFNF stands for MouseFindNoFlag (that was the old function name but they thought it was too long. What it does is it clicks the spot of x, y and then it will wait for the flag disappear. The difference between this and MouseFlag is that if that when it clicks and there is no flag, the mouse will move xmod, ymod pixels until it makes one. Solves one of the major problems with Flag. my xmod is -1 and ymod is 1 meaning it will move 1 pixel left and 1 pixel down if it doesnt find it. I made a rapage DTM tutorial and here is the link for you:


    http://www.villavu.com/forum/showthread.php?t=31021


    Btw if the procedure i made isn't working, it is only if the bank is on your minimap, just in case you didn't know that. the walking part you will have to do yourself .

  12. #37
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah i just switched out the DTM's I kept my procedure, goin to bed have a long day tomorrow, keep shooting ideas ill reply in the morning

  13. #38
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    Actually, color finding will work. I've been there and you could simply make a blind-click to the south and then search for the color. If he winds up by the bank, he can then rotate the camera to see if he can get a view of a banker. Another FCT later, he's got the menu open and can select bank. He'll run to the bankers.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  14. #39
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Anybody have any suggestions? anything that would maybe be easier or whatnot?

  15. #40
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    R0b0t1's idea was possible. Try that one.

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

    Default

    I would just do a find symbol and that is all. Walk to the bank and then Find Symbol and then click. Boom you are in the bank.

  17. #42
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well the problem with that is if you walk outside the bank you never actually get to the bankers... unless you are on the door side of the bank, and it is extremely difficult to get the bank booth because the are the same color as everything else.. and look at the first page...

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

    Default

    Oh yea I forgot about that. I do not understand why the DTMs are not working for him but whatever. I really suggest making your own DTM. See my tutorial if you do not know how. It is TRULY the best way I know how. Other than that use the color finding way.

  19. #44
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i know how to make a DTM, for some reason my whole script is bugging all the sudden so i guess im gonna hold back the new release...


    I have a feeling something is divinely flawed with this procedure... because I use 5 DTM's and they dont work... Or maybe just the DTM's are wrong...
    SCAR Code:
    Procedure WalktoBank;
    begin
      Status('Walking to the bank')
      Repeat
      If FindDTM(BankDTM,x,y,MMx1,MMy1,MMx2,MMy2) then
      Begin
        Writeln('Found BankDTM')
        Mouse (x,y,2,2,true)
      end;
      If FindDTM(BankDTM2,x,y,MMx1,MMy1,MMx2,MMy2) then
      Begin
        Writeln('Found BankDTM2')
        Mouse (x,y,2,2,true)
      end;
      If FindDTM(BankDTM3,x,y,MMx1,MMy1,MMx2,MMy2) then
      Begin
        Writeln('Found BankDTM3')
        Mouse (x,y,2,2,true)
      end;
      If FindDTM(BankDTM4,x,y,MMx1,MMy1,MMx2,MMy2) then
      Begin
        Writeln('Found BankDTM4')
        Mouse (x,y,2,2,true)
      end;
      If FindDTM(BankDTM5,x,y,MMx1,MMy1,MMx2,MMy2) then
      Begin
        Writeln('Found BankDTM5')
        Mouse (x,y,2,2,true)
      end;
      SymbolAccuracy:=0.2;
      begin
        If FindSymbol(x,y,'Bank') then
        mouse (x,y,2,2,true);
      end;
        until (flag) or (i>=10)
      if (i>10) then
      begin
        LogOut;
        Status('Could not find the bank')
        ProgressReport;
        Status('About to terminate script opening web page')
        OpenWebPage('http://www.villavu.com/forum/showthread.php?t=28457')
        TerminateScript;
      end;
    end;

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

    Default

    Okay just checking one last time, you know that DTMs are not used to walk you to the bank UNLESS the bank is already on the minimap correct?

  21. #46
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OMG yes look at the 2nd page i have a full picture of where im coming from/going to...

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

    Default

    Okay I was just checking. Try a FindDTMRotated if you still feel like doin DTMs. Otherwise do whatever you want.

  23. #48
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay i think i have done something pretty ingenious, i now have it if it cannot find the banker then it will log out/back in then click on the symbol again and so on and so forth, it works pretty well =D

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding the bank
    By sirlaughsalot in forum OSR Help
    Replies: 30
    Last Post: 05-09-2008, 07:48 AM
  2. Bank Finding Help!
    By faster789 in forum OSR Help
    Replies: 20
    Last Post: 04-06-2008, 01:25 AM
  3. help with bank finding
    By zenma in forum OSR Help
    Replies: 4
    Last Post: 09-08-2007, 12:08 PM
  4. need help with bank finding
    By del_signo in forum OSR Help
    Replies: 3
    Last Post: 04-12-2007, 03:29 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
  •