Draconic Evolution

Draconic Evolution

77M Downloads

Spawner issue Player disconect

tretapolis-dev opened this issue ยท 2 comments

commented

Base information

  • Minecraft version: 1.12.2
  • Mod version: 2.3.24.349
  • Minecraft Forge version: 14.23.5.2846
  • Mod Pack: (if applicable) OWN

Once a spawner is placed and the soul is added, each local player gets a disconect at the host, there are no problems. If the spawner continues to work and a player joins, he immediately flies out again. Once the spawner is disabled with a lever or dismantled, the player can re-join and there are no more problems

Optifine also already disabled no change

Only this error message appears in the log (there is no crash log):

`[00:01:08] [Server thread/INFO] [minecraft/MinecraftServer]: Tschonsen123 left the game
[00:01:08] [Client thread/INFO] [minecraft/GuiNewChat]: [CHAT] Tschonsen123 left the game
[00:01:27] [User Authenticator #10/INFO] [minecraft/NetHandlerLoginServer]: UUID of player Tschonsen123 is 8713bfbc-5080-4768-830b-3ccd08f5dbfb
[00:01:27] [Netty Server IO #19/INFO] [FML]: Client protocol version 2
[00:01:27] [Netty Server IO #19/INFO] [FML]: Client attempting to join with 128 mods : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],treecapitator@at_0.9,[email protected],appliedenergistics2@rv6-stable-7,[email protected],[email protected],[email protected],[email protected]+release.109.220f184,[email protected],micdoodlecore@,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],bspkrscore@at_0.9,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
[00:01:27] [Netty Server IO #19/INFO] [CodeChickenLib-ConfigSync]: Skipping config sync, No mods have registered a syncable config.
[00:01:35] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[00:01:35] [Server thread/INFO] [minecraft/PlayerList]: Tschonsen123[/XXX.XXX.XXX:54093] logged in with entity id 1636080 at (121007.27326372244, 95.0, 122186.0756672999)
[00:01:35] [Server thread/INFO] [mcjtylib_ng]: SMP: Sync dimensions to client
[00:01:35] [Server thread/INFO] [minecraft/MinecraftServer]: Tschonsen123 joined the game
[00:01:35] [Client thread/INFO] [minecraft/GuiNewChat]: [CHAT] Tschonsen123 joined the game
[00:01:35] [Server thread/INFO] [Waila]: Player GCEntityPlayerMP['Tschonsen123'/1636080, l='Multiplayer', x=121007.27, y=95.00, z=122186.08] connected. Sending ping
[00:01:35] [Server thread/INFO] [EnderCore]: Sending server configs to client for com.enderio.core.common.config.ConfigHandler
[00:01:35] [Server thread/INFO] [mcjtylib_ng]: SMP: Player logged in: Sync diminfo to clients
[00:01:35] [Server thread/INFO] [mcjtylib_ng]: Send dimlet rules to the client
[00:01:35] [Server thread/INFO] [mcjtylib_ng]: Rules packet size: 5779 of 8192
[00:01:55] [Server thread/INFO] [minecraft/MinecraftServer]: [Tschonsen123: Set own game mode to Creative Mode]
[00:02:46] [Client thread/INFO] [journeymap]: TileDrawStep.updateRegionTexture hit max count, 1000000
[00:02:47] [Client thread/INFO] [journeymap]: TileDrawStep.draw(low) hit max count, 1000000

[00:03:40] [Netty Server IO #19/ERROR] [FML]: NetworkDispatcher exception
io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) ~[MessageToByteEncoder.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:543) ~[NetworkDispatcher.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1032) ~[DefaultChannelPipeline.class:4.1.9.Final]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:296) ~[AbstractChannel.class:4.1.9.Final]
at net.minecraft.network.NetworkManager$4.run(NetworkManager.java:245) [gw$4.class:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [AbstractEventExecutor.class:4.1.9.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [SingleThreadEventExecutor.class:4.1.9.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [NioEventLoop.class:4.1.9.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [SingleThreadEventExecutor$5.class:4.1.9.Final]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: io.netty.util.IllegalReferenceCountException: refCnt: 0
at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1408) ~[AbstractByteBuf.class:4.1.9.Final]
at io.netty.buffer.UnpooledHeapByteBuf.capacity(UnpooledHeapByteBuf.java:114) ~[UnpooledHeapByteBuf.class:4.1.9.Final]
at io.netty.buffer.DuplicatedByteBuf.capacity(DuplicatedByteBuf.java:84) ~[DuplicatedByteBuf.class:4.1.9.Final]
at net.minecraft.network.PacketBuffer.capacity(PacketBuffer.java:434) ~[gy.class:?]
at io.netty.buffer.UnsafeByteBufUtil.setBytes(UnsafeByteBufUtil.java:546) ~[UnsafeByteBufUtil.class:4.1.9.Final]
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:260) ~[PooledUnsafeDirectByteBuf.class:4.1.9.Final]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1069) ~[AbstractByteBuf.class:4.1.9.Final]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1060) ~[AbstractByteBuf.class:4.1.9.Final]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1050) ~[AbstractByteBuf.class:4.1.9.Final]
at net.minecraft.network.PacketBuffer.writeBytes(PacketBuffer.java:1094) ~[gy.class:?]
at net.minecraft.network.play.server.SPacketCustomPayload.func_148840_b(SPacketCustomPayload.java:51) ~[iw.class:?]
at net.minecraft.network.NettyPacketEncoder.encode(NettyPacketEncoder.java:51) ~[ha.class:?]
at net.minecraft.network.NettyPacketEncoder.encode(NettyPacketEncoder.java:12) ~[ha.class:?]
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[MessageToByteEncoder.class:4.1.9.Final]
... 18 more
[00:03:40] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Tschonsen123 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0

[00:03:40] [Server thread/INFO] [minecraft/MinecraftServer]: Tschonsen123 left the game
[00:03:40] [Client thread/INFO] [minecraft/GuiNewChat]: [CHAT] Tschonsen123 left the game`

commented

This is not an issue with Draconic Evolution. It's an issue with CodeChickenLib. I've already submitted a pull request, and a new version of CodeChickenLib is on CurseForge (Twitch).

Update it, and your problem will be solved.

commented

Thanks :D