View Full Version : 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
footballjds
12-10-2012, 08:58 PM
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.
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?
footballjds
12-10-2012, 09:24 PM
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. :p
Wardancer
12-10-2012, 09:26 PM
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.
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
Wardancer
12-10-2012, 09:48 PM
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.
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.
Roflme
12-10-2012, 10:51 PM
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.
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
Roflme
12-10-2012, 11:31 PM
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).
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.
Roflme
12-11-2012, 12:20 AM
Then that's when you head on over to the tutorials and read up on them :D
Then that's when you head on over to the tutorials and read up on them :D
I did. they are all tut's for RS that use the "waitup text"
Roflme
12-11-2012, 01:37 AM
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.
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 :D
http://i48.tinypic.com/28miy55.jpg
http://i46.tinypic.com/xy6pz.jpg
http://i50.tinypic.com/2iue1xt.jpg
Coh3n
12-11-2012, 03:06 AM
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.