SRL Archive - OSR Help

Need Help With PowerMiner


Gucci

2012-02-10 00:17:52

I am working on a power miner script and it runs well but it keeps clicking the rock even when the ore isn't there. How do I fix this?

Kyle Undefined

2012-02-10 00:26:34

Use the UpText to make sure the rock is available to mine, also, I would suggest that you use better colors :)

Gucci

2012-02-10 00:33:05

How would I implement UpText here, sorry im new to scripting this is my second one.

Kyle Undefined

2012-02-10 00:48:13

When you look for the color, are you using an "if" statement? If so, you could do something like:

if({your finding function here})then
begin
MMouse(x, y, 4, 4); {The x/y is returned from your finding function}
if(WaitUpText('uptext here', 500))then
begin
GetMousePos(x, y); {Gets the position of the mouse}
Mouse(x, y, 0, 0, mouse_Left);
end;
end;

Gucci

2012-02-10 09:11:46

Thanks alot kyle