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

[Plugin] Another auto farming plugin, now with farmID auto assignment!

Great! so far it works, but only when I manually gather all the coral :( is planting fine but not gathering, any ideas?

EDIT: FIXED! wrong name for end product in aquafarm ><

IS it possible to plant seed of corals, then whens it done it plants pearl oysters on same farm?
 
Last edited:
Great! so far it works, but only when I manually gather all the coral :( is planting fine but not gathering, any ideas?

EDIT: FIXED! wrong name for end product in aquafarm ><

IS it possible to plant seed of corals, then whens it done it plants pearl oysters on same farm?
If there's enough room for them yes, you just add in the strings and collect/plant methods.
 
I tried doing

Code:
            //FARM 1
            var farm1seed    = "Orange Plate Coral Polyp";
            var farm1plant   = "Orange Plate Coral Reef";
            var farm1collect = "Gathering: Spend up to 3 Labor to gather materials underwater."; 
            var farm1seed    = "Pearl Oyster"; 
            var farm1plant   = "Large Pearl Oyster";
            var farm1collect = "Gathering: Spend up to 5 Labor to gather materials underwater.";

but it gives out error:

Code:
4:37:13 PM: c:\Users\x\Documents\Buddy\Plugins\Aquafarm\Aquafarm.cs(124,17) : error CS0128: A local variable named 'farm1seed' is already defined in this scope
4:37:13 PM: c:\Users\x\Documents\Buddy\Plugins\Aquafarm\Aquafarm.cs(125,17) : error CS0128: A local variable named 'farm1plant' is already defined in this scope
4:37:13 PM: c:\Users\x\Documents\Buddy\Plugins\Aquafarm\Aquafarm.cs(126,17) : error CS0128: A local variable named 'farm1collect' is already defined in this scope

EDIT: i think I know what you meant now, I am currently adding the new code lol lets see if it works XD
 
Last edited:
I added new strings and new code for them, its working now :)

once the "waiting for..." begins my character dies underwater, can you help me remove the whole waiting 3-5 minutes?

EDIT:

can I make this work with bungalow as well?
 
Last edited:
I found a problem, the code will not work with farms not "owned" by the character, I have them all set to family and 3 out of 10 which owned by another of my character and the script begins "Waiting for..." and does not touch those farms :(
 
I added new strings and new code for them, its working now :)

once the "waiting for..." begins my character dies underwater, can you help me remove the whole waiting 3-5 minutes?

EDIT:

can I make this work with bungalow as well?
Haven't tested, see if this works. Add this code right before //Generate random time between 3-5 minutes
Code:
while(me.underWaterBreathTime<20000){SwimUp(true);}
Not sure what you mean about the bungalow bit
 
yeah, I used the "scarecrow" plugin to do gather / plant in the 3 aquafarms not owned by this character but on same family, to see if the script would "plant" but it looks like it does not plant or gather from other owned land
 
Cany any1 help me!!!? i dont know how to make these work....
i need an AUTO FARM plugin and the scarecrown one just plants and Gather and i have to be watching it every 20 minits..
i woul dlike something that i could leave over night farming PLEASE HELP!
all my farm are together linked i got x1 tached farm house x1 gazebo and x3 16x16.. PLEASE HELP!
 
I found a problem, the code will not work with farms not "owned" by the character, I have them all set to family and 3 out of 10 which owned by another of my character and the script begins "Waiting for..." and does not touch those farms :(
Code updated, changed GetFarmIds method.
If you don't want to redo all the editing for your code, just delete GetFarmIds from what you have now and paste in new method.

This has not been tested yet as I don't have a family on my character. Post back to let me know if it works :)
 
Cany any1 help me!!!? i dont know how to make these work....
i need an AUTO FARM plugin and the scarecrown one just plants and Gather and i have to be watching it every 20 minits..
i woul dlike something that i could leave over night farming PLEASE HELP!
all my farm are together linked i got x1 tached farm house x1 gazebo and x3 16x16.. PLEASE HELP!
Code has comments with instructions on what to change.
 
Add option to log to character select screen between harvests please.
Having trouble finding an option to have bot log out without closing the game down, for now just add gps point to afk in and have bot travel there at end of code.

Alternatively if you have a bed setup you can have your bot moveto/use bed after done farming.
 
Last edited:
a very stupid question, i dont use gps cause farms and seed merchant are close what you mean with commet out?
 
a very stupid question, i dont use gps cause farms and seed merchant are close what you mean with commet out?
Thanks for pointing that out, I made gps off by default now for simplicity. Try the new version :)
 
Is it possible to adapt the code to use the aquafarm air bubble?

Please! <3
 
Is it possible to adapt the code to use the aquafarm air bubble?

Please! <3
Need some info due to me not having an aquafarm to test with.
How long does breath last in seconds? What do you let your breath get down to before moving to air bubble? What is name of air bubble you interact with? Does interaction have multiple options?
 
So you just go up to that item that's on your aquafarm and use it? Have you tried adding a CollectItemsAtFarm method with the name/string?

No, I don't know about coding but think it needs to have some logic, like... if air < 30 % use the skill like scarecrow does
 
Back
Top