PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

50M Downloads

Logistics Frames move to a different side

belathus opened this issue ยท 3 comments

commented

Describe the bug

My current setup uses logistics frames and logistic pipe modules pretty heavily. Occasionally, though, the frames seem to switch which side of the block they're on. It isn't a problem most of the time, but when it decides to be a problem, it seems to happen all the time to that particular inventory.

Fortunately, the frames always rotate to the south face, so I can work with it most of the time.

In the second screenshot you can see the logistic active provider frame somehow got between the two chest blocks; I have logistics modules underneath the chests, which is where the frame used to be.

2022-09-21_20 40 33
2022-09-18_21 14 17

How to reproduce the bug

I imagine this will be difficult to reproduce. It seems to happen randomly and only rarely, though I have had it happen on a few occasions. Today, when it happened, it moved a lot of my frames.

Fortunately, it seems that it happens more frequently after it has happened once. When I try to correct the location of a logistics frame, they often move back to the southern side after I reload the world.

It might help if you have a copy of my save file, though the size of the world file is currently over 7 gigabytes right now. I could, however, try to delete most of the chucks in the save file aside from the relevant ones. The modpack is listed as a private modpack on AT Launcher as well, to which I could give you access. Let me know if you need these things.

Expected behavior

The frames stay on the side I place them on.

Additional details

No response

Which Minecraft version are you using?

1.18

Which version of PneumaticCraft: Repressurized are you using?

1.18.2-3.4.3-8

Crash log

No response

commented

South is the default facing if the entity is reloaded without the side being saved, so this points to a problem in the entity serialization/deserialization of frames (logistics frames are entities). When this happens, is any other information in the frame (basically item filters or the various filter settings) lost?

I don't see any way of debugging how or why this is happening, since I do save/load the entity's facing in its standard serialization code, and I've never seen this problem happen (or had anyone else report it). Are there any server errors logged when your world is saved? Is your server always being shut down cleanly? Any other world corruption issues?

Giving me a 7GB save and a whole modpack to download isn't really feasible, sorry.

commented

I figured as much. I've been able to parse the save file down quite a bit to only contain a couple regions, but the modpack itself remains fairly large.

No, only the facing changes. The other data seems to remain saved. I had a bunch of request frames on droppers for crafting TNT that moved to another side. When I broke the frames, they still were had sand and gunpowder on their list. If I put the frames on the southern side, even requester frames or other frames with additional data, they continue working fine, which has been my work around for when the frames insist on being on that side.

commented

Figured I'd share that I started a new world in a new custom modpack on 1.19.2 and --- I'm getting frames moving to the South face of blocks again.