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

wont plant properly

IShaunYI

Member
Joined
Sep 24, 2014
Messages
57
Reaction score
0
i have used the scarecrow plugin before, worked great, then grew tired of having to manually select the next plot and seeds to plant, so i made my own

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




namespace Shaun {
    public class YourClass: Core {
        public void PluginRun() {
            while (true) {
                //get Labor points 
                int labor = me.laborPoints;


                //if Labor > 1
                if (labor > 1) {
                    
                    //Plant farm 1
                     
                    PlantItemsAtFarm("Cultivated Ginseng Seed", 12932);
                    
                                        
                  //if Labor < 1 wait 
                } else {
                    Log("Labor under 1, waiting to regen");
                }
     
            }
        }
    }
}

anyway, both still work great, although there is one slight issue with 1 of my 7 gazebos and same problem with 1 of my 2 16 scarecrows...

it will start planting like its meant to, and then as soon as it reaches halfway, it stops, theres enough seeds, it just.. stops.. ?

any ideas ? and/or suggestions ?

ive fiddled with this a few times, just say i were to plant 4 experia patches on the 16 that wont plant more then halfway, and then activated the above script, then it will fill in all the spots with my seeds and complete the entire plot, but wont complete the plot on its own.

all help appreciated.

and if this also happens to you, please, let us know so we can try to fix it :)
 
Last edited:
no one else has encountered this ? or has any ideas ?

0UT hasnt even replied or anything... wow...
 
This is missing farm ID's

My plugin requires you to know your ID's there is a plugin that grabs the id's if you prename your farms.

you need a loop in place to handle multiple farms not just the one.
 
Last edited:
This is missing farm ID's

My plugin requires you to know your ID's there is a plugin that grabs the id's if you prename your farms.

you need a loop in place to handle multiple farms not just the one.

i have no idea what your on about ?

this works just fine for me. i just add a new line for each of my farm id's and it works perfectly. i have 7 gazebos and 2 16s all side by side, it does all of them perfectly, and then gets stuck on 2 specific plots, i need to manually plant 20 seeds for it to continue, and only on 2 of the 9 plots. so what you said above is completely useless to me. as i know what my script is meant to do.
 
also, this is the actual code i have been using.

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




namespace Shaun {
    public class YourClass: Core {
        public void PluginRun() {
            while (true) {
                //get Labor points 
                int labor = me.laborPoints;


                //if Labor > 1
                if (labor > 1) {
                    
                   //Plant farm 1
                   CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);     
                   PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);
                    
                    //Plant farm 2      
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);   
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);
                                                                 
                    //Plant farm 3      
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);   
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);
                    
                    //Plant farm 4      
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);     
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);                                                     
                   
                    //Plant farm 5      
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);      
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers); 
                    
                    //Plant farm 6    
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);
                    
                    //Plant farm 7    
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);    
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);
                    
                    //Plant farm 8    
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);    
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers); 
                    
                    //Plant farm 9    
                    CollectItemsAtFarm("Mature Ginseng", "Gathering: Spend up to 3 Labor to Gather materials.", Numbers);    
                    PlantItemsAtFarm("Cultivated Ginseng Seed", Numbers);
                    
                    
                //if Labor < 1 wait 
                } else {
                    Log("Labor under 1, waiting to regen");
                }
     
            }
        }
    }
}

please note that at the end of each line is the unique farm id numbers.

i use this exact script, and when it gets to the plot/s that dont like to plant properly, it will randomly stop planting until u manually plant around 20 seeds.
then it continues on its own again
 
Last edited:
Back
Top