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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Use fertilizer on plants

iyake

Member
Joined
Oct 19, 2014
Messages
143
I'm trying to write a quick script to fertilize my garden every hour. Everything works fine up until the "Select fertilizer to apply." window.

I've tried:

Code:
foreach (var bagslot in InventoryManager.Slots) {
	if(bagslot.Name.Contains("Fishmeal")) bagslot.UseItem();
	if(bagslot.Name.Contains("Fishmeal")) bagslot.Handover();
}

but both don't work. Any ideas? Also note that the text reads "Fertilize" instead of use when you right click the fishmeal in this window. However fishmeal doesn't normally have a use option in the regular inventory window.
 
I'm trying to write a quick script to fertilize my garden every hour. Everything works fine up until the "Select fertilizer to apply." window.

I've tried:

Code:
foreach (var bagslot in InventoryManager.Slots) {
	if(bagslot.Name.Contains("Fishmeal")) bagslot.UseItem();
	if(bagslot.Name.Contains("Fishmeal")) bagslot.Handover();
}

but both don't work. Any ideas? Also note that the text reads "Fertilize" instead of use when you right click the fishmeal in this window. However fishmeal doesn't normally have a use option in the regular inventory window.


If its actually the same system as handing over normal items then you need todo
Code:
foreach (var bagslot in InventoryManager.Slots) 
{
	if(bagslot.Name.Contains("Fishmeal"))
{
bagslot.Handover();
ff14bot.RemoteWindows.Request.HandOver();
break;
}
}
 
Just tested farming my self for the first time. Going to be adding in some api functions to interact with the plants.
 
The api has not been implemented yet. Its what i am currently working on but its looking like a pain in the ass.
 
You can now fertilize plants by first interacting with them and dealing with their talk windows.

GardenManager.Fertilize(itemid) will use the provided id on the plant. You need to make sure to have clicked on the fertilize button in the selectstring menu first.
 
Back
Top