Posted August 18, 20205 yr THIS SITUATION IS CAUSED BY PACKET ERROR! ----------------------------------------------------------------- Original post: Hello Everyone, it's a newbee modder here. My mod works fine when runClient. And runServer also works fine until player is trying to join in server. Here is what happen when player trying to connect server: ON SERVER CONSOLE: [18八月2020 15:14:05.120] [Server thread/INFO] [net.minecraftforge.common.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.advancements.PlayerAdvancements@3f183a2a [18八月2020 15:14:05.123] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Dev[/192.168.0.104:10376] logged in with entity id 176 at (55.5, 63.0, -44.5) [18八月2020 15:14:05.124] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Dev joined the game [18八月2020 15:14:05.129] [Netty Server IO #8/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.ModIdArgument@3e41a31e (class net.minecraftforge.server.command.ModIdArgument) - will not be sent to client! [18八月2020 15:14:05.129] [Netty Server IO #8/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.EnumArgument@6349126 (class net.minecraftforge.server.command.EnumArgument) - will not be sent to client! [18八月2020 15:14:05.174] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Dev lost connection: Disconnected [18八月2020 15:14:05.174] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Dev left the game ON PLAYER CLIENT: Internal Exception: io.netty.handler.codec.DecoderException: io.netty.handler.codec.EncoderException: java.io.UTFDataFormatException: malformed input around byte 9 Edited August 18, 20205 yr by HeidFanatic Add Details
August 18, 20205 yr Author 53 minutes ago, diesieben07 said: Add the system property forge.logging.mojang.level=DEBUG to both server and client. Then reproduce the issue and then post the server and client debug.log. Thank you so much! I added server & client debug.log to the post!
August 18, 20205 yr Author 2 hours ago, diesieben07 said: The client log stops before the disconnect unfortunately. I checked it for several time including repeatedly reconnecting. I'm sure that the debug.log stop logging at the exact moment this sentence show up: [Netty Client IO #8/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server. Here is what I got from server console when I set -Dforge.logging.console.level=all Gist Edited August 18, 20205 yr by HeidFanatic
August 18, 20205 yr Author 45 minutes ago, HeidFanatic said: I checked it for several time including repeatedly reconnecting. I'm sure that the debug.log stop logging at the exact moment this sentence show up: [Netty Client IO #8/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server. Here is what I got from server console when I set -Dforge.logging.console.level=all Gist OK... Sometimes There is one more sentence after that: [18八月2020 20:01:50.440] [Netty Client IO #2/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming func_192799_a with desc (Lnet/minecraft/network/play/server/SAdvancementInfoPacket;)V
August 18, 20205 yr Author 15 minutes ago, diesieben07 said: No idea then. the log should not stop like that. I'm really sorry I didn't add forge.logging.mojang.level=DEBUG correctly. I have already used stacktrace find my bugs. Really thank you for your help and your patience!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.