Bram1903 / AntiHealthIndicator

Enhance fairness with AntiHealthIndicator! Lightweight, async packet spoofing for gameplay integrity. Easy configurable!
https://discord.deathmotion.com
GNU General Public License v3.0
30 stars 5 forks source link

Network protocol error kick #12

Closed Dawlnken closed 3 weeks ago

Dawlnken commented 3 months ago

My server is running 1.20.4 and when I join with 1.21 (viaversion installed on the server), i get a client disconnect.

There is no errors in the console.

The error from my game log:

[12:20:35] [Render thread/ERROR]: Failed to handle packet aez[id=58999, packedItems=[c[id=9, serializer=ajx$$Lambda/0x00000133816cf678@4fa7df5c, value=0.5]]]
java.lang.ArrayIndexOutOfBoundsException: Index 9 out of bounds for length 8
    at aka.a(SourceFile:116) ~[minecraft-1.21-client.jar:?]
    at fzg.a(SourceFile:553) ~[minecraft-1.21-client.jar:?]
    at aez.a(SourceFile:54) ~[minecraft-1.21-client.jar:?]
    at aez.a(SourceFile:12) ~[minecraft-1.21-client.jar:?]
    at zj.a(SourceFile:27) ~[minecraft-1.21-client.jar:?]
    at bph.d(SourceFile:162) [minecraft-1.21-client.jar:?]
    at bpl.d(SourceFile:23) [minecraft-1.21-client.jar:?]
    at bph.B(SourceFile:136) [minecraft-1.21-client.jar:?]
    at bph.bB(SourceFile:121) [minecraft-1.21-client.jar:?]
    at fgo.c(SourceFile:1240) [minecraft-1.21-client.jar:?]
    at fgo.f(SourceFile:882) [minecraft-1.21-client.jar:?]
    at net.minecraft.client.main.Main.main(SourceFile:256) [minecraft-1.21-client.jar:?]
    at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87) [NewLaunch.jar:?]
    at org.prismlauncher.EntryPoint.listen(EntryPoint.java:130) [NewLaunch.jar:?]
    at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
[12:20:35] [Render thread/WARN]: Client disconnected with reason: Network Protocol Error

Additional information: I was only disconnected when teleporting to a room with several entities (wolves, frames, paintings).

I don't have any mods installed.

Bram1903 commented 3 months ago

Hey @Dawlnken,

Sorry for the late response! What platform and version is your server running running and what version of PacketEvents and AntiHealthIndicator are you using?

There are some known issues with the new wolf types, etc, which will be fixed in the near future in PacketEvents. Due to the massive changes in 1.20.5/6 and 1.21 we had to get a few releases going, even though we still had a few issues.

Could you also share the error that has been logged in the console, rather than on the client? The console errors contain much more detail for us plugin developers!

Kind regards, Bram

Bram1903 commented 2 months ago

@Dawlnken, could you give my latest release a go? It probably is not yet fixed, as I am awaiting a fix to be merged into PacketEvents, but perhaps it is now fixed by something I changed for Bungeecord that perhaps also fixed your issue. If not it will be solved by PacketEvents soon.

Bram1903 commented 3 weeks ago

This issue should be solved, and since no further comments have been placed, I will close it.