GrimAnticheat / Grim

Fully async, multithreaded, predictive, open source, 3.01 reach, 1.005 timer, 0.01% speed, 99.99% antikb, "bypassable" 1.8-1.20 anticheat.
GNU General Public License v3.0
1.09k stars 323 forks source link

PacketEvents exception #919

Closed SkyWaves123 closed 1 year ago

SkyWaves123 commented 1 year ago

Stack trace

[00:07:17] [Netty Server IO #1/WARN]: PacketEvents caught an unhandled exception while calling your listener. ac.grim.grimac.shaded.com.github.retrooper.packetevents.exception.PacketProcessException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 256) at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.handshaking.client.WrapperHandshakingClientHandshake.read(WrapperHandshakingClientHandshake.java:64) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readEvent(PacketWrapper.java:178) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.(PacketWrapper.java:108) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.(PacketWrapper.java:98) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.handshaking.client.WrapperHandshakingClientHandshake.(WrapperHandshakingClientHandshake.java:40) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.manager.InternalBukkitPacketListener.onPacketReceive(InternalBukkitPacketListener.java:21) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.event.PacketReceiveEvent.call(PacketReceiveEvent.java:45) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.event.EventManager.callEvent(EventManager.java:51) [grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.PacketEventsImplHelper.handleServerBoundPacket(PacketEventsImplHelper.java:43) [grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsDecoder.read(PacketEventsDecoder.java:51) [grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsDecoder.decode(PacketEventsDecoder.java:58) [grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsDecoder.decode(PacketEventsDecoder.java:35) [grimac-2.3.32%20(1).jar:?] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:430) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:384) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [patched_1.8.8.jar:git-PaperSpigot-445] at java.lang.Thread.run(Thread.java:831) [?:?] Caused by: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 256) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1175) ~[patched_1.8.8.jar:git-PaperSpigot-445] at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570) ~[patched_1.8.8.jar:git-PaperSpigot-445] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.netty.buffer.ByteBufOperatorModernImpl.readByte(ByteBufOperatorModernImpl.java:74) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.netty.buffer.ByteBufHelper.readByte(ByteBufHelper.java:67) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readByte(PacketWrapper.java:221) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readVarInt(PacketWrapper.java:253) ~[grimac-2.3.32%20(1).jar:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.handshaking.client.WrapperHandshakingClientHandshake.read(WrapperHandshakingClientHandshake.java:57) ~[grimac-2.3.32%20(1).jar:?] ... 31 more

How to replicate it if known

No response

Grim version

grim version 2.3.32

Server version

This server is running CraftBukkit version git-PaperSpigot-445 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

Plugins

Plugins (40): WorldEdit, killStats, PlaceholderAPI, PlugMan, spark, WeatherTimeLock, Votifier, WorldGuard, PebbleAntiVPN, zVoteParty, ChunkCollector, KSpawn, SetHub, ViaVersion, PlugManX, ViaRewind, LuckPerms, CrazyCrates, Scoreboard-revision, ProtocolLib, SkinsRestorer, Vault, TokenManager, DecentHolograms, Essentials, BKCommonLib, GrimAC, AuthMe, Economy, LiteBans, AuctionHouse, TabList, ShopGUIPlus, Tokens, SuperiorSkyblock2, SuperiorFall, My_Worlds, WildStacker, WildTools, JetsMinions

MWHunter commented 1 year ago

packetevents issue, report on their issue tracker

SkyWaves123 commented 1 year ago

packetevents issue, report on their issue tracker

Can you give me a link? I can't find where I'm supposed to open an issue

vytskalt commented 1 year ago

https://github.com/retrooper/packetevents

SkyWaves123 commented 1 year ago

Btw i dont event have Packetevents api installed on my server. Does paper automatically install it or what?

vytskalt commented 1 year ago

Btw i dont event have Packetevents api installed on my server. Does paper automatically install it or what?

Grim does that automatically

MWHunter commented 1 year ago

It's shaded into the jar