Create

Create

86M Downloads

Illegal Packet Received, hosting LAN with create mod

Kaiolohia opened this issue ยท 10 comments

commented

Describe the Bug

Hosting LAN server for me and my partner occasionally and without reason, kicks her from the game. The only message she gets is "Illegal Packet Received: Terminating connection"

Reproduction Steps

  1. Start LAN world
  2. Have create mod installed and active version for 1.19.2
  3. Play until disconnect happens

Expected Result

To have a strong PTP connection without random disconnects.

Screenshots and Videos

No response

Crash Report or Log

Not Applicable, see context below

Operating System

Windows 11

Mod Version

0.5.0f

Minecraft Version

1.19.2

Forge Version

41.1.1

Other Mods

Optifine,
JEI,
MrCrayfishs Furniture Mod,
Simply Light
Xaeros Minimap Mod

Additional Context

I have sifted through my personal debug file and there is no error on my side and the only thing that shows is
[02Nov2022 21:25:25.015] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] s0ggysl0th joined the game [02Nov2022 21:25:52.178] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: s0ggysl0th lost connection: Disconnected [02Nov2022 21:25:52.178] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: s0ggysl0th left the game [02Nov2022 21:25:52.181] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] s0ggysl0th left the game

This disconnect seems to happen at random and has "spikes" Periods during the game where it is a constant disconnect and reconnect only to be kicked again within seconds. Other times it could just happen once then not affect either of us for the next hour.

IMPORTANT

I have gone through other similar posts with no prevail and trying all of the suggested solutions,
I have only had create mod installed, still occurred
Someone mentioned that it is an illegal texture so we both took off all of our shaders and texture packs, still occurred.
I am open to new solutions and will try them asap and give detailed responses.

commented

im having the same issue #3993

commented

same issue here. people get disconnected from LAN World

commented

Update, after looking through her debug file, this : [Netty Client IO #9/ERROR] [net.minecraftforge.network.simple.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel create:main
Shows up an ungodly amount, followed by the other mods shutting down in response to a disconnect. The only thing that comes before it is [Worker-Main-5/ERROR] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Signature is missing from textures payload
temp

commented

found the problem in my case, optimization mods (optifine, rubidium, etc...) crash whoever is playing on the world, but dont give any problem to the host, so i stoped using LAN, created a server and didnt put rubidium on the server's mod folder

commented

found the problem in my case, optimization mods (optifine, rubidium, etc...) crash whoever is playing on the world, but dont give any problem to the host, so i stoped using LAN, created a server and didnt put rubidium on the server's mod folder

Still occurs without optifine.

commented

It's really a pity this is a showstopper for playing this amazing mod together on LAN.
Like @Kaiolohia I see the same error log lines over and over:
[Netty Client IO #12/ERROR] [net.minecraftforge.network.simple.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel create:main
and
[Worker-Main-6/ERROR] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Signature is missing from textures payload

We don't user any other mods. We are all on Macbooks, a mix of Intel and M1s.
Anything I can do to help triage this issue?

commented

My wife and I are having a similar problem as this,
When I host a game via LAN. she is able to connect. then disconnects immediately during the "Joining world screen". I had a look through Create's code, and it could be that Create.GlobalRailwayManager:playerLogin [:58] is firing and in the for loop near the end of the method, the variable "train" is null, and a packet is being constructed with null values.

It is worth noting that There are no trains on my world yet, so there would be nothing to sync just yet.

The client side error being thrown is IndexOutOfBoundsException.
[EDIT]
This happens when There are trains present on the world being joined as well.

commented

Happening to me as well. Has anyone found a solution??

commented

We switched to the port for Fabric and haven't seen the issue again.
https://www.curseforge.com/minecraft/mc-mods/create-fabric

commented

The same issue occurs when I play the mod pack The Winter Rescue.
After placing a Speed Controller, this starts happening more often.
When I remove a Speed Controller, this no longer occurs very often.
It seems that some items cause this issue and we can reduce the frequency by not using them.