Results 1 to 5 of 5

Thread: Aided FindDTM??

  1. #1
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default Aided FindDTM??

    So I'm trying to write an agility script right now. It's built around DTMs, and they look fine in the DTM editor. Now I ran my script for a while, and it worked fine. The next time I started it, it had issues finding the DTMs, after finding it once before. Then if I restarted the client again, it worked again. The conditions look all the same for the script, and sometimes it'll find it after a few minutes.

    So my question is, is there a way to aid the FindDTMRotated function so that it will not have issues searching for the area to click on?

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

    Default

    Make two separate DTMs for your object instead of just one, and then do this:

    Simba Code:
    if ((FindDTMRoated(DTM1...)) or (FindDTMRoated(DTM2...)) then
      Mouse(x, y, 5, 5, true);

    that way there is a 2x higher chance of your object being found, You could even use 3 or 4, so it's even more findable.

  3. #3
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Runescape changes the shape slightly of objects. The best thing for you to do is make you DTMs again and have the sub points inside the object not around the outside of it.

  4. #4
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default

    Well the issue it has is finding an object that is "tileable". The log balance DTM will draw red X's nearly all over the shape of the log, and the same for the plank balance DTM. But both these objects consist of roughly 4 color shades, so I thought it would have made it easier to find. I will try rebuilding using multiple DTMs for that one to hopefully get it to work.

  5. #5
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default

    Ok so I built 3 DTMs targeting different colors of that log, seems to work fine now, thanks for the advice!

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
  •