SRL Archive - OSR Help

Request of Powerminer Tutorial


Imanoobbot

2012-03-24 17:37:11

I request a tutorial for a really simple Powerminer. Should work like this.

Just Click on the Rock and detecting the colors with ACA v2. Then after the inv = full it should drop the invintory untill its empty then it should repeat. Without antiban and others. Just for learning the basics with right click options(thats my biggest problem right now) and others.

-Imanoobbot


I will delete that thread if someone is making that tutorial. I would really love it.

m34tcode

2012-03-24 17:43:34

The Tutorials section covers every aspect of a mining bot. TPAs mainly

And what trouble are you having with right click menus?

This example function will wait until it finds the 'Cancel' option so you know when a right click menu has apeared

Procedure WaitForMenu;
begin
while not optionsExist(['ancel'],false) do
wait(250+random(250));
end;

To choose an option once the menu has appeared, use ChooseOption(Option string here);

Example:

WaitForMenu;
ChooseOptionMultiEx(['ine','e ro']);

Imanoobbot

2012-03-24 17:53:19

From: m34tcode
The Tutorials section covers every aspect of a mining bot. TPAs mainly

And what trouble are you having with right click menus?

This example function will wait until it finds the 'Cancel' option so you know when a right click menu has apeared

Procedure WaitForMenu;
begin
while not optionsExist(['ancel'],false) do
wait(250+random(250));
end;

To choose an option once the menu has appeared, use ChooseOption(Option string here);

Example:

WaitForMenu;
ChooseOptionMultiEx(['ine','e ro']);



Thank you for you fast response. Maybe you remind back to your beginning. I got a huge logic fail. If i right click the stone the menu with the option is popping up but i cant get the colors cause of closing of the menu. ;)
Hope that will work on the private server.


*Second thing sounds good.
** Where can I donate? Cause i saw you Donator status. Really loving this helpful community!

Imanoobbot

2012-03-28 18:12:10

From: m34tcode
The Tutorials section covers every aspect of a mining bot. TPAs mainly

And what trouble are you having with right click menus?

This example function will wait until it finds the 'Cancel' option so you know when a right click menu has apeared

Procedure WaitForMenu;
begin
while not optionsExist(['ancel'],false) do
wait(250+random(250));
end;

To choose an option once the menu has appeared, use ChooseOption(Option string here);

Example:

WaitForMenu;
ChooseOptionMultiEx(['ine','e ro']);



You were right. Made my own so far in the last days. Found everything in this forum what i needed to make on. Seems to get very flawless so far. Adding lots of features in the next time.