Elytrium / LimboFilter

Powerful bot filtering solution for Minecraft proxies. Built with LimboAPI.
https://elytrium.net/
GNU Affero General Public License v3.0
147 stars 42 forks source link

[BUG] #45

Open z2vvqx opened 1 year ago

z2vvqx commented 1 year ago

Describe the bug: /sendfilter commands makes the player disconnect insead of sending them to limbo

To reproduce the bug:

  1. Do in game '/sendfilter [player]'
  2. Player is kicked
  3. See console error

Expected behavior: The player shall be sent to limbo as usual

Screenshots: None

Plugin versions:

Velocity dump: velocity-dump-2023-01-28-17-58-26.zip

Additional context: None

hevav commented 1 year ago

See console error

@z2vvqx Can you send me the error you see in the console? Can you show me the reason a player sees when he gets kicked?

z2vvqx commented 1 year ago

@hevav sorry, I forgot to put it there even though I thought i'd put it.

console error:

[07:51:46 WARN] [viaversion]: ERROR IN BaseProtocol1_7 IN REMAP OF 0x02->0x02
[07:51:46 ERROR]: [connected player] VValory (/94.234.119.92:24213): exception encountered in net.elytrium.limboapi.server.LimboSessionHandlerImpl@7ca52b99
io.netty.handler.codec.EncoderException: com.viaversion.viaversion.exception.InformativeException: Please report this on the Via support Discord or open an issue on the relevant GitHub repository
Source 0: com.viaversion.viaversion.protocols.base.BaseProtocol1_7$2 (Anonymous)
        at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.AbstractChannelHandlerContext$WriteTask.run(AbstractChannelHandlerContext.java:1247) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:403) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: com.viaversion.viaversion.exception.InformativeException: Please report this on the Via support Discord or open an issue on the relevant GitHub repository
Source 0: com.viaversion.viaversion.protocols.base.BaseProtocol1_7$2 (Anonymous)
Caused by: java.lang.IllegalArgumentException: UUID string too large
        at java.util.UUID.fromString(UUID.java:199) ~[?:?]
        at com.viaversion.viaversion.protocols.base.BaseProtocol1_7.passthroughLoginUUID(BaseProtocol1_7.java:210) ~[?:?]
        at com.viaversion.viaversion.protocols.base.BaseProtocol1_7$2$1.handle(BaseProtocol1_7.java:137) ~[?:?]
        at com.viaversion.viaversion.api.protocol.remapper.PacketRemapper.remap(PacketRemapper.java:158) ~[?:?]
        at com.viaversion.viaversion.api.protocol.AbstractProtocol.transform(AbstractProtocol.java:324) ~[?:?]
        at com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.apply(PacketWrapperImpl.java:371) ~[?:?]
        at com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.apply(PacketWrapperImpl.java:359) ~[?:?]
        at com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.apply(PacketWrapperImpl.java:46) ~[?:?]
        at com.viaversion.viaversion.protocol.ProtocolPipelineImpl.transform(ProtocolPipelineImpl.java:123) ~[?:?]
        at com.viaversion.viaversion.connection.UserConnectionImpl.transform(UserConnectionImpl.java:313) ~[?:?]
        at com.viaversion.viaversion.connection.UserConnectionImpl.transformClientbound(UserConnectionImpl.java:292) ~[?:?]
        at com.viaversion.viaversion.api.connection.UserConnection.transformOutgoing(UserConnection.java:237) ~[?:?]
        at com.viaversion.viaversion.velocity.handlers.VelocityEncodeHandler.encode(VelocityEncodeHandler.java:48) ~[?:?]
        at com.viaversion.viaversion.velocity.handlers.VelocityEncodeHandler.encode(VelocityEncodeHandler.java:30) ~[?:?]
        at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90) ~[velocity-3.2.0-SNAPSHOT-223.jar:3.2.0-SNAPSHOT (git-f744b37a-b223)]
        ... 16 more

kick reason: https://i.imgur.com/Hm5bfFb.png or End of stream

By the way, sometimes it works as intended and sends me to limbo and 75% of the time it doesn't. My viaversion is latest.

hevav commented 1 year ago

Never install ViaVersion on proxy!

z2vvqx commented 1 year ago

@hevav I removed viaversion, new error: image

mdxd44 commented 1 year ago

If issue still applicable, please see logs of server you've been connected by proxy.