radiclerobby
2011-11-19 20:10:20
Have you ever stayed up late to finish a really difficult part of your script. Then the next morning you surprise yourself on what you did the night before?
Like last night, i needed to find tin ore in varrock east mine but it would find the street. So i made two TPointArray's, one for the tin rock color and one for the second color of the tin rock(brownish). Then seperated The TPA's into a ATPA. Then filtered out the TPA's of the tin that had more points then a average rock. Now we are down to few TPA's in that array of tpoint. Now i needed to find a point were the tin and the brown were close.(finding the distance between tin tpa's to the brown tpa's) if the Brownish TPA and the Tin TPA were close enough together then it would move the mouse to the point check the uptext then click.
I may not have explained it very clear to some people but this method i used found the rock almost instantly and will never click the wrong rock. What are some things youve done?
Like last night, i needed to find tin ore in varrock east mine but it would find the street. So i made two TPointArray's, one for the tin rock color and one for the second color of the tin rock(brownish). Then seperated The TPA's into a ATPA. Then filtered out the TPA's of the tin that had more points then a average rock. Now we are down to few TPA's in that array of tpoint. Now i needed to find a point were the tin and the brown were close.(finding the distance between tin tpa's to the brown tpa's) if the Brownish TPA and the Tin TPA were close enough together then it would move the mouse to the point check the uptext then click.
I may not have explained it very clear to some people but this method i used found the rock almost instantly and will never click the wrong rock. What are some things youve done?