Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
TRiLeZ

DTM System

10 posts in this topic

A DTM system has now been implemented in TRiBot.

API:

http://tribot.org/doc/org/tribot/api/colour/DTMs.html

http://tribot.org/doc/org/tribot/api/colour/types/DTM.html

http://tribot.org/doc/org/tribot/api/colour/types/DTMPoint.html

http://tribot.org/doc/org/tribot/api/colour/types/DTMSubPoint.html

Explanation:

The find method will search for a DTM in the specified region, and will result in what it has found, in DTM format. Dtm.main_point.point represents the main point where the dtm has been found. The colours/colour points attached to all the main and sub points represent the colours which returned positive in the finding. All tolerances in these DTM ouputs are set to zero.

When constructing a new DTM for a search, remember to use point coordinates relative to the main coord. So, (-2, -2) would be 2 pixels left of the main point, and 2 pixels above the main point.

Cheers!

Share this post


Link to post
Share on other sites

Seems fun, I'll play around with it this weekend.

If anyone has any f2p script ideas feel free to PM me.

Share this post


Link to post
Share on other sites

I know dtms from simba and they are pretty simple and very useful. Hope they will do the same here

Share this post


Link to post
Share on other sites

In the DTMSubPoint constructor, there is a paramter for area_diameter. What exactly is this?

It defines the search area for the colour. '1' is the standard value.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.