altoclef icon indicating copy to clipboard operation
altoclef copied to clipboard

cleaning cursor slot fails

Open K0shachiyamyatA opened this issue 2 years ago • 5 comments

Steps to Reproduce (as best as you can)

Obtain a full inventory of 2 different items and ask the bot to get something like sticks which it doesn't have. Items may have to be protected

Original:

run @gamer until full inventory

Expected Behavior

Clean the slot by throwing out un protected items in place of one which is favored. Mainly, instead of attempting to put the cursor slot back in inventory, if it cannot find a place to put it, the items should be thrown.

Original:

clean the slot

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

stuck between two blocks

Crashlogs and Screenshots (if applicable)

(you may drag + drop text logs and images here, thanks GitHub) https://user-images.githubusercontent.com/88767403/163722353-414e006b-a1b6-4e12-809c-34deda04cef3.mp4

Other mods (if applicable)

Discord username (if you want updates)

Developer Notes (leave this blank)

Difficulty: Medium Estimated Time Required: 1-2 weeks Once development starts.

K0shachiyamyatA avatar Apr 17 '22 15:04 K0shachiyamyatA

Edit: scaled the issue

Yea I noticed this in my testing last night. It seems like the throw item away code isn't working right. I will keep you updated once I start work on fixing this.

JamesGreen31 avatar Apr 17 '22 19:04 JamesGreen31

I think this is fixed? Can you try this again for me?

JamesGreen31 avatar May 25 '22 16:05 JamesGreen31

This is not solved I just made an issue to what i think it this exact problem. I detail this is a issue when your bot is on a server not a local world (although it may only apply when the server is not running over lan either, could be ping related).

drmcbride1 avatar Sep 21 '22 23:09 drmcbride1

This is still happening in single player for me. Interestingly, it doesn't open the player inventory GUI. If I open it manually, I can see it is switching between two trash blocks in the cursor. Then it throws out the item by itself and continues normally.

codemaker4 avatar Feb 05 '23 12:02 codemaker4

Having the same problem with @codemaker4

markpaul099 avatar Feb 07 '23 18:02 markpaul099