ThePansmith / Monifactory

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

[Bug]: Client failing to connect to dedicated server with "Unknown recipe serializer minecraft:" #1103

Closed InfinitiesLoop closed 1 week ago

InfinitiesLoop commented 1 week ago

Issue Summary

I was attempting to upgrade our 0.9 server to 0.10. Multiple players got this error trying to log in. So I also tried a fresh install of Monifactory 0.10.0 (on the same dedicated server), and it still happens. I am able to play locally with the same world save on 0.10, so might be a server-specific issue.

Reproduction steps

  1. Install Monifactory 0.10 per the server instructions (forge --installServer, etc)
  2. Start the server
  3. Try to connect to the server from a 0.10 client
  4. Immediately after the connection is established -> "Internal Exception: java.lang.IllegalArgumentException: Unknown recipe serializer minecraft:" (note the trailing colon is part of the message)

image

server log: monifactory-server-log-0.10.0.log

client log: monifactory-client-log-0.10.0.log

Relevant log output

See the attached server and client log files
sillysimon commented 1 week ago

Same issue here, although for me, it manages to get to "Loading Terrain" before displaying the error. Edit: I tested with a completely fresh install using forge-1.20.1-47.3.7 and the nix package temurin-jre-bin-21

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.

ThePansmith commented 1 week ago

Report to NuclearCraft Neo, we can't really do much on our end, and the aforementioned fix above introduces issues of its own.

igentuman commented 6 days ago

Ok. I'll check it on monifactory pack

igentuman commented 6 days ago

Detailed error Error reading recipe nuclearcraft:assembler/glowstone_dust-dusts_quartz-redstone-dusts_emerald from packet. Trace: java.lang.IllegalArgumentException: ItemStackIngredients cannot be created using the empty ingredient

InfinitiesLoop commented 3 days ago

fwiw I get it with 0.10.2 as well. I noticed there was a NC update and a mention of a fix/revert related to a NC recipe. But it's the same issue (the 'cannot be created using the empty ingredient' error sometimes happens even on 0.9.10, but it's rare, so not sure if that's a different issue).

ryanz4475 commented 3 days ago

0.10.2 does not include the new version of NCNeo (released 11/17, 1.1.0-rc.2), which introduces the fix. Writing this so devs are aware and can add to the next update.