Results 1 to 9 of 9

Thread: What is DTM and SMART?

  1. #1
    Join Date
    Jul 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What is DTM and SMART?

    I keep seeing these around the forum and I attempted to look into it but It went straight over my head. I know DTM is Deformable Template Model but I have no idea what that is. Can someone briefly explain to me what these two things are and what they do.

    ALSO (because it's very important) are these things Runescape specific? Because I use SCAR to make macros for other games and if I can't use these things then I don't want to bother using them.

  2. #2
    Join Date
    Mar 2009
    Location
    Illinois
    Posts
    292
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok well a brief explanation is this.

    DTM - Deformable Template Model - Mainly used for object finding in Runescape. Can be made in Scar > Tools > DTM Editor.

    S.M.A.R.T - Scar Minimizing Autoing Resource Thing - This is just used so you can be on your computer while autoing - E.X. Right now i'm running a script training my army while posting this message to help you out.


    If you don't understand anything/want more info look up some tutorials in the tutorial section, reply to my post, or send me a P.M.

  3. #3
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SMART is specifically for RuneScape..

    DTMs aren't..

  4. #4
    Join Date
    Jul 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ah! Thank both very much. I will look into both of those. They sound very useful. I'm really interested in that SMART thing. You say it's specifically for RuneScape. Do you think it's possible to use it for other games?

    btw: I play Luminary Online.

  5. #5
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it loads runescape automatically..

    if you can change it then you can change it.. but it will only work with an online client like rs..

  6. #6
    Join Date
    Jul 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, thank you.

  7. #7
    Join Date
    Mar 2009
    Location
    Ireland
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SMART is just way to run a script minimised...

    Its not too hard to enable it on regular scripts.

    I'm not too familar with Luminary Online, but is it purely online, or a downloadable client...

    If its embedded online I'll have a look...

    FYI, it would mean all the SRL will be incompatible with it though...

    all the scripts in the SRL are made for Runescape, so it would be damn hard to configure the whole library for it...

    Mail me back if you want any more information

  8. #8
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Well, I just looked up luminary; SMART won't work with it. Technically, SMART can work with any java-based game (a rare breed, indeed). Technically. You'd need to convince the creator (BenLand100) to modify it, though, which would be quite a chore.


    DTM's are special data structures that define the relation between specific points of color. For example, you can make a DTM of a red pixel that is four pixels away from a white pixel, then search for it at any angle or location on the screen.

    Neat, but not very useful, until you add tolerances. With tolerances, you can make a DTM of two pixels - just like before - but have it accept 3 to 8 pixels in between, or have some tolerance on the color, so it will accept off-red or off-white. Now it starts to become useful.

    Finally, add support for on-the-fly creation of DTM's. These special DTM's are called DDTM's, or Dynamic DTM's. So now, instead of defining the DTM when you write the script, you can create the DTM while the script is running - so instead of saying that the first pixel must be red, you can tell the script to use a certain color for that first pixel. This enables the script to make certain decisions before searching for the DTM, which ultimately makes detection much more accurate. For the sake of an easy example, assume that the color of an object is different for each day of the week. Your script would check the day, and then assign the correct colors to the DTM's points.

    Hope that made some sense, never hesitate to ask questions
    Interested in C# and Electrical Engineering? This might interest you.

  9. #9
    Join Date
    Mar 2009
    Location
    Ireland
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    but if were to use only colour-finding and no reflection it should be possible to use it as-is with only changing the URL in smart.scar to suit...

    unless its to do with the java engine...

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
  •