Creating Prospectors Log triggers IllegalArgumentException
Keridos opened this issue ยท 1 comments
Your GTNH Discord Username
keridos
Your Pack Version
2.7.0
Your Server
private mp server
Java Version
Java 21
Type of Server
Vanilla Forge
Your Expectation
Using the prospectors log (empty) should create a working copy of my veins. Other people should be able to use it to get my veins data.
The Reality
I get kicked from the server due to a java.lang.IllegalArgumentException: Payload may not be larger than 32k
. Server has no other info besides that my client lost the connection.
When logging in, I have a prospectors log that does not work for other people, even showing that I created it.
It sometimes does not create a log at all, I just have the emtpy log in my inventory.
Your Proposal
Fix the network code to properly handle the payload if its over 32kB and split it over multiple packets.
Maybe introduce some compression as I guess the data might be quite compressible.
Final Checklist
- I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
- I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
- I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.