Results 1 to 8 of 8

Thread: Finding the width of a banker help

  1. #1
    Join Date
    Nov 2014
    Location
    Australia
    Posts
    188
    Mentioned
    2 Post(s)
    Quoted
    97 Post(s)

    Default Finding the width of a banker help

    Hey all,
    I'm using the mainscreen.findObject function to click on a banker because the defaults (BANK_BOOTH, NPC_GREEN) do not work at this location. I am wondering how to find the width and height of a banker. I was wondering if there was a tool for that, or a procedure that would help you find this out.
    Help would be appreciated,
    Josh
    Why join the navy if you can be a pirate? -Steve Jobs

  2. #2
    Join Date
    Jun 2014
    Location
    Oklahoma
    Posts
    336
    Mentioned
    22 Post(s)
    Quoted
    231 Post(s)

    Default

    Just eyeball it and guess how many pixels high and wide the banker is. I'd say 20 by 20 is a good starting point. Experiment around with different numbers until you get the results you want.

  3. #3
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    You can also just use the color picker and go from the left edge to the right edge of the banker, the difference will be the width..
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  4. #4
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    gyazo will tell you the pixel height by width of w.e screenshot you're taking, I hope that helps

  5. #5
    Join Date
    Nov 2014
    Location
    Australia
    Posts
    188
    Mentioned
    2 Post(s)
    Quoted
    97 Post(s)

    Default

    Quote Originally Posted by No Lifer View Post
    gyazo will tell you the pixel height by width of w.e screenshot you're taking, I hope that helps
    Dis guy is a genius :P
    Why join the navy if you can be a pirate? -Steve Jobs

  6. #6
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    Quote Originally Posted by jonesy259 View Post
    Dis guy is a genius :P
    lol np. gl on your scripting, if you end up releasing it publicly, lemme know to check it out =)

  7. #7
    Join Date
    Nov 2014
    Location
    Australia
    Posts
    188
    Mentioned
    2 Post(s)
    Quoted
    97 Post(s)

    Default

    Quote Originally Posted by No Lifer View Post
    lol np. gl on your scripting, if you end up releasing it publicly, lemme know to check it out =)
    Its working great

    Release on srl junior soon
    Why join the navy if you can be a pirate? -Steve Jobs

  8. #8
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Find the banker using a TPA..

    GetTPABounds will return a box containing that TPA.. Y2 - Y1 = Height. X2 - X1 = Width.
    I am Ggzz..
    Hackintosher

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
  •