kewlscaper
2010-03-16 14:46:07
Don't know if this is of any use to anyone
It's not noob friendly but here we go
It's not noob friendly but here we go
Bitmap of your minimap symbol of where your standing:
me := BitmapFromString(5, 5, 'z78DA3330200CDC3000B564710100' +
'AAEB20C5');
And the procedure:
if(findcolortolerance(f,c,8812930,544, 60,711, 223,5))then //Color of pick axe
begin //Radious of 4 pixels Around Mining symbol find
if(findcolortolerance(x,y,13220809,f-4, c-4,f+4, c+4,5))then //Color around pickaxe map symbol
begin
if(findbitmapin(me,f,c,x-4,y-4,x+4,y+4))then
begin
writeln('Too far away from symbol clicking it');
clickmouse(x,y,true);
sleep(5000);
end;
end;
end;