altoclef
altoclef copied to clipboard
cleaning cursor slot fails
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.
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.
I think this is fixed? Can you try this again for me?
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).
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.
Having the same problem with @codemaker4