Results 1 to 6 of 6

Thread: DTM editor

  1. #1
    Join Date
    Sep 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default DTM editor

    When finding matching DTMs in the DTM editor my simba closes out when I increase the tolerance of the center point. If the tolerance stays at 0 it finds it, but when I would put in 255 my simba would close.

  2. #2
    Join Date
    Mar 2012
    Posts
    426
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    You need to put more points on the perimeter of the items. If you put your center point to 255 and don't have very many perimeter points then it will find DTMs all over the entire screen, so many that it doesn't even show you them. It just lags itself to death and shuts down.
    - My Scripts (Beginning to Update to SRL 6) -

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

    Default

    LOL! 255 is too much! It crashes Simba when you put a tolerance that large.. If you need a tolerance that large, i suggest 150 or 200. But with a tolerance that large, you need more than enough points!

    Good:

    Main Point 150-200 tolerance..
    7 other points 10-15 tolerance.. This will not crash your simba. If these are any larger than 25 your Simba goes bye bye.

    Bad:

    Main Point 150-200 tolerance.
    3 other points 10-15 tolerance.. There is not enough points.. Simba will crash since it will have like 1000 matches for that one DTM.
    I am Ggzz..
    Hackintosher

  4. #4
    Join Date
    Sep 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    LOL! 255 is too much! It crashes Simba when you put a tolerance that large.. If you need a tolerance that large, i suggest 150 or 200. But with a tolerance that large, you need more than enough points!

    Good:

    Main Point 150-200 tolerance..
    7 other points 10-15 tolerance.. This will not crash your simba. If these are any larger than 25 your Simba goes bye bye.

    Bad:

    Main Point 150-200 tolerance.
    3 other points 10-15 tolerance.. There is not enough points.. Simba will crash since it will have like 1000 matches for that one DTM.
    Do people not use the perimeter for DTMs anymore? I would have my one center point at a low tolerance and the the other points on the black perimeter at 255.

    What I am trying to do now is create for multiple items of different color with the same shape, so I tried the center at 255, which I now know obviously doesn't work.

    Hmmm am I just being dumb putting the perimeter to 255? After thinking about that I feel like that is completely unnecessary.

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

    Default

    Quote Originally Posted by blother View Post
    Do people not use the perimeter for DTMs anymore? I would have my one center point at a low tolerance and the the other points on the black perimeter at 255.

    What I am trying to do now is create for multiple items of different color with the same shape, so I tried the center at 255, which I now know obviously doesn't work.

    Hmmm am I just being dumb putting the perimeter to 255? After thinking about that I feel like that is completely unnecessary.
    No no, it's possible to use one DTM for 50m objects with the same shape. Your just not exactly making it flawless. See if that one DTM is found too many times then of course it's going to crash because that DTM is too useless.

    Make the mainpoint have like 200 tolerance as almost everything revolves around a center. Next make the other points at iunno 50 tolerance or something. Just make sure there are enough supporting points.

    One example would be:

    DTMFromString('mQwAAAHicY2ZgYMhmYmAoAuIUIOZiZGBgAm IhIG6OF2aojRZiyPHjZxABqoNhRiQMBAC0KART');

    That DTM can be used for 9 different staves around runescape. The Main point I remember removing it but the main point was on the bulb of the staff and it had a tolerance of 200 while the other points were 20-50.


    This allowed it to detect any battle staff with one DTM. You can definitely do the same. Think about what I said. Center point high tolerance, Any point with a major contrast in colour can have a high tolerance but always make sure that there are enough supporting points to differentiate between that DTM and a billion other items on the screen. You want your DTM to detect your objects and only your objects. Not the entire screen.
    I am Ggzz..
    Hackintosher

  6. #6
    Join Date
    Sep 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    No no, it's possible to use one DTM for 50m objects with the same shape. Your just not exactly making it flawless. See if that one DTM is found too many times then of course it's going to crash because that DTM is too useless.

    Make the mainpoint have like 200 tolerance as almost everything revolves around a center. Next make the other points at iunno 50 tolerance or something. Just make sure there are enough supporting points.

    One example would be:

    DTMFromString('mQwAAAHicY2ZgYMhmYmAoAuIUIOZiZGBgAm IhIG6OF2aojRZiyPHjZxABqoNhRiQMBAC0KART');

    That DTM can be used for 9 different staves around runescape. The Main point I remember removing it but the main point was on the bulb of the staff and it had a tolerance of 200 while the other points were 20-50.


    This allowed it to detect any battle staff with one DTM. You can definitely do the same. Think about what I said. Center point high tolerance, Any point with a major contrast in colour can have a high tolerance but always make sure that there are enough supporting points to differentiate between that DTM and a billion other items on the screen. You want your DTM to detect your objects and only your objects. Not the entire screen.
    I think I've got the hang out of it now thanks a ton for taking your time to help out

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
  •