Modern Industrialization

Modern Industrialization

4M Downloads

Crash when someone placed a pipe near me.

lilrichy opened this issue ยท 6 comments

commented

On a server with Mod pack "All of Fabric 4" my teammate placed a pipe and my game crashed to desktop with following crash log.

#https://gist.github.com/lilrichy/95b90a9ceb82b85497a84d912b850b76

He did not crash only me. He also says that everything seems to appear fine on his end. When logging back into server it insta crashed again over and over same crash log just different POS of pipes "line 8" until he broke all the pipes in the area.
After logging in pipes from "Industrial Revolution, and Fluix Cables from Applied Energistics 2" had textures unconnected and a lot of blocks were not rendered "looked see through" f3+a fixed the see through blocks but the pipes are still randomly unconnected. This only seemed to affect pipes/cables in and around the same chunk as the pipes that caused the crash.

Screenshot 2021-10-16 041611
Screenshot 2021-10-16 041833
Screenshot 2021-10-16 041931
Screenshot 2021-10-16 042014
Screenshot 2021-10-16 042943
Screenshot 2021-10-16 043254

So idk if this is a mod conflict or if this is a bug from this mod since this is what seemed to crash the game.

commented

Looks like your world is corrupt. I don't think this is MI's fault, it might be AppliedEnergistics/Applied-Energistics-2#5534?

commented

Looks like your world is corrupt. I don't think this is MI's fault, it might be AppliedEnergistics/Applied-Energistics-2#5534?

I can confirm, and there is allready a solution to this problem, wich works.

Unfortanatly, even if a new Version of AE2 is released, you have to delete the Pipe blocks in your map, and delete the data/modern_industrialization_pipe_networks.dat file from your save, as the save is corrupted due to this bug.
Edit:
If you deleted the pipe blocks and encounter this error:

you have to delete the pipe entries in data/modern_industrialization_pipe_networks.dat.

After this, it will work fine, (tested with a patched version of AE2)

commented

That's weird, the bug only affected the client. Closing as resolved anyway.

commented

Well it is what the server sends to the client (in this case a null), but because the pipe blocks got destroyed, there is still an entry in modern_industrialization_pipe_networks.dat, wich leads to an error like this:

commented

Well yes, but destroying the pipe blocks wasn't necessary I think?

commented

May be true, but if you delete the blocks, you also have to modify the pipe network dat file as well. I've updated the comment anyway, if someone else finds this issue.