refinedmods / refinedstorage

An elegant solution to your hoarding problem.
https://refinedmods.com/refined-storage
MIT License
355 stars 176 forks source link

When the storage exceeds 200k items, the point synthesis terminal will flash and crash #3719

Open Keomedn opened 1 month ago

Keomedn commented 1 month ago

Describe the bug

I am playing in single player mode, and the storage disk is for creating storage. I have stored over 200K items in it. After clicking on the synthesis terminal, the game crashes to the multiplayer game connection page, and the screen shows that the connection has been lost. The specific content is in the log output

How can we reproduce this bug or crash?

1.The disk drive has over 200K items stored in its memory 2.Click on the synthesis terminal

What Minecraft version is this happening on?

Minecraft 1.20.1

What Forge version is this happening on?

47.2.21

What Refined Storage version is this happening on?

1.12.4

Relevant log output

Internal Exception:com,refinedmods.refinedstorage.network.PacketSplittingException: Failure Splitting Packets on C Channel "refinedstorage:main_channel", Number of Packets sent 10, Number of Packets expected 19, maximum
number of packets for a me essage of this type 0
Nodrance commented 1 month ago

This happens when you put a lot of NBT items (enchantments, special names, books with text in them, durability) into your RS system. Do not put a mob farm into it.

Keomedn commented 1 month ago

In fact, the mine and slash mod I played added a lot of NBTs, which forced me to use high-capacity storage components. However, I didn't expect it to prevent me from opening the storage components, so I want to know if there is a way to lift the restriction

Nodrance commented 1 month ago

I do not know how to raise the limit, but if you did raise the limit, it would just stop working later. If you have a backup of your world, you can load it. If all of the items are the same (for example, all bows) you can use an "exporter" to get them out of your system. If you know how to use an "NBT Editor", you can open up your world file and remove the items from the disks