Luke100000 / ImmersivePaintings

Minecraft mod. Use your own paintings! Drag and drop! In Multiplayer!
GNU General Public License v3.0
13 stars 19 forks source link

Same painting #35

Open OctoDrakelevrai opened 1 year ago

OctoDrakelevrai commented 1 year ago

I use the mod to troll my friends but the painting are bug. I importe 1 painting and I place it but when I want a different painting the first come back

qdsf

2023-04-15_19 59 19

2023-04-15_19 59 40

2023-04-15_19 59 52

Before 2023-04-15_20 07 14 After 2023-04-15_20 08 16

I have delete the picture on my pc but the bug persists

It the same probleme for the grafiti Thanks for helping me 🟦⬜🟥🥐🥖

OctoDrakelevrai commented 1 year ago

I play in 1.19.4 with Fabric 0.14.18 and these mods :

dsgf
voidpointer0x00 commented 1 year ago

Same, can't figure out the reason, seems like something related to the way client sends a painting to the server

java.lang.RuntimeException: javax.imageio.IIOException: Error reading PNG image data
        at immersive_paintings.network.SegmentedPaintingMessage.receive(SegmentedPaintingMessage.java:55) ~[immersive_paintings-git-c87820f.jar:?]
        at immersive_paintings.fabric.cobalt.network.NetworkHandlerImpl.lambda$registerMessage$1(NetworkHandlerImpl.java:36) ~[immersive_paintings-git-
c87820f.jar:?]
...
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
        at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:244) ~[?:?]
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:?]
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:244) ~[?:?]
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) ~[?:?]
        at java.io.BufferedInputStream.read(BufferedInputStream.java:343) ~[?:?]
        at java.io.DataInputStream.readFully(DataInputStream.java:201) ~[?:?]
        at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1245) ~[?:?]
        at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1381) ~[?:?]
        at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1521) ~[?:?]
        at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1847) ~[?:?]
        at javax.imageio.ImageIO.read(ImageIO.java:1470) ~[?:?]
        at javax.imageio.ImageIO.read(ImageIO.java:1365) ~[?:?]
        at immersive_paintings.resources.ByteImage.read(ByteImage.java:28) ~[immersive_paintings-git-c87820f.jar:?]
        at immersive_paintings.resources.ByteImage.read(ByteImage.java:52) ~[immersive_paintings-git-c87820f.jar:?]
        at immersive_paintings.network.SegmentedPaintingMessage.receive(SegmentedPaintingMessage.java:52) ~[immersive_paintings-git-c87820f.jar:?]
        ... 12 more
Crowlog commented 1 year ago

I have the same problem and a new instance of mc also doesnt fix the issue. It works fine in singleplayer but when i join my friends server i cant change the picture that is uploaded anymore.

OuToU1 commented 1 year ago

To fix this, go to immersive_paintings\immersive_paintings_USERWITHISSUE, remove the picture that keeps appearing and restart the server.