Results 1 to 8 of 8

Thread: how to efficiently detect a resource dungeon?

  1. #1
    Join Date
    Feb 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how to efficiently detect a resource dungeon?

    i was searching for quite sometime on forums and i cant think of a good way to detect the door for a resource dungeon and i was also curious how i could get script to recognize if there was a certain amount of black pixels on the screen so that it could verify that i was inside the resource dungeon :d any help is appreciated

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    PercentBlackMM

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

    Default

    ACA to detect/click resource dungeon door.
    You can also verify if you are in/out of a resource dung by looking for/lack of MM Symbols.

  4. #4
    Join Date
    Feb 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    ACA to detect/click resource dungeon door.
    You can also verify if you are in/out of a resource dung by looking for/lack of MM Symbols.
    thanks

  5. #5
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    I'm actually gonna go with zmon on this one. Do something like:

    Simba Code:
    function InDungeon: Boolean;
    begin
      if (PercentBlackMM > 20) then
        Result := True;
    end;

    You can edit 20 to a different amount but it seems reasonable to me.


    EDIT: Another easier way is to use FindSymbol if the Mining Symbol is present

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

    Default

    zmon hasn't posted here?
    And you went with BOTH of us!

  7. #7
    Join Date
    Mar 2012
    Posts
    690
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    zmon hasn't posted here?
    And you went with BOTH of us!
    He saw the newcomer thing and thought it was zmon I think :P

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

    Default

    Quote Originally Posted by Sirenia View Post
    He saw the newcomer thing and thought it was zmon I think :P
    Ha! Saw green newcomer title, but then Promising Newcomer underneath.
    O man da human brain u no.

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
  •