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

[Plugin]Chicken Farmer

So.. I have a thatched farm house, a small scarecrow and the big scarecrow right next to eachother, is it possible to make the bot farm all 3 spots at once? and then just make it farm trees instead?
 
Hi I'm new to coding and archebuddy in general. How do I get this towork? There is no file to install into my plugin folder xxD
 
I edited it so it also feeds Hungry hen and cures diseased hen( does not use move to safezone)

using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace YourNamespace{
public class YourClass : Core
{
private Gps gps;
public void PluginRun()
{
int yes = 0;
Log("start");

while(yes == 0)
{

CollectItemsAtFarm("Hen","Husbandry: Spend 1 Labor and 1 Ground Grain to feed livestock.","YourName");
CollectItemsAtFarm("Hungry Hen","Husbandry: Spend 1 labor and 1 Ground Grain to feed livestock.","YourName");
CollectItemsAtFarm("Diseased Hen","Husbandry: Spend 3 labor and 1 Livestock Supplement to treat sick livestock.","YourName");
CollectItemsAtFarm("Thriving Hen","Husbandry: Spend up to 5 Labor to gather eggs.","YourName");

RoundZone z = new RoundZone(me.X,me.Y,25);
CollectItemsInZone("Hen","Husbandry: Spend 1 Labor and 1 Ground Grain to feed livestock.",z);
CollectItemsInZone("Hungry Hen","Husbandry: Spend 1 labor and 1 Ground Grain to feed livestock.",z);
CollectItemsInZone("Diseased Hen","Husbandry: Spend 3 labor and 1 livestock Supplement to treat sick livestock.",z);
CollectItemsInZone("Thriving Hen","Husbandry: Spend up to 5 Labor to gather eggs.",z);
Log("Going to rest");

Thread.Sleep(2580000);

}
}
}
}
 
How can I change this code for the bot to run to the farm when I start it and then move to a GPS coordinate of my choice after it is done... can anybody help me out. When you farmer sits on your plot 24/7 it is kinda obvious.
 
Back
Top