SRL Archive - Help

Finding granite rocks vs dropped granite


ForgotMyName

2010-10-02 21:10:37

The two share a lot of colors on screen. What would you guys recommend for finding the rocks but ignoring the dropped items, preferably without mousing over each one? Thanks.

Cstrike

2010-10-02 21:15:31

Do you use UpText at all?

Ex: Use "ine" instead of any word with granite.

Or try AutoColorAid v2 and see if that helps?
If you're looking for strictly color… that will be a bit harder

ForgotMyName

2010-10-02 21:17:38

From: cstrike
Do you use UpText at all?

Ex: Use "ine" instead of any word with granite.

Or try AutoColorAid v2 and see if that helps?
If you're looking for strictly color… that will be a bit harder


Yes, but, ideally I'd like to eliminate most false positives before I have to mouse around, since doing that excessively does seem inhuman.

EDIT: The fence is a huge false positive too.

Awkwardsaw

2010-10-02 21:48:30

atpas would help a lot, maby use findcolorsspiral instead of findcolorstolerance, so it searches for colors closest to your character rather than from the top left corner of the screen :)

Nava2

2010-10-02 23:09:15

Use colour densities and width and height checks on TPA's.

ForgotMyName

2010-10-03 00:25:17

From: Nava2
Use colour densities and width and height checks on TPA's.


That sounds very handy. Can you explain further or point me to documentation on that aspect of TPAs please?

NCDS

2010-10-03 00:41:34

From: ForgotMyName
That sounds very handy. Can you explain further or point me to documentation on that aspect of TPAs please?


There are quite a few tutorials on it here at SRL. Basically just Length() checks ;)

ForgotMyName

2010-10-03 00:59:02

From: NCDS
There are quite a few tutorials on it here at SRL. Basically just Length() checks ;)


Bit confused by that statement. Wouldn't Length() just tell me how many bits of that color I found? Rather than, say, whether it was a rock, a drop, or the fence.

I was looking at basic TPA tutorials that all seemed to say, iterate the list and hover each point. Which in this case, I feel they specifically colored stuff to screw over bots.

BraK

2010-10-03 01:08:35

Sorting it would help but like NCDS said. There are plenty of tutorials on the Forums for TPAs and ATPA that will help you out loads. I'd recommend Naum's tutorial on TPA's here.

~BraK