What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] Simple Miner

galio

Member
Joined
Sep 27, 2014
Messages
111
Reaction score
1
Very simple miner that will go for Iron Veins and Furtuna Veins.

Known Issues-
Takes 2 Seconds to start mining


With GPS Map Support

Code:
using System;
using System.Drawing;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
using System.Windows.Forms;
using System.Threading.Tasks;
using System.Net;
using System.IO;
using System.Text;
using System.ComponentModel;

namespace DefaultNameSpace{
   public class DefaultClass : Core
   {
       public static string GetPluginAuthor()
       {
           return "Galio";
       }

       public static string GetPluginVersion()
       {
           return "1.0.0.0";
       }

       public static string GetPluginDescription()
       {
           return "Simple Miner";
       }
       private Gps gps; 
       //Call on plugin start
       public void PluginRun()
       {                      
           int yes = 1;
            int Continue = 1;

           gps = new Gps(this); 
           gps.LoadDataBase(Application.StartupPath + "\\Plugins\\Mining\\mine.db3");     
           gps.GpsMove("Mine"); 
            List<Creature> mobs = getAggroMobs();      
            RoundZone z = new RoundZone(me.X,me.Y,40); 
           while(Continue ==1)
           {                    
               
               while(yes < 100)
           {                                             
              
                   
            if(getAggroMobs().Count > 0)
            {                      
                Log("NOOOO");
               gps.GpsMove("Safe");
                Thread.Sleep(800);  
                PluginRun();
                
            }    
                                 
                 if(hpp() < 80)
                 {                  
                     Log("NOO");
               gps.GpsMove("Safe");
                Thread.Sleep(800); 
                PluginRun();
                 }
               CollectItemsInZone("Fortuna Vein","Mining: Spend up to 20 Labor to extract ore.",z);   
               CollectItemsInZone("Iron Vein","Mining: Spend up to 10 Labor to extract ore.",z);  
               yes++;     
                if(yes >= 100)
            {
                gps.GpsMove("Safe");
                Thread.Sleep(700);
                yes = 1;
            }
               

        }   
       }       
    }

       //Call on plugin stop
       public void PluginStop()
       {
       }
   }
}
 
Last edited:
Didn't even see this till now. But if you removed the code, I can't thank you :/
 
I never even got to see whatever it was, maybe people viewed it and did not download? Either way, gotta give it time for people to use and test before they can thank you for something.
 
Also didnt see it until now.
The code is yours to remove, but the reason why you removed it is very childish.

Also, a Mine Plugin is useless unless it can buy and use Labor Potions from the Auction House.
I burned 5000 Labor in about 1-2 hours, played by hand. This plugin wouldn't have been used for longer than 3 hours total per week, per person.

A sollution that would mine less ore, but make it worth to keep it running for hours is to only focus on 2-3 Iron Vines and mine as they respawn. You'll earn less, but you'll also generate enough Labor to spend to keep the Bot running much longer.
 
The sole purpose of doing something for free and out of kindness of your hearth is not expecting any gratitude... Wow. Just wow
 
Also didnt see it until now.
The code is yours to remove, but the reason why you removed it is very childish.

Also, a Mine Plugin is useless unless it can buy and use Labor Potions from the Auction House.
I burned 5000 Labor in about 1-2 hours, played by hand. This plugin wouldn't have been used for longer than 3 hours total per week, per person.

A sollution that would mine less ore, but make it worth to keep it running for hours is to only focus on 2-3 Iron Vines and mine as they respawn. You'll earn less, but you'll also generate enough Labor to spend to keep the Bot running much longer.
That's like saying all Plugins are useless since none of them is currently using Wokers Compensation pots.

The sole purpose of doing something for free and out of kindness of your hearth is not expecting any gratitude... Wow. Just wow
I used this for my own benefit and made it public cuz people were asking, even though it's a shitty simple plugin. If you are here to shit talk which apparently seems to be your reason. Since you have no interest in the plugin in the first place.

70 Views does not mean 70 downloads..
Okay so now people just go to threads with very specific titles with (PLUGIN) and are not interested in the script. Yep makes sense.

This... wow...
Yes, sorry. You are right. Apparently a small post like "Thanks" was asking to much from the Community. Silly me. *Sarcasm*

Also source back on First Post.Thanks to the people that PM'd me about it.
 
Last edited:
Also source back on First Post.Thanks to the people that PM'd me about it.

You sir are a beautiful person. :) Thanks again for taking the time to put the source back up!
 
For me it won't mine Fortuna . It just leaves it and goes to the next Iron vein.
 
Do you know how to cut down on the delay of mining the vein when it arrives at the spot? he gets to the vein then waits like 2 seconds before mining it. Thanks again.
 
Do you know how to cut down on the delay of mining the vein when it arrives at the spot? he gets to the vein then waits like 2 seconds before mining it. Thanks again.
Sadly It's doing that to everyone, still trying to make it to force mine as soon it stops. So far no success.
 
Would an underwater mining bot be doable? Something that gathers Star Shard veins ?
 
Hey,

So how does that work ? Compile the plugin, then make a GPS route around where we want to mine ?

I'm trying to build my house right now, so this will come handy ! Thanks a lot !
 
Back
Top