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

Kicked from server when closing a long material checklist #5816

Closed
hlysine opened this issue Nov 28, 2023 · 4 comments
Closed

Kicked from server when closing a long material checklist #5816

hlysine opened this issue Nov 28, 2023 · 4 comments
Labels
type: bug Issue where something isn't working

Comments

@hlysine
Copy link

hlysine commented Nov 28, 2023

Describe the Bug

I was disconnected from the server after closing the GUI of a 34-page material checklist. There were no issues printing and opening the checklist, but I was kicked instantly every time I tried to close the checklist. This doesn't seem to happen in singleplayer.

Judging from the error message, I would guess that Create was trying to sync the whole checklist to the server when I closed it, which exceeded the packet size limit. Perhaps it can try to only sync the diff, or split into multiple packets?

The schematic that produced the checklist: (It was >400kb so I increased the schematic size limit in config)
coastline.zip

image

There are no relevant logs in the client, and the only relevant lines in the server are these:

[18:21:50] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: PLAYER lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes
[18:21:50] [Server thread/INFO] [minecraft/MinecraftServer]: PLAYER left the game

Reproduction Steps

  1. Join a multiplayer server
  2. Load a huge schematic into a cannon
  3. Print a super-long checklist using the cannon
  4. Open and close the checklist
  5. Get kicked instantly

Expected Result

The checklist GUI should be closed without issues.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.1f

Minecraft Version

1.20.1

Forge Version

47.2.5

Other Mods

=[18:18:31] [Server thread/INFO] [minecraft/MinecraftServer]: Mod List: 
• minecraft server-1.20.1-20230612.114412-srg.jar : minecraft (1.20.1) - 1
• mods_folder elytraslot-forge-6.3.0+1.20.1.jar : elytraslot (6.3.0+1.20.1) - 1
• mods_folder shw-forge-1.0.0.jar : shw (1.0.0) - 1
• mods_folder Ping-1.20-1.10.0.jar : ping (1.10.0) - 1
• mods_folder Jade-1.20.1-forge-11.6.3.jar : jade (11.6.3) - 1
• mods_folder jei-1.20.1-forge-15.2.0.27.jar : jei (15.2.0.27) - 1
• mods_folder inventorio-1.20-forge-1.9.2.jar : inventorio (1.9.2) - 1
• mods_folder caelus-forge-3.1.0+1.20.jar : caelus (3.1.0+1.20) - 1
• JarInJar kffmod-4.6.2.jar : kotlinforforge (4.6.2) - 1
• mods_folder curios-forge-5.4.2+1.20.1.jar : curios (5.4.2+1.20.1) - 1
• mods_folder create_jetpack-forge-4.1.1.jar : create_jetpack (4.1.1) - 1
• JarInJar flywheel-forge-1.20.1-0.6.10-7.jar : flywheel (0.6.10-7) - 1
• mods_folder create-1.20.1-0.5.1.f.jar : create (0.5.1.f) - 1
• mods_folder FastSuite-1.20.1-5.0.1.jar : fastsuite (5.0.1) - 1
• mods_folder Placebo-1.20.1-8.5.7.jar : placebo (8.5.7) - 1
• JarInJar mixinextras-forge-0.2.0-beta.6.jar : mixinextras (0.2.0-beta.6) - 1
• JarInJar create_dragon_lib-1.20.1-1.3.3.jar : create_dragon_lib (1.3.3) - 1
• mods_folder Steam_Rails-1.5.3+forge-mc1.20.1.jar : railways (1.5.3+forge-mc1.20.1) - 1
• mods_folder create_power_loader-1.2.0-mc1.20.1.jar : create_power_loader (1.2.0-mc1.20.1) - 1
• JarInJar flightlib-forge-2.0.1.jar : flightlib (2.0.1) - 1
• mods_folder JadeAddons-1.20.1-forge-5.2.1.jar : jadeaddons (5.2.1) - 1
• mods_folder interiors-0.5.2+mc1.20.1-FORGE.jar : interiors (0.5.2) - 1
• mods_folder cloth-config-11.1.106-forge.jar : cloth_config (11.1.106) - 1
• minecraft forge-1.20.1-47.2.8-universal.jar : forge (47.2.8) - 1
• mods_folder create_enchantment_industry-1.20.1-for-create-0.5.1.f-1.2.7.g.jar : create_enchantment_industry (1.2.7.g) - 1

Additional Context

No response

@hlysine hlysine added the type: bug Issue where something isn't working label Nov 28, 2023
@mcquenji
Copy link

mcquenji commented Dec 6, 2023

same here

@BudderyShloofy
Copy link

BudderyShloofy commented May 18, 2024

Same thing happens to me on the same version of Minecraft and Create. It must be a bug with this version or something. I have a quick fix if you need it (though I am not sure if this is still an issue you are having or not given its a decently old post.) For starters if you cant get back into the world just spam Q so it throws the checklist out of your inventory then go back on after the next crash and you should be able to pick it up and craft it back into a clipboard (do not open it before that though or it will crash again.) I also believe this only happens when you try to load a checklist that has a bunch things checked off already, you should be able to move your cannon or whatever you have holding the materials, whichever is easier, and then make another checklist and check things off automatically (from my experience it only crashes when a certain amount of items are already checked off, not sure exactly what the number is though.)

@reiring
Copy link

reiring commented Dec 2, 2024

Can confirm this bug is still in 0.5.1j

@IThundxr
Copy link
Member

IThundxr commented Dec 2, 2024

This is a vanilla issue, Install a mod like packet fixer to raise the max packet size

@IThundxr IThundxr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants