OldCombatMechanics

OldCombatMechanics

46.1k Downloads

Packets Error

monotrip opened this issue · 12 comments

commented

Info

Problem Description

All players from my server get kicked.

commented

@Rayzr522 @I-Al-Istannen does this have to do with the reflective methods in the no-collisions module?

commented

Sorry, I was a bit busy the last few days.

It is an error in a packet listener.
But that error says that the player field was null in a packet, which I don't think a normal server sends (at least no server I tried did that and it makes no sense at all to do it).

But the exception is caught and should not kick the players:
In fact, I just tried it and threw the NPE myself --- nobody was kicked. I suspect that another plugin might not handle the corrupted packet that is being sent correctly.

I could say a bit more if the server had debug mode enabled in the server.properties @ZoneTriplu.

commented

i'll enable

commented
commented

Could reproduce it once randomly and then never again, but I have an idea of the cause.

Can you see if the attached version works? Also, do you have any way to consistently reproduce it?

OCM.zip

commented

It's possible from ProtocolSupport?

commented

https://hastebin.com/exirurumak.rb that's with debug mode

commented

The debug mode from the server properties? If so, is that the full output you get?
Also, can you link the protocol support plugin you use?

commented
commented

@Tigerpanzer02 Regular spigot? Does it happen when a player instantly leaves again after joining?

commented

Yes regular spigot

Don´t know if it only on fast leaves. I will have a look on console when it will throw again

commented

@Tigerpanzer02 @ZoneTriplu Is this issue still present in the latest test version of OCM?