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

[BUG] Buiders doesn't teleport after invalid pathfinding / stay stuck #10003

Open
4 of 5 tasks
TheRocket81 opened this issue Jun 25, 2024 · 0 comments
Open
4 of 5 tasks
Labels
Bug Gotta squash 'em all!

Comments

@TheRocket81
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest MineColonies Version?

  • I am running the latest beta version of MineColonies for my Minecraft version.

Did you check on the Wiki? or ask on Discord?

  • I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.

What were you playing at the time? Were you able to reproduce it in both settings?

  • Single Player
  • Multi Player

Minecraft Version

1.20.1

MineColonies Version

1.20.1-1.1.597

Structurize Version

1.20.1-1.0.737

Related Mods and their Versions

No response

Current Behavior

Builders aren't teleporting when stuck. Sample scenarios:
1- Builder builds a wall of fences around him,
2- Builder locks himself in a room,
3- Builder have feet in an air block, head is in a upper closed birch trapdoor, no path to escape.

You create a path to escape, it won't move. While other workers (crusher worker) escape immediately.

2024-06-24_23 49 42

The builder won't teleport, waited at least ~27 minutes IRL.

Expected Behavior

Builder should try to path-find again after a few seconds?
Builder should teleport to a valid 2 high-air-block-solid-block-underneath nearby when no path is found for x times?
Builder could interact with player saying "I need help at building X" after too many invalid pathfinds?
At least, builder should teleport to bed at night as a fail safe. Builder says "Sleeping" but still stands at the jobsite.

Reproduction Steps

With Medieval birch:
A- Create a mine from a flat surface. builder will dig, start placing cobble ring at the bottom, place himself in the center of the ring, and place fence post around him. He is stuck. Won't teleport out.
B- Upgrade a sifter from level 1 to level 2. Builder locks himself in the little room on the first floor. Won't teleport at night.
C- Upgrade a crusher from level 2 to level 3. Builder get stuck underneath trap doors near crusher.
D- Builder and other workers uses rails of said crusher to move around. disembark the rails under the trapdoors of the crusher. Builder won't teleport out. Builder won't pathfind out, even if we create a 2 high path underneath

Logs

https://pastebin.com/AwG9c4wp

Anything else?

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.
@TheRocket81 TheRocket81 added the Bug Gotta squash 'em all! label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Gotta squash 'em all!
Projects
None yet
Development

No branches or pull requests

1 participant