Page 1 of 2 12 LastLast
Results 1 to 25 of 36

Thread: Bank Locating and Suggestions

  1. #1
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Bank Locating and Suggestions

    Alright, I have a script called OPERATION: Yews. (http://www.villavu.com/forum/showthr...=13213?t=14622)
    This script chops Yew trees from 2 different locations in Varrock and banks them,

    It is still in Beta because the walking is bad. Well, I have fixed most of that up and the only hard part is getting the script to find the bank.

    I use symbol finding and the symbol is usually, always, covered up. Any suggestions on a better way to find the symbol?
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  2. #2
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    DTMs, DDTMS, radialwalking,FindBank
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  3. #3
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Dude. Im not stupid. I can radial walk. I just am having trouble locating the symbol with SRL's find symbol finction.
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  4. #4
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    symbols move around, so they arent accurate, and they can get convered up(as u know) so u might want to use DTMs
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  5. #5
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Alright, That doesn't explain much. Do you mean I should use a DTM of the entire bank symbol then use a find DTM procedure for the bank and even if the symbol is covered up, I can still find it?
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  6. #6
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    no i meam stop using the symbol completely, and use a DTM of something else, and whatever you choose is out of the bank, then use Mouse(x(+ or - whatever, to getu into the bank),y(+ or - whatever, to getu into the bank),2,2,true)
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  7. #7
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Alright, I'll go read some tutorials on DTMs. YAY 200 posts!
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  8. #8
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Or colorpick the bank symbol color.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  9. #9
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    No, make a dtm or DTMM of the bankers and put the main point in front of the bank with a really high tolerance, so i would find any color. Then you will (alsmot) always find the bank. But be sure to use some special colors, otherwise the dtm could be find anywhere.
    Here this is what i use:
    SCAR Code:
    if FindDTMRotated(TheDTM,x,y,MMX1,MMY1,MMX2,MMY2,0,2*pi,0.05, bla) then
    Btw the bankers dot on the mini map has got a static color. Its like 19860 or something like that . So use that color and set tolerance to 0 and area size 1-2. Good luck!
    Verrekte Koekwous

  10. #10
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    So, you think I should make a DTM of all the bankers behind the booth?

    Couldn't I just AutoColor a DTM of the ladder? That sounds easier.
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  11. #11
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    depends on if there are other ladders that look the same in the vicinity, but if u can see the bank, wouldnt FindBank work?
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  12. #12
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by dan cardin View Post
    depends on if there are other ladders that look the same in the vicinity, but if u can see the bank, wouldnt FindBank work?
    No because FindBank uses the symbol and sometimes the symbol is too crowded. So just use a DTM of the bankers or anything that is very special and belongs to the bank .
    Verrekte Koekwous

  13. #13
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Alright, I did it. It works pretty well!

    TY!
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  14. #14
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  15. #15
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I dunno, but this might work;
    SCAR Code:
    {.Include SRL/SRL.scar}

    program BankFindingStuff;
    VEB, VWB:Integer;

    Procedure LoadBankDTMs;//Varrok bank DTM's w/mainpoint at the enterance
     Begin
      VEB := DTMFromString('78DA6314676060E0604001F53565609A11CA6' +
           '7E403120AA86AFEFC6142552384A9E6EB57065435A2986ABE7C41' +
           '532341845D32986AEEDE4533471E53CDD5ABA86A00C7580E11');
      VWB := DTMFromString('78DA631460606070604001F5A5A90C2780342' +
           '310FF0702464520831B55CDDBB7109A11CA07AB11415573E60C9A' +
           '1A0520218DAAE6CF1F264C354A04EC02A9D122428D117E3500C3F' +
           'F12F0');
     End;

    Function FindTheBank(bank:string):Boolean;//Bank is either 'vwb' or 'veb', returns true if found
                                               //Should get you to the enterance of either bank if its in your minimap
      Var x,y:Integer
      Begin
        Case (bank) of
          'vwb': Begin
                   If DTMRotated(VWB,x,y,667,139,888,300) Then
                     Begin
                       Mouse(x,y,2,2,true);
                       Writeln('At entrance of Varrok West Bank');
                       Result:=True;
                     End;
                 End;
          'veb': Begin
                   If DTMRotated(VEB,x,y,667,139,888,300) Then
                     Begin
                       Mouse(x,y,2,2,true);
                       Writeln('At entrance of Varrok East Bank');
                       Result:=True;
                     End;
                 End;
        End;
      End;


    Procedure FreeBankDTMs;
      Begin
        FreeDTM(VEB);
        FreeDTM(VWB);
      End;

    Procedure GetToEnterance;
      Begin
        LoadBankDTMs;
        FindTheBank('veb');//or 'vwb', w/e
        FreeBankDTMs;
      End;

    You'd wanna use GetToEnterance though
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  16. #16
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by rotflmfwao View Post
    I dunno, but this might work;
    SCAR Code:
    {.Include SRL/SRL.scar}

    program BankFindingStuff;
    VEB, VWB:Integer;

    Procedure LoadBankDTMs;//Varrok bank DTM's w/mainpoint at the enterance
     Begin
      VEB := DTMFromString('78DA6314676060E0604001F53565609A11CA6' +
           '7E403120AA86AFEFC6142552384A9E6EB57065435A2986ABE7C41' +
           '532341845D32986AEEDE4533471E53CDD5ABA86A00C7580E11');
      VWB := DTMFromString('78DA631460606070604001F5A5A90C2780342' +
           '310FF0702464520831B55CDDBB7109A11CA07AB11415573E60C9A' +
           '1A0520218DAAE6CF1F264C354A04EC02A9D122428D117E3500C3F' +
           'F12F0');
     End;

    Function FindTheBank(bank:string):Boolean;//Bank is either 'vwb' or 'veb', returns true if found
                                               //Should get you to the enterance of either bank if its in your minimap
      Var x,y:Integer
      Begin
        Case (bank) of
          'vwb': Begin
                   If DTMRotated(VWB,x,y,667,139,888,300) Then
                     Begin
                       Mouse(x,y,2,2,true);
                       Writeln('At entrance of Varrok West Bank');
                       Result:=True;
                     End;
                 End;
          'veb': Begin
                   If DTMRotated(VEB,x,y,667,139,888,300) Then
                     Begin
                       Mouse(x,y,2,2,true);
                       Writeln('At entrance of Varrok East Bank');
                       Result:=True;
                     End;
                 End;
        End;
      End;


    Procedure FreeBankDTMs;
      Begin
        FreeDTM(VEB);
        FreeDTM(VWB);
      End;

    Procedure GetToEnterance;
      Begin
        LoadBankDTMs;
        FindTheBank('veb');//or 'vwb', w/e
        FreeBankDTMs;
      End;

    You'd wanna use GetToEnterance though

    Where did u get this?
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  17. #17
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wrote it... Is it any good?
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  18. #18
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Wait, does it look for the bank entrance? I dont get it. I need something to get the player near the Varrock East Bank Booth.
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  19. #19
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    make a DTM and customize the +/- of the x and y to make itclick where u want

    @rotflmfwao-no offense, but i doubt u wrote that...but if u did, then please accept my appolgy
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  20. #20
    Join Date
    Jun 2007
    Location
    New Yawk
    Posts
    943
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by rotflmfwao View Post
    Wrote it... Is it any good?
    I actually don't believe that you did. You have a request for a "60-second" script that collects bananas, and you said you were too inexperienced. Reporting to let the mods check.
    I guess the holidays are over - no sig for now.

  21. #21
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Wait, so how should I make the DTM? I tried making 1 of the yellow bank booth people (whatever you call them) BANKERS! Thats it! (lol)

    And it worked some of the time, but mostly it clicked on the dogs and the sweepers in Varrock. Any ideas on what I am doing wrong?
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  22. #22
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    put
    SymbolAccuracy=.05 in your mainloop.
    More tolerant for symbols, but sometimes finds wrong one, but works for me.

  23. #23
    Join Date
    May 2007
    Location
    Seattle
    Posts
    1,069
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    But this is a public script and people wont really want, or will know how, to change that.
    FORMERLY BORN2CODE | Play Internet Games
    http://img147.imageshack.us/img147/2084/sigg.png

  24. #24
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Here View Post
    I actually don't believe that you did. You have a request for a "60-second" script that collects bananas, and you said you were too inexperienced. Reporting to let the mods check.
    I can't do the banana thing cause i suck at radial and linear walking...

    Quote Originally Posted by Dan cardin
    make a DTM and customize the +/- of the x and y to make itclick where u want

    @rotflmfwao-no offense, but i doubt u wrote that...but if u did, then please accept my appolgy
    I accept Why do you people think I didn't write it?


    BTW, no one has answered my question on weather or not that is any good! (i'm gonna say it is though since you all are making such a big deal over it )
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  25. #25
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by born2code View Post
    But this is a public script and people wont really want, or will know how, to change that.
    No One Needs to do anything, just add it in your main loop.
    SCAR Code:
    Begin
      SetupSRL;
      SymbolAccuracy=.05;
      Whatever;
    End;

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help/Suggestions
    By Kyle Undefined in forum OSR Help
    Replies: 0
    Last Post: 11-02-2008, 08:24 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
  •