Log in

View Full Version : Mining help



blother
05-20-2012, 11:18 PM
I am having trouble choosing rock colors for my mining script. The script will sometimes check a rock that has already been mined, but the only way to stop this would be to use color only from the mineral on the rock. My problem with this is that I feel like I am clicking too small of a portion of the rock.

Would it be better to keep it how it is so my script looks for more diverse colors or would it be better to only look for the small veins on the rocks?

blother
05-20-2012, 11:27 PM
In my inexperienced opinion, you should look for the ore/vein color only ( an array of the possible colors, with tolerance ). Then the clicking should have randomization added, and of course UpText checking to verify you're about to click on a rock.

A way I'm looking to do it in a miner I'm working on is to have my script look for the vein colors, and add them all to an array when it finds them within a certain limit (the rock size), and generating a box off of that, and then MouseBoxing that box.

Heh your way seems a little more complex than my way of simply finding the object :p