Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Cloud's Power Miner [Deleted]

Status
Not open for further replies.
Engineer
Joined
Jul 28, 2013
Messages
2,776
Cloud submitted a new resource:

Cloud's Power Miner - Power mines in a simple fashion

A simple power miner for OSRS.

Setup
  • Start with a pickaxe
  • Select which rocks you want to mine by following the on screen instructions
  • Click start and watch it go
e81b14c6961fad92bded80734058d1c7.png


280c63c5f0ef7df9691265865739e031.png

 
Bot authors should use this as a proof of concept for more advanced OSRS miners. The code is compact and open source.

Read more about this resource...
 
Last edited by a moderator:
Joined
Jun 28, 2015
Messages
36
Congratulations on the release of the first miner for OSRS... If you wish I can give it a test for a few hours see if any bugs are picked up but also respond for suggestions and possibly tips... Congratulations once again.

LBTRAD
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
uwStYus.png


No nonononononono, while loops are strictly forbidden. This bot is failure, get a job and haircut hippy.
Although I know I'm normally the one to say that, it's a safe loop because of the isRunning() & it was mainly a proof of concept so other bot devs would know how to detect whether rocks were mined or not.
 
Congratulations on the release of the first miner for OSRS... If you wish I can give it a test for a few hours see if any bugs are picked up but also respond for suggestions and possibly tips... Congratulations once again.

LBTRAD
Sure, it's meant to just be a simple bot but yeah suggestions are welcome and I may include some simple stuff.
 

lad

Joined
Feb 6, 2015
Messages
241
Although I know I'm normally the one to say that, it's a safe loop because of the isRunning() & it was mainly a proof of concept so other bot devs would know how to detect whether rocks were mined or not.
 

Sure, it's meant to just be a simple bot but yeah suggestions are welcome and I may include some simple stuff.
Drop gems added?
 
Joined
Nov 26, 2014
Messages
616
Although I know I'm normally the one to say that, it's a safe loop because of the isRunning() & it was mainly a proof of concept so other bot devs would know how to detect whether rocks were mined or not.
Thanks for permission to use while loops.
 
Joined
Jul 3, 2015
Messages
2
Bot runs into trouble.
It has difficulty recognizing where the ores are after being indicated. The tiles are off-set and so the bot cannot recognize the presence of ores.
I tested in Al-kharid and South-east Varrok, it has the same problem every time I try.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Bot runs into trouble.
It has difficulty recognizing where the ores are after being indicated. The tiles are off-set and so the bot cannot recognize the presence of ores.
I tested in Al-kharid and South-east Varrok, it has the same problem every time I try.
This was a client issue that was just resolved a little while ago, sorry for the inconvenience.
 
Joined
Jul 9, 2015
Messages
3
I find that the bot has trouble fully emptying the inventory. It usually leaves 5 ores in it.
 
Joined
Jun 24, 2015
Messages
1
Cloud's Power Miner - A simple power miner for OSRS.

Setup
  • Start with a pickaxe
  • Select which rocks you want to mine by following the on screen instructions
  • Click start and watch it go
e81b14c6961fad92bded80734058d1c7.png


280c63c5f0ef7df9691265865739e031.png

 
Bot authors should use this as a proof of concept for more advanced OSRS miners. The code is compact and open source.

not mocking the bot at all but it seems to have difficulty knowing whether or not ore is present, i've tried it in multiple places and doesn't work for me.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
not mocking the bot at all but it seems to have difficulty knowing whether or not ore is present, i've tried it in multiple places and doesn't work for me.
Well where have you tried it at? Take some screenshots of what the onscreen ore detection is showing and give me details about what and where you're mining.
 
Joined
Jul 5, 2015
Messages
13
When i mine iron outside of Ardounge it says they're empty from start, don't know what else you want but update me and I'll fix it. Great release anyways.


EDIT:Seems to be for all ores might be a error or just me.
 
Last edited:
Joined
Jun 25, 2015
Messages
9
I find that the bot has trouble fully emptying the inventory. It usually leaves 5 ores in it.

Yeah, it never drops the full inventory, it always skips 2-6 ores when dropping. I've ran this bot for like 10 hours and at the end i had only 8 inventory space because it doesn't drop the gems. It also missclicks sometimes but that's not a big deal. Overall nice bot but could use some improvements.
 
Joined
Jul 29, 2014
Messages
61
@Cloud I gotcha baby. Add that as a task.

Code:
import com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceWindows;
import com.runemate.game.api.hybrid.local.hud.interfaces.Inventory;
import com.runemate.game.api.hybrid.local.hud.interfaces.SpriteItem;
import com.runemate.game.api.script.Execution;
import com.runemate.game.api.script.framework.task.Task;

/**
 * Created by Gaming on 7/21/2015.
 */
public class Uncut extends Task {
    @Override
    public boolean validate() {
        return Inventory.containsAnyOf(1617,1619,1621,1623,1625,1627,1629,1631);
    }

    @Override
    public void execute() {
        if (InterfaceWindows.getInventory().isOpen()) {
            for (SpriteItem item : Inventory.getItems(1617,1619,1621,1623,1625,1627,1629,1631)) {
                if (item.interact("Drop"))
                    Execution.delayUntil(() -> !item.isValid(), 700);


            }
        } else {
            InterfaceWindows.getInventory().open();


        }
    }
}
 
Status
Not open for further replies.
Top