What The FRICK Was That Packet?

Quick rating

Community listing page, reviews here may not be monitored by the author.

What The FRICK Was That Packet?

No reviews yet

An extremely simple mod that makes PacketBuffer#readStringFromBuffer actually spit out what was 'too long' for it.

Mod Loaders
Minecraft

About

Description

Ever torn your hair out at the vague 'java.io.IOException: The received string length is longer than maximum allowed (36 > 16)' while debugging a modpack?

Well, good news! I made this mod SPECIFICALLY to replace that with something much more debuggable.

While installed, those exception messages will include the actual offending string, amongst other info (e.g. 'java.io.IOException: [WTFWTP] String too long: length=36, max=16, encodedBytes=36, badString="d889a435-e371-480a-af3a-e77a0e89db54"'), to (hopefully) allow for much easier pinpointing of any troublesome mod(s) in your packs.

Enjoy!