Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robots misc. #2831

Closed
kitsu opened this issue Jun 22, 2015 · 6 comments
Closed

Robots misc. #2831

kitsu opened this issue Jun 22, 2015 · 6 comments
Assignees

Comments

@kitsu
Copy link

kitsu commented Jun 22, 2015

I've tried my first build with robots, and they work well enough (90% maintenance free). I have run into some annoying problems though:

  • Planter plants saplings on farm land - ruining farms.
  • Harvester didn't seem to work with landmark region.
  • Harvester is obsessed with grass but ignores flowers.
  • Lumberjack starts leaving bottom log (stump) after running a while (fixed by minecraft restart).
  • Lumberjack sometimes hangs when his axe breaks.

Using Buildcraft 7.0.11

BTW the Planter/Harvester seem to work fine with Nevermine2 crops 😮

@hea3ven
Copy link
Contributor

hea3ven commented Jun 22, 2015

Planter plants saplings on farm land - ruining farms.

Yes, farm land is a valid spot to plant sapplings, so they will plant sapplings. You need to properly configure the robots to prevent this, either by zoning where the planter plants, or filtering what items the planter can pick up with the "Filter tool" gate action.

Harvester didn't seem to work with landmark region.

Please post picks of the landmarks and gate configuration, it should be working.

Harvester is obsessed with grass but ignores flowers

Unfortunately we've had to disable them picking flowers for now, due to compatibility with other mods.

Lumberjack starts leaving bottom log (stump) after running a while (fixed by minecraft restart).

This is already fixed for the next version.

Lumberjack sometimes hangs when his axe breaks.

Where does he get's his axes?, a chest right next to this linked docking station by any chance?

@kitsu
Copy link
Author

kitsu commented Jun 22, 2015

Thanks for clarifying.

Lumberjack is docked on the power line, supply chest is in work zone. When he hangs his light turns black (dormant?). Toggling return to station resets him and he successfully grabs the next axe.

I will confirm landmark/Harvester issue when I segregate my tree and food farms.

Edit: Okay, I've confirmed the harvester+landmark issue. I have some screenshots showing everything correctly configured and the bot not moving. I've also confirmed that restarting Minecraft fixes the issue. I just tried breaking and replacing the Harvester after it was working, and it immediately went back to work. So it must not be initialized correctly?

I traced through all the calls in the harvester ai. It is using the same code as the planter, except it subclasses BoardRobotGenericSearchBlock instead of delegating to AIRobotSearchAndGotoBlock (since it doesn't need the 'fetch-and-equip' step). Basically if the planter works in a given zone the harvester should too. I tried to figure out what if anything is different in the harvester's startup, but didn't get anywhere.

BTW how the boards are implemented on the code side is really cool. I like how the code mechanic mirrors the in-game mechanic. Also the goal chaining with the AI delegates is a cool pattern.

@RagaRBM
Copy link

RagaRBM commented Jun 23, 2015

I can confirm that the first time I configured the Harvester to a specific Map Location, it did not respect the map. But when I restarted Minecraft the problem is fixed and never returns.

@kitsu
Copy link
Author

kitsu commented Jun 23, 2015

Just tested with latest 7.0.12 and the Harvester does work in a landmarked zone - first try.

I did have a little problem though - I was in creative and just broke the pipe the bot was docked to. It then proceeded to sink through the ground and out of sight... I started digging down to find it when I got a Ticking entity java.lang.ClassCastException: mods.railcraft.common.blocks.hidden.TileHidden cannot be cast to buildcraft.api.transport.IPipeTile 😆 So don't do that.

No news on broken axe hang, but I am assuming that is an issue with the modded axe I'm using. I will open a new issue if I have something to report.

@kitsu kitsu closed this as completed Jun 23, 2015
@hea3ven hea3ven reopened this Jun 23, 2015
@hea3ven hea3ven self-assigned this Jun 23, 2015
@Mr-Turing
Copy link

I've also encountered the sinking robot issue, here's the pastebin of the error generated in the console: http://paste.feed-the-beast.com/view/98d0b740

Broke the pipe it was standing on (structure pipe with quartz gate and dockign station) and it fell through the ground slowly. The picker robot I broke in the same way a couple seconds late was fine.

@hea3ven hea3ven closed this as completed in 367fa3f Jul 9, 2015
@asiekierka asiekierka added this to the BuildCraft 7.0.14 milestone Jul 10, 2015
@willownezz
Copy link

as in version 7.1.14 I just had the same sinking bug, I broke the pipe and they fell though the world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants