EMI

EMI

1M Downloads

[1.18.2] EMI not loading recipes until you join singleplayer first.

ConqAra opened this issue ยท 19 comments

commented

For the modpack I'm using EMI has issues in multiplayer. It'll just infinitely say "waiting for recipe data from server.... EMI Reloading... when joining a multiplayer world after loading up minecraft, until you load up a singleplayer world and then join the multiplayer world.

Log

commented

I believe this might be related to #111

commented

Didn't show me any error in dev mode tho when i went to singleplayer, no errors.

commented

Emi doesn't have good enough internet to respond right now, but she noted that the stacktrace is showing some errors that indicate that all recipe sync is messed up - this isn't an EMI problem, and is related to one of the other mods you've got doing something wrong with their recipe sync.

commented

As mentioned, some mod - no clue who - is returning null from their recipe deserializer, which is breaking the vanilla recipe sync packet, which means the client never properly parses recipes. This has nothing to do with EMI.

commented

Weird, I can't find anything wrong from a cursory glance. Also, to be clear, this error with bouncy life has absolutely nothing to do with EMI, and your issue you opened might confuse them if you suggest this is the case. Like, they broke the vanilla recipe book as well.

commented

I checked the mods myself, if you install only bouncy life (with or without EMI) on 1.18.2 it doesn't cause this issue, I think you may have misdiagnosed the problem

commented

No I was wrong, I found it, this is caused by extractinator

[19:07:04] [Netty Client IO #1/ERROR]: Recipe extractinator:extractinating/sand was deserialized as null using recipe serializer extractinator:extractinating, this is breaking vanilla recipe sync, and will prevent EMI from loading recipes
[19:07:04] [Netty Client IO #1/ERROR]: Recipe extractinator:extractinating/cobblestone was deserialized as null using recipe serializer extractinator:extractinating, this is breaking vanilla recipe sync, and will prevent EMI from loading recipes
[19:07:04] [Netty Client IO #1/WARN]: Suspicious fluid amount in recipe [farmersdelight:create/filling/chocolate_pie]: 500
[19:07:04] [Netty Client IO #1/ERROR]: Recipe extractinator:extractinating/slush was deserialized as null using recipe serializer extractinator:extractinating, this is breaking vanilla recipe sync, and will prevent EMI from loading recipes
[19:07:04] [Netty Client IO #1/ERROR]: Recipe extractinator:extractinating/stone was deserialized as null using recipe serializer extractinator:extractinating, this is breaking vanilla recipe sync, and will prevent EMI from loading recipes
[19:07:04] [Netty Client IO #1/ERROR]: Recipe extractinator:extractinating/gravel was deserialized as null using recipe serializer extractinator:extractinating, this is breaking vanilla recipe sync, and will prevent EMI from loading recipes
[19:07:04] [Render thread/WARN]: Removing unused function InterleavedGradientNoise and omitting further such messages outside of debug mode. See debugging.md for more information.
[19:07:04] [Render thread/WARN]: Removing unused function GetSpecularColor and omitting further such messages outside of debug mode. See debugging.md for more information.
[19:07:04] [Render thread/WARN]: Removing unused function GetCurvedBias and omitting further such messages outside of debug mode. See debugging.md for more information.
[19:07:04] [Netty Client IO #1/WARN]: Suspicious fluid amount in recipe [farmersdelight:create/mixing/pie_crust_from_mixing]: 250
[19:07:04] [Netty Client IO #1/ERROR]: Recipe extractinator:extractinating/silt was deserialized as null using recipe serializer extractinator:extractinating, this is breaking vanilla recipe sync, and will prevent EMI from loading recipes
commented

The error present in your original log isn't here anymore, did you connect to singleplayer first? You need to cause this issue so it shows up in the log.

commented

Problem is that was the only mod that i have off and it works completely fine now. so is it another mod causing incompat for bouncylife with emi? might just be a mod that straight up doesn't like bouncylife, and causes some weird interaction with EMI when both mods are together.

commented

I added some code to help diagnose this issue for you, you can download the CI build of EMI here https://github.com/emilyploszaj/emi/actions/runs/3768874850 and see what the logs tell you. This is a vanilla multiplayer incompatibility by some mod, but it is regardless useful to have some logging like this in EMI to point to when people see EMI not loading recipes in situations like this, and assume EMI has an issue or is even involved when it isn't.

commented

Do you want the log from my client, server, or both?

commented

This will log errors from the client connecting to a multiplayer server.

commented

oh my god LOL
image

commented

Here's the log from the client https://paste.ee/p/ray3y

commented

I'll notify the dev of extractinator.

commented

I figured out the deeper problem, this is a bug in resourceful lib, I can report it with a technical explanation there.

commented

So it's definitely a mod that adds recipes, correct? I'll try to dumb down mods that add recipes until I get to it not happening

commented

It could be a mod that adds recipes, it could be a mod that changes recipes, it could even be some other mod that doesn't advertise either feature, the log is not helpful here, I'd recommend a binary search but focusing on recipe adding mods is a good idea first. And to be clear this is the vanilla recipe system, not necessarily stuff you see in EMI, recipes are not necessarily shown to the user.

commented

found it. its bouncy life. huh. thats really weird.