tolyaba Posted February 17, 2012 Share Posted February 17, 2012 Well i have made iron varock miner but it stil not working perfect... question: Lets say u are 3 squares from the rock and bot click on iron color lets say at 200,200 how can u remember that spesific spot even if u moving around it? becouse cords of that iron rock changes when u move closer to it(duhh) currently i have something like this ;D procedure mine; begin if FindColortolerance(x,y,3228273,200,170,500,360,2) then begin mouse(x+5,y,3,3,true); a1:=x-30 a2:=y-30 b1:=x+30 b2:=y+30 repeat wait(600) until not FindColortolerance(x,y,3228273,a1,a2,b1,b2,2) end; end; is there any better way ? Quote Link to comment Share on other sites More sharing options...
sjesper Posted February 17, 2012 Share Posted February 17, 2012 Why use coords instead of findcolor? If you can't get some good colors use the Auto Color Aid v2 that is include in OSI. If ur problem is that you need it to wait until it is close to the charactor use FindColorTolerance(x, y, c, MSCX - 60, MSCY - 60, MSCX + 60, MSCX + 60. All this req OSI. If you dont have it then download it, its really effective. And next time post it in the Scripting help section. Quote Link to comment Share on other sites More sharing options...
rsutton Posted February 17, 2012 Share Posted February 17, 2012 Go look at UB power miner Pro in the forums - code Quote Link to comment Share on other sites More sharing options...