ThePansmith / Monifactory

A Modern Remaster of Nomifactory
GNU Lesser General Public License v3.0
215 stars 107 forks source link

[Bug]: Multiplayer LAN not working #1106

Closed DemaDemaDema closed 1 week ago

DemaDemaDema commented 1 week ago

Issue Summary

So I don't know if this is correct. I have tried everything I can think of. I tried to join the discord but every link was invalid. My wife and I have the same version of modpack, forge and minecraft. Single Player starts fine but when we open to LAN, she can connect and gets in for a second before being booted with "Internal exception: java.lang.IllegalArgumentException: Unknown recipe serializer minecraft: " This happens when I try to connect to her with LAN also. We both use ATLauncher. IMG_3094

Reproduction steps

Load up single player world (even new ones) Direct connect Load in for a moment, get kicked (still stays visibile in world for some reason despite not being in game) IMG_3095 (shes not even in game)

Relevant log output

[22:02:12] [CullThread/INFO]: Redirecting com/logisticscraft/occlusionculling/OcclusionCullingInstance$Relative
[22:02:13] [Render thread/INFO]: Redirecting journeymap/client/data/DataCache
[22:02:13] [Render thread/INFO]: Redirecting journeymap/client/model/RegionImageCache
[22:02:13] [Render thread/INFO]: Redirecting journeymap/client/world/JmBlockAccess
[22:02:13] [Render thread/INFO]: Redirecting journeymap/client/render/draw/DrawUtil$HAlign
[22:02:13] [Render thread/INFO]: Redirecting journeymap/client/render/draw/DrawUtil$VAlign
[22:02:13] [Netty Client IO #0/INFO]: Redirecting igentuman/nc/recipes/ingredient/creator/ItemStackIngredientCreator$IngredientType
[22:02:13] [Netty Client IO #0/INFO]: Redirecting igentuman/nc/recipes/ingredient/creator/FluidStackIngredientCreator$IngredientType
[22:02:13] [Netty Client IO #0/ERROR]: Error reading recipe from packet.
[22:02:13] [Netty Client IO #0/WARN]: Packet not registered: ClientboundDisconnectPacket
[22:02:13] [Netty Client IO #0/WARN]: Packet:ClientboundDisconnectPacket 
[22:02:13] [Netty Client IO #0/WARN]: Packet data:
{
  "f_132075_": "translation{key='disconnect.genericReason', args=[Internal Exception: java.lang.IllegalArgumentException: Unknown recipe serializer minecraft:]}"
}
[22:02:14] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[22:02:14] [Thread-53/INFO]: [EMI] Clearing data
[22:02:14] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingOut
[22:02:14] [Render thread/INFO]: JEI StartEventObserver transitioning state from ENABLED to DISABLED
[22:02:14] [Render thread/INFO]: Redirecting journeymap/client/api/display/DisplayType
[22:02:14] [Render thread/INFO]: Stopping worker threads
[22:02:14] [Render thread/INFO]: [FANCYMENU] ScreenCustomizationLayer registered: disconnected_screen
[22:02:14] [Render thread/INFO]: Reset 0 configs to their client-side state.
[22:08:27] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[22:08:27] [Thread-57/INFO]: [EMI] Clearing data
[22:08:27] [Render thread/INFO]: Connecting to 2601:80:c580:4280::6e1d, 25565
[22:08:29] [Render thread/INFO]: Injecting existing registry data into this CLIENT instance
[22:08:30] [Netty Client IO #1/INFO]: Reloading server config for hangglider
[22:08:30] [Netty Client IO #1/INFO]: Reloading server config for easyanvils
[22:08:31] [Netty Client IO #1/INFO]: Connected to a modded server.
[22:08:31] [Render thread/INFO]: Reloading pipeline on dimension change: NamespacedId{namespace='minecraft', name='overworld'} => NamespacedId{namespace='minecraft', name='overworld'}
[22:08:31] [Render thread/INFO]: Destroying pipeline NamespacedId{namespace='minecraft', name='overworld'}
[22:08:31] [Render thread/INFO]: Creating pipeline for dimension NamespacedId{namespace='minecraft', name='overworld'}
[22:08:31] [Render thread/INFO]: Started 4 worker threads
[22:08:31] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingIn
[22:08:31] [Render thread/INFO]: JEI StartEventObserver transitioning state from DISABLED to ENABLED
[22:08:31] [Render thread/INFO]: Loaded 95 trophies
[22:08:31] [Render thread/INFO]: Loaded 11 jetpacks from the server
[22:08:31] [Render thread/INFO]: Loaded 19 singularities from the server
[22:08:31] [Render thread/INFO]: Starting sync for data_models
[22:08:31] [Render thread/INFO]: Stopping worker threads
[22:08:31] [Render thread/INFO]: Started 4 worker threads
[22:08:31] [Render thread/INFO]: Registered 16 data_models.
[22:08:31] [Render thread/INFO]: Starting sync for model_tiers
[22:08:31] [Render thread/INFO]: Registered 5 model_tiers.
[22:08:33] [Netty Client IO #1/WARN]: forge:split received out of order - inbound buffer not empty when receiving first
[22:08:34] [Netty Client IO #1/ERROR]: Error reading recipe from packet.
[22:08:34] [Netty Client IO #1/WARN]: Packet not registered: ClientboundDisconnectPacket
[22:08:34] [Netty Client IO #1/WARN]: Packet:ClientboundDisconnectPacket 
[22:08:34] [Netty Client IO #1/WARN]: Packet data:
{
  "f_132075_": "translation{key='disconnect.genericReason', args=[Internal Exception: java.lang.IllegalArgumentException: Unknown recipe serializer minecraft:]}"
}
[22:08:34] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[22:08:34] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingOut
[22:08:34] [Render thread/INFO]: JEI StartEventObserver transitioning state from ENABLED to DISABLED
[22:08:34] [Thread-61/INFO]: [EMI] Clearing data
[22:08:34] [Render thread/INFO]: Stopping worker threads
[22:08:34] [Render thread/INFO]: Reset 0 configs to their client-side state.
[22:08:39] [Render thread/INFO]: Stopping!
[22:08:39] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[22:08:39] [Thread-65/INFO]: [EMI] Clearing data
[22:08:39] [Render thread/INFO]: Shutting down map thread
MightyPiggie commented 1 week ago

Known issue.

Try removing nuclearcraft (Don't forget to also delete the | after as well) from the regex located on line 32 of the file kubejs/startup_scripts/_intial.js. Do this on the server and client side. Or wait for the hotfix.

DemaDemaDema commented 1 week ago

Thank you. We can now connect to one another! Excited to play!