altoclef icon indicating copy to clipboard operation
altoclef copied to clipboard

Stuck when interacting with containers or interactables

Open Crsuh2er0 opened this issue 2 years ago • 7 comments

Steps to Reproduce (as best as you can)

It is unkown what behavior causes the issue, ke what task, as the task which was being executed in the videos has been done many times before. We will have tk do some digging to try and find out what happened.

Expected Behavior

Resolve cursor slot or other issues prior to using the container so we don't get stuck. Also, wtf is going on with the canera?

Actual Behavior (What lead to the bot getting permanently stuck)

Bot cycles through different duct tape solutions in an attempt to resolve issue with container but ultimately gets stuck in a loop

Crashlogs and Screenshots (if applicable)

(you may drag + drop text logs and images here, thanks GitHub)

latest.log 2022-04-03_14 16 14 2022-04-03_14 18 18 2022-04-03_14 18 45

Other mods (if applicable)

sodium starlight baritone fabric api iris

Discord username (if you want updates)

Developer Notes (leave this blank)

Difficulty: Hard/??? Estimated Time Required: About a month Once development starts.

Crsuh2er0 avatar Apr 03 '22 06:04 Crsuh2er0

There seems to be a few different issues from the log file. In order to isolate this, I need you to provide a more specific steps to Reproduce so I can find out exactly what's causing this. If I fix what's just in the log, then it may not resolve this issue fully.

See my example issue for guidance.

JamesGreen31 avatar Apr 03 '22 17:04 JamesGreen31

There seems to be a few different issues from the log file. In order to isolate this, I need you to provide a more specific steps to Reproduce so I can find out exactly what's causing this. If I fix what's just in the log, then it may not resolve this issue fully.

See my example issue for guidance.

JamesGreen31 avatar Apr 03 '22 17:04 JamesGreen31

Here is a good example

https://github.com/gaucho-matrero/altoclef/issues/248

JamesGreen31 avatar Apr 03 '22 17:04 JamesGreen31

Video: https://youtu.be/76jzbsz5ygs https://youtu.be/9b_pB7kgzFM

Crsuh2er0 avatar Apr 04 '22 03:04 Crsuh2er0

To have the bot run in the background:

Press F3 + P to set Minecraft to not pause on focus lost (you only need to do this once) Alt + Tab over to a different application

Foxy6670 avatar Apr 04 '22 12:04 Foxy6670

Thank you for the videos.

This seems to be related to using container stlye blocks, such as furnaces, or interact blocks such as beds.

If the bot has something in the cursor, then it may have an issue using it. I'm not sure why it keeps putting items in the cursor though.

I dont think this has to do with the command line being open however. I think it would have been stuck either way.

In any case, I am labeling this a major bug and will let you know when development to resolve it begins.

JamesGreen31 avatar Apr 04 '22 18:04 JamesGreen31

This is caused by the bots inventory getting full of items it wants to protect. Im not sure if it happens when the inventory is mostly full. It shouldn't, but it may still get stuck.

We plan to resolve this with smarter container and inventory systems in the future.

JamesGreen31 avatar Apr 16 '22 06:04 JamesGreen31