Glorthan wrote:Yeah i had a look seems to be a bug that doesn't let trellis crops be interacted with via right click, unlike most other objects.
I have been having the same issue because of the differences between right and left clicking is properly defined yet in the Game.java code of the API (I Checked).
As for my progress though, I hate using the listeners that this system had set up and instead created my own asynchronous thread that queues the jobs in order as they are needed and as the bot decides. Because another issue is that the script tends to over jump lines in order to keep up with processing time (often time skipping the listeners when they are needed) since javascript is essentially a very weak version of java meant to be deployed on webpages, not for scripts for bots.
Essentially just create a new asynchronous thread for your bot and make sure the actions are queued in proper order rather than time otherwise important actions in your logic may not be executed. If you are unsure how to do this, I am posting my script below and note this is my current script and not everything works clearly yet but majority of stuff like the tree chopper which you can easily translate to a harvester does work. I also have a github posted with the updated version of my current build and tools at:
https://github.com/DaschnerJ/HearthLabsCode:
http://pastebin.com/PER0T92Z