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

Use fertilizer on plants

iyake

Member
Joined
Oct 19, 2014
Messages
143
Reaction score
5
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.
 
iyake, did you get this working with the new release of rebornbuddy?
 
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