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

Scarecrow loop

The code doesn't work here I think...

I used following code:

Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace Scarecrow
{
    public class Scarecrow : Core
    {
        public void PluginRun()
        {
            while (true)        
            {
                PlantItemsAtFarm("Garlic Seed","Character name");
                CollectItemsAtFarm("Garlic","Farming: Spend 2 Labor to harvest crops.","Character name");
                Thread.Sleep(55555);
            }
        }
    }
}

Character name stands for the actual name of my character though.
Is it right that this is the whole plugin now or should it be copied in the original one?
Do I have to adjust the sleep time?

When I start the plugin the PlantsSelection screen pops up, which is awkward because I shouldn't need to choose the seed and farm again, right?
Anyways, when choose the seed and farm and start planting, it does the planting, but after planting is done the screen pops up again and it wouldn't gather when the crops are ready.

Also, the anti-afk doesn't seem to work. I get logged out after 25 mins and the Away text comes up after 5 mins.

So Out, could you please upload a .dll which actually works? Thank you very much in advance.

Why necro? There are plenty of plugins for non-stop farming, and anti-afk here is working fine, nevertheless, add a Jump, code below, before the Thread.Sleep, also replace "Character Name" with your farm id, without the ", you can use the scarecrow plugin to find the id

//Jump once
Jump(true);
Log("JUMP! JUMP!");
Thread.Sleep(500);
Jump(false);
 
Back
Top