SRL Archive - Help and Support

Properly use Piv's Gascheck


Ejjman

2006-05-14 16:54:24

{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~OreMine~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
procedure OreMine;
begin
if (FindColorSpiralTolerance(cx, cy, RockCol1, 0, 0, 513, 337, 5)) or
(FindColorSpiralTolerance(cx, cy, RockCol2, 0, 0, 513, 337, 5)) then
begin
MMouse(cx, cy, 2, 2);
AntiRandoms;
Gascheck(x, y);
if (IsUpText('Mine')) then
begin
Mouse(cx, cy, 2, 2, True);
Gascheck(x, y);
AntiRandoms;
wait(1500);
while IsChatMessage('You swing') do
begin
repeat
waiting;
until (XLong > XWait) or
(IsChatMessage('You manage'))
XLong := 0;
end;
end;
end;
end;
{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~OreMine~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

Here's the code…Just insert it with the correct (x and y) things, and you're on my helper list. Thanks for doing this, and if Piv's check is as good as I hear, then he rocks!

ub3r |<1||3r*1337*

2006-05-14 17:19:00

ok, all you have to do is… GasCheck(x, y) or whatever your Mouse(whatever's) are. like X,y.

The Prince of Randomness?

2006-05-14 19:51:49

he made this becuase it doesnt work effctively

-chaos-

2006-05-15 20:54:47

thanks ejjman helped :D

Pyro

2006-05-16 00:08:07

I am not quite sure how to use it as i have never really got into mining scripts. But try specifying the x and y co ords to the rock. So where you click check gas there. so

gascheck(123,123)

This could be a load of nonesense i just cant get into my srl library right at moment

Avaphi

2006-05-21 22:02:17

Just do Gascheck(x,y) After you move your mouse to the ore ;)

Wizzup?

2006-05-22 04:56:47

Look into Piv's code and you will understand.