Ejjman
2006-05-13 20:55:13
const
Gas1 = 10793660; //Gas Color DON'T CHANGE
Gas2 = 9216424; //Gas Color DON'T CHANGE
Gas3 = 10072761; //Gas Color DON'T CHANGE
Gas4 = 8163232; //Gas Color DON'T CHANGE
Gas5 = 10726577; //Gas Color DON'T CHANGE
Gas6 = 7111560; //Gas Color DON'T CHANGE
Gas7 = 9083806; //Gas Color DON'T CHANGE
Gas8 = 10463923; //Gas Color DON'T CHANGE
Gas9 = 9346470; //Gas Color DON'T CHANGE
OreCol1 = 4615832; //Gas Color DON'T CHANGE
OreCol2 = 4351628; //Gas Color DON'T CHANGE
procedure SpotGas; //Spots gas in RS client and then will wait if finds it.
begin
if(FindColorSpiralTolerance(x, y, Gas1, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas2, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas3, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas4, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas5, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas6, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas7, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas8, 0, 0, 507, 326, 10)) or
(FindColorSpiralTolerance(x, y, Gas9, 0, 0, 507, 326, 10)) then
begin
BenMouse:=False;
Mouse(647, 84, 8, 8, True);
BenMouse:=True;
Wait(10000);
end;
end;I actually got a video of the gas playing and tested it and it works great. I was wondering if I could get it put into SRL\SRL\skill\mining.scar . Thanks for taking a look! Post feedback.