Packet Fixer

Packet Fixer

21M Downloads

[SUGGESTION] A fix for this error

Closed this issue ยท 26 comments

commented

image

I cannot seem to enter a server because of it, and I believe it is packet related.
latest.log

commented

I cannot seem to enter a server because of it, and I believe it is packet related.

I will take a closer look, I have never seen this error before.

commented

It's supposedly very common, and seems to be triggered by many things. I even found reports of it on Spigot forks. Simply googling the error results in reports of this as far back as 2016. I have also tasked ModernFix with looking into this, as well, in the event this can't be done here.

commented

It's supposedly very common, and seems to be triggered by many things. I even found reports of it on Spigot forks. Simply googling the error results in reports of this as far back as 2016. I have also tasked ModernFix with looking into this, as well, in the event this can't be done here.

Test this version:
PacketFixer-fabric-1.1.8-dev-1.19.2.zip

commented

Mod list is in the log.

Gonna test your build.

commented

image

commented
commented
commented

image

commented
commented
commented

Gonna test without Krypton and see what happens. Looking at how the dev acts towards some has convinced me to at least try that idea.

commented

Gonna test without Krypton and see what happens. Looking at how the dev acts towards some has convinced me to at least try that idea.

Let's see if it works

commented

image

image

commented
commented
commented
commented

image latest.log

I have tried, but I think it is not fixable, you can try to use Packet Fixer version 1.1.7 without Krypton. Thank you very much for reporting the problem.

commented

https://bugs.mojang.com/browse/MC-95529

I recommend that you remove all mods and add them little by little to see which ones give the problem.

commented

I'd suggest at least putting some of these fixes in the next build of your mod, for the public to use, just in case they help someone else.

commented

I think I know my issue, and am going to try and get some people to help me with such.

commented

iirc, Forge implemented a packet splitter specifically for these issues. basically splitting vanilla packets into multiple packets then combining again on client since there are at least 3 different vanilla packets that send an unlimited list (which breaks the varint barrier)

MinecraftForge/MinecraftForge#7485

commented

@TonimatasDEV

You might want to look at this.

commented

FabricMC/fabric#2525 this might be useful too. The approach is effectively the same, but the execution would have to be tweaked to not be as invasive. There have been some nice updates to the networking API in FAPI though so it should be possible now