OldCombatMechanics

OldCombatMechanics

46.1k Downloads

A warn for a non NMS packet

Hermelijn15 opened this issue ยท 7 comments

commented

server version: paper 1.19.2
plugin version: 1.11.0
on a velocity network (maybe that is where the packet comes from?)
[22:13:41 WARN]: [OldCombatMechanics] Received a packet that is not NMS: class io.netty.buffer.PooledUnsafeDirectByteBuf PooledUnsafeDirectByteBuf(ridx: 0, widx: 5, cap: 256)
if i can provide more info please do let me know. this happens when a player joins the server

commented

also that is all it prints

commented

For packets on the server itself i dont think anything should mess with it, only thing i can think of is viaversion?

commented

It's entirely possible, is there more information printed at all? Do you have any plugins that might be modifying packets too?

commented

Hmm if you turn debug mode on in the config does it print anything more? It's definitely some other plugin directly writing packets

commented

image
this is all that i see

commented

I do assume that it is not a big deal if it is caused by a different plugin?

commented

That just means that OCM detected that some plugin is injecting arbitrary bytes into the player connection instead of server packets. OCM is not able to inspect and rewrite those (as they are no packets), so packet-based fixes like no-collision or sound/particle effect cancellations might no longer work correctly.

Chances are nothing will happen, but OCM might also no longer function properly. That depends on what plugin is injecting random bytes and for what reason.