SRL Archive - Help and Support

Help On PowerMiner


whitevans1

2006-04-29 19:43:25

I'm trying to make a power miner.. I need help I got the login but i need help turning off the chats and find pick and ores any help? im kinda lost and need help on where 2 get started..

Dark_Sniper

2006-04-29 19:59:05

your includes should be

{.include SRL\SRL.Scar}
{.include SRL\SRL\Skill\Mining.Scar}




{.include SRL\SRL.Scar}
should have all the regular procedures you need in there


{.include SRL\SRL\Skill\Mining.Scar}
should have all the mining procedures you need in there


just look around in the SRL: include a bit youll find everything :)

whitevans1

2006-04-29 20:18:54

Procedure Mine;
begin
Wait(100);
FindObj(x,y,'Mine', Rock, 5)
Mouse(x, y, 1, 1, false);
if (ClickOption('Mine', 1))then
end;

thas what i have… so far… on my mining procedure its pretty horrible any suggestions on looping it and making it better?

WhiteShadow

2006-04-29 21:56:09

From: whitevans1
Procedure Mine;
begin
Wait(100);
FindObj(x,y,'Mine', Rock, 5)
Mouse(x, y, 1, 1, false);
if (ClickOption('Mine', 1))then
end;

thas what i have… so far… on my mining procedure its pretty horrible any suggestions on looping it and making it better?


procedure Mine;
begin
repeat//it should repeat you don't want to just mine one ore..
Wait(100 + random(200));//Make it random, little more undetectable.
if(FindObj(x, y, 'Mine', Rock, 5))then//if()then k, plz.
Mouse(x, y, 1, 1, true);//Just use left click;
Wait(4000 + random(1000);//Waits till done mining
until(InvFull)//Repeats the above until inventory is full
end;

I guess that'll make it a bit better. Any questions? Ask on.

~WhiteShadow

whitevans1

2006-04-30 00:30:41

Thanks alot and everyone else that has helped me I appreciate It alot… and I'm learning alot… so yeah… again thank you…