[1.21.1-Neo] Instant disconnect upon trying to join server. (org.cyclops.cyclopscore.helper.RecipeSerializerHelpers.writeItemStackOrItemStackIngredientChance(RecipeSerializerHelpers)
Gbergz opened this issue ยท 12 comments
Issue type:
- ๐ Bug
Short description:
Instant disconnect when joining server all of a sudden. Logs point to CyclopsCore so I'll report here see what comes of it.
Steps to reproduce the problem:
- Attempt to join server.
- Instant disconnect.
Expected behaviour:
That server is joinable without disconnect.
Versions:
- This mod: 1.23.0-601
- Minecraft: 1.21.1
- Mod loader version: NeoForge 21.1.54
Log file:
EDIT:
After some digging I found out that removing Integrated Dynamics causes this issue to disappear. And re-adding it makes issue appear again. So something around Integrated Dynamics.
Versions for integrated mods:
IntegratedDynamics v1.23.5
IntegratedCrafting v1.1.10
IntegratedTerminals v1.5.2
IntegratedTunnels v1.8.28
Note to self: use ItemStack codecs that accept empty in read and write: https://github.com/CyclopsMC/CyclopsCore/blob/master-1.21/loader-neoforge/src/main/java/org/cyclops/cyclopscore/recipe/ItemStackFromIngredient.java#L79-L100
Just weird that this hasn't happened before. Probably indicates broken/custom recipes in a modpack.
Minecraft library mod for EvilCraft, Integrated Dynamics and others. - CyclopsMC/CyclopsCore
I'll push a fix which should fix your problem, but there's a small chance it may not (since I wasn't able to reproduce the problem).
Once you've updated to the new version, and the problem should still occur for you, please let me know.
Tried just now and unfortunately the issue persists on v1.23.6.
Here's the servers latest.log again:
File: latest.log
Or link: https://gist.githubusercontent.com/Gbergz/4aeecfe6f16992d7456ffb8ed9e95d82/raw/91b3f51b59b87307f4304eb04aec66529b6b2afb/gistfile1.txt
Can you reproduce the problem without any other mods installed? I'm suspecting some other mod in your pack may be breaking vanilla ingredient seralization.
No I can't so I suspect this is another mod causing issues with Integrated Dynamics/Cyclops Core.. hmm annoying.. :s
Not sure how to find out which other than removing mods one by one until it works, but that's gonna take a long time with so many mods.
You could try binary search, which should be a lot faster than removing one-by-one: iteratively removing half of the mods until you find the offending one.
Yep, was going to do that and I have done it now.
Removing Occultism makes the issue go away and world is now joinable again. Re-adding it makes issue reappear.
After further testings, readding Occultism and removing KubeJS also solves it, so it might be something there.
Edit: Re-adding KubeJS and then deleting the KubeJS folder with the scripts also solves it, so might be something with my scripts currently.
Just weird that this started recently.
Found the issue, it was a KubeJS item ban script I have that is breaking stuff together with Cyclops Core + Integrated Dynamics I guess..
Removing it fixes this issue.