Results 1 to 7 of 7

Thread: Rat Finding help...

  1. #1
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Rat Finding help...

    Im trying to find a better way to find a rat, im thinking like dtm's of that sort but is there anything else i can do to find it?I cant get color because sometimes it leads to the bones or the gray castle wall. Im sorry for all these threads i just need alot of help.

  2. #2
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Using TPointArray-dependent functions like FindColors(Spiral/Tolerance) is very use- and powerful for object finding purposes.

    FindColorsSpiralTolerance, then TPAtoATPAEx, and finally sort out all the ATPAs that have a length outside the range you're searching for.

  3. #3
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sweet, ill look into that, thank you.

  4. #4
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are rats on the minimap? If yes then you can use FindObjThroughMM too.

  5. #5
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sabzi View Post
    Are rats on the minimap? If yes then you can use FindObjThroughMM too.
    I wouldn't recommend it, though -- MMtoMS uses a very inaccurate formula, it's only good for static objects, and even then, it struggles with finding i. e. an oak. So, a moving and rather small object like a rat would cause trouble for MMtoMS.

  6. #6
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Learn about FindObjTPA(), its a premade TPointArray-objectfinder

  7. #7
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    You can try "SmartColors" as well. Although the gray color of the rats and the walls/bones may be very close, there could be some unique single colors that you can use to find rats. If so, a SmartColors type procedure would be able to find and click them.

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

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


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
  •