Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.21.1-Neo] Instant disconnect upon trying to join server. (org.cyclops.cyclopscore.helper.RecipeSerializerHelpers.writeItemStackOrItemStackIngredientChance(RecipeSerializerHelpers) #191

Closed
Gbergz opened this issue Sep 21, 2024 · 12 comments

Comments

@Gbergz
Copy link

Gbergz commented Sep 21, 2024

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.
ss1

Steps to reproduce the problem:

  1. Attempt to join server.
  2. Instant disconnect.

ss

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:

https://gist.githubusercontent.com/Gbergz/1e59c6e65ace4b9b30c973c1085602c5/raw/de3dd3f649ef53a9d46c205d6581f76a325f1dfa/gistfile1.txt

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

@rubensworks
Copy link
Member

Thanks for reporting!

@rubensworks
Copy link
Member

rubensworks commented Sep 22, 2024

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.

GitHub
Minecraft library mod for EvilCraft, Integrated Dynamics and others. - CyclopsMC/CyclopsCore

@rubensworks
Copy link
Member

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.

@Gbergz
Copy link
Author

Gbergz commented Sep 23, 2024

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

@rubensworks
Copy link
Member

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.

@Gbergz
Copy link
Author

Gbergz commented Sep 23, 2024

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.

@rubensworks
Copy link
Member

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.

@Gbergz
Copy link
Author

Gbergz commented Sep 24, 2024

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.

@Gbergz
Copy link
Author

Gbergz commented Sep 24, 2024

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.

@Gbergz
Copy link
Author

Gbergz commented Sep 24, 2024

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.

@rubensworks
Copy link
Member

Glad to hear you found the problem!

@Gbergz
Copy link
Author

Gbergz commented Sep 24, 2024

Thanks for the help on the way, appreciated. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants