Enchoseon/2based2wait

Crafting

Offsetpanda701 opened this issue · 7 comments

I have an issue with crafting on the proxy. If i start crafting my game crushes but proxy stay on the server.

Does anything show up in your Minecraft client logs? (Also, is your client modded?)

Log shows im disconnected from the proxy nothing else. My client is not modded.

Does anything show up in the proxy's logs or the console? Also, are you using a release (e.g. v1.0.4, v1.0.3) or are you building directly from the main branch?

I am able to replicate but only on 2b2t, the game crashes. I believe the issue is server specific, I have no issues on my test servers. The last packet received before the game crashes and mineflayer resumes:
[set_slot] {"windowId":0,"slot":0,"item":{"blockId":-1}}
If you quickly craft and close your inventory the game won't crash, quick fix. The packets received when done successfully:
[set_slot] {"windowId":-1,"slot":-1,"item":{"blockId":-1}}
[transaction] {"windowId":0,"action":13,"accepted":true}
[set_slot] {"windowId":0,"slot":0,"item":{"blockId":-1}}
I don't have the know-how to fix this, but at least there's a workaround. 😃

I could not reproduce it in the latest main branch. Crafting works just fine, even on a modded client.

actually, yeah, I could reproduce it with the inventory crafter. Seems like after a while, the proxy also disconnects and tries to reconnect then, but utterly crashes with the error ELIFECYCLE  Command failed with exit code 1.

crash-2023-02-14_16.13.22-client.txt
This is all of the log info I could find