For My Mining Script How Do I Use Tolerances So People Don't Have To Re - Set The Ore Colors Every Time It Logges in? PLease Help...
For My Mining Script How Do I Use Tolerances So People Don't Have To Re - Set The Ore Colors Every Time It Logges in? PLease Help...
i would use findobj it has tolerance
"your always where you supposed to be"
Can you give me an example please? and thanks for the info but i dont under stand...![]()
findobj(x2,y2,'/ 1 more',1121681,5)
x2,y2:=where obj is located
'/ 1 more':=the text it shows in top left corner
1121681:=color to find
5:= tolerance
"your always where you supposed to be"
Buh... thanks but i still don't get it.. im stupid when it comes to Tolerances...
findcolortolerance lol tolerance is how much the color could differ from the specified color so 10 is usually the highest you would set it.
get driggers tut it was made for people with little to no experience
"your always where you supposed to be"
So Like This?Procedure Mine_Coal;
begin
if
findcolor(x,y,Coal1,201,113,327,220)
or
findcolor(x,y,Coal3,201,113,327,220)
or
findcolor(x,y,Coal4,201,113,327,220)
then
wait(random(50)+500)
MMouse(x,y,1,1)
wait(random(50)+100)
Mouse(x,y,1,1,true)
wait(time_it_takes_to_mine_coal)
end;
Procedure Mine_Coal;
begin
if
findcolorTolerance(x,y,Coal1,10,201,113,327,220)
or
findcolorTolerance(x,y,Coal3,10,201,113,327,220)
or
findcolorTolerance(x,y,Coal4,10,201,113,327,220)
then
wait(random(50)+500)
MMouse(x,y,1,1)
wait(random(50)+100)
Mouse(x,y,1,1,true)
wait(time_it_takes_to_mine_coal)
end;
..?
yes perfect.
ok thanks..
There are currently 1 users browsing this thread. (0 members and 1 guests)