View Full Version : DTM editor
blother
05-17-2012, 08:31 PM
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.
iBlank
05-17-2012, 09:08 PM
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.
Brandon
05-17-2012, 09:09 PM
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.
blother
05-17-2012, 10:16 PM
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.
Brandon
05-17-2012, 10:25 PM
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.
blother
05-17-2012, 11:26 PM
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 :D
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.