Results 1 to 17 of 17

Thread: DTM tolerance?

  1. #1
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default DTM tolerance?

    Can i make my script search for a DTM tolerance like i can bitmaps and colors? If so what is the code? Thanks in advance

  2. #2
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    Can i make my script search for a DTM tolerance like i can bitmaps and colors? If so what is the code? Thanks in advance
    No, you have to select the tolerance of the color for each point when creating the DTM.

  3. #3
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    No, you have to select the tolerance of the color for each point when creating the DTM.
    ahhh gotchaa

    one more queston:

    if i create a TPA, lets say of a runecrafting alter, and i move my camera around can the bot still detect the TPA?

  4. #4
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    ahhh gotchaa

    one more queston:

    if i create a TPA, lets say of a runecrafting alter, and i move my camera around can the bot still detect the TPA?
    you don't know what you're asking.

  5. #5
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    ahhh gotchaa

    one more queston:

    if i create a TPA, lets say of a runecrafting alter, and i move my camera around can the bot still detect the TPA?
    Yes and no. If the TPA is on screen, yes. Theorically, I'd compare this to finding a TPA while you're running. The clicking would be a bit harder than usual, but you could find the TPA. The "no" part is that it won't actively search for the TPA while the camera is moving unless you decide to rewrite some includes.

  6. #6
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Wardancer View Post
    Yes and no. If the TPA is on screen, yes. Theorically, I'd compare this to finding a TPA while you're running. The clicking would be a bit harder than usual, but you could find the TPA. The "no" part is that it won't actively search for the TPA while the camera is moving unless you decide to rewrite some includes.
    was just wondering because i was going to do a TPA for rc alter and wanted to make sure it would work forever without having to create a new one on each login

  7. #7
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    was just wondering because i was going to do a TPA for rc alter and wanted to make sure it would work forever without having to create a new one on each login
    Ohh. Misunderstood you. Thought you meant turning the camera around in case you don't find the TPA. The answer is simpler then. If your TPA is made correctly, with the right colour and tolerance, it should always work. However, do know that colours tend to change a little bit over time so don't be too surprised if you end up realizing that your TPA doesn't work after a login. It might need some tweaking.

  8. #8
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Wardancer View Post
    Ohh. Misunderstood you. Thought you meant turning the camera around in case you don't find the TPA. The answer is simpler then. If your TPA is made correctly, with the right colour and tolerance, it should always work. However, do know that colours tend to change a little bit over time so don't be too surprised if you end up realizing that your TPA doesn't work after a login. It might need some tweaking.
    For a RSPS dont think I will have to worry about to much of a color change.

  9. #9
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    was just wondering because i was going to do a TPA for rc alter and wanted to make sure it would work forever without having to create a new one on each login
    Well you don't really "create" a TPA, you find a TPA. (I mean I guess technically you "create" one by searching the screen to gather the points...)

    So if you know how to use TPAs properly, it should always find the TPA. If you were using a DTM that'd be a different story.
    Currently: Playing OSRS legit until I get bored

  10. #10
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Roflme View Post
    Well you don't really "create" a TPA, you find a TPA. (I mean I guess technically you "create" one by searching the screen to gather the points...)

    So if you know how to use TPAs properly, it should always find the TPA. If you were using a DTM that'd be a different story.
    Hehe im using a DTM for the alter tested it from like 7 different angles and it worked

  11. #11
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    Hehe im using a DTM for the alter tested it from like 7 different angles and it worked
    Then you must've used a small DTM. If it could fit at any angle then it'd work. But take a DTM too large and an alteration in the angle could throw it off.

    Personally I'd just switch to TPAs because they're much more reliable (they won't mess up if you use them properly).
    Currently: Playing OSRS legit until I get bored

  12. #12
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Roflme View Post
    Then you must've used a small DTM. If it could fit at any angle then it'd work. But take a DTM too large and an alteration in the angle could throw it off.

    Personally I'd just switch to TPAs because they're much more reliable (they won't mess up if you use them properly).
    meh i used ACA to generate a TPA but i dont understand how to add it to my script for a RSPS.

  13. #13
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Then that's when you head on over to the tutorials and read up on them
    Currently: Playing OSRS legit until I get bored

  14. #14
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Roflme View Post
    Then that's when you head on over to the tutorials and read up on them
    I did. they are all tut's for RS that use the "waitup text"

  15. #15
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I believe there's a tutorial for creating your own font. If the includes for uptext are not supported on the private server, try using FindText in a box in the upper right. If none of those fonts are supported create your own font. And use that font to detect the uptext.
    Currently: Playing OSRS legit until I get bored

  16. #16
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Roflme View Post
    I believe there's a tutorial for creating your own font. If the includes for uptext are not supported on the private server, try using FindText in a box in the upper right. If none of those fonts are supported create your own font. And use that font to detect the uptext.
    cba to create my orn OCR for a simple TPA, besides DTM's work good for some 3d objects on private servers, such as rocks,rc alters, and some NPC's

    see works fine for me


    Last edited by rj; 12-11-2012 at 01:56 AM.

  17. #17
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    rjj95, you can use DDTMs to edit the tolerance of a DTM. The "D" stands for Dynamic, which means you can change elements of the DTM. You can change points, number of points, color, color tolerance, etc.

    If you want to click a point in a TPA you have to create the TPA before moving the screen. If you look for a color and store it's points in a TPA, you're storing those points on the screen at that moment. When you move the camera (or walk somewhere), the same points on the screen won't have the same colors as when you made the TPA. Understand? So basically, for the best results, you need to look for a color and click a point without moving the screen.

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
  •