Results 1 to 5 of 5

Thread: How to open the door?

  1. #1
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to open the door?

    Ok so sorry for all the spam for help today, ive been making my first script which is now just under 500 lines and i only have walking left and banking and well i dont want to know i need sleep
    So i need sleep but i want to know how to open doors in the strong hold(Like in the pic below). I would love colour but if that cant be 95% + on finding it reflection it is, so ideas and thanks and sorry for the help spam

    P.S. lots of the doors have the same id i think
    P.S.S. its need to be the right one or it will spam click what it cant get to





    So thanks for any help
    Sorry for spam
    And im of to bed so ill thank you when i wake up
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  2. #2
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Well first you need to know the tile. Get the tile the door is on by prerecording it, or by using object finding during the script. I think it would be easier to use prerecorded tiles though. Then, use TileToMSEx to generate a point on screen. (TileToMS won't work as the point you want to click isn't centered on the tile)

  3. #3
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Look in my prince ali rescue quester, i use ref to get the top left and bottom right of the tile the door is on, then i do a findcolorstolerance using two colors from the door in that area, then mmouse and check uptext

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Use tiles, not IDs if there's multiple of the same IDs and you know exactly where the object is located that you want to click.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks guys your the best
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

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
  •