PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.92k stars 2.29k forks source link

Corrupt chunks #308

Closed ghost closed 8 years ago

ghost commented 8 years ago

Incompatibility (Bug)

What behaviour is expected:

_Chunks should work like in vanilla minecraft._

What behaviour is observed:

Players reported that they have to fight with issues in some chunks:

Screenshot: http://i.imgur.com/f6tkaw3.png

Players said that it looks like that "the chunks are getting unloaded". Maybe this issue gets caused by one of the last commits for the chunk saving?

Steps/models to reproduce:

_Not known._

Plugin list:

_Not needed._

Paper build number:

_745_

zachbr commented 8 years ago

You need to attach the affected regions to this ticket so that we can start investigating.

sgdc3 commented 8 years ago

Having the same issue on latest 1.8 build. I made a little plugin that reloads the chunks in a specified radius, but a definitive fix would be amazing.

sgdc3 commented 8 years ago

If you teleport outside of that chunk you can see the blocks but everything is freezed, but if you teleport inside of the glitched chunk the client gets stuck falling on the void like in an unloaded chunk.

sgdc3 commented 8 years ago

Idk of this is the same issue but the effects are the same.

ghost commented 8 years ago

@Zbob750 You want the region files of the world? Then I will try to get some with corrupted chunks.

Platinteufel commented 8 years ago

So this is a 1.9.4 issue? I don't have any problems (1.9.2), paper 724

zachbr commented 8 years ago

As far as we know, this remains isolated to a few users. The information we've received has not been detailed enough to reproduce or test properly on our end (not that things are always easy anyway, especially if this is random).

Platinteufel commented 8 years ago

But it seems like there are a few chunk issues in 1.9.4 like #284 or #303. I'm not sure if I should update to 1.9.4 yet. :/

zachbr commented 8 years ago

Make a backup and test it. Not everyone will see every issue. It's one of the things that makes it difficult for us. If you run into an issue, let us know, maybe your information will be able to help.

ghost commented 8 years ago

We now have multiple chunk errors... (build 761)

Used https://dinnerbone.com/minecraft/tools/coordinates/ to find the chunk files, I hope it worked.

Deleted chunks: http://i.imgur.com/5039xh9.jpg http://download.sparty.io/chunks/r.22.6.mca

Lightning errors (if you place light sources, it fixed the problem until you walk out of the rage, then these chunks reset them self to the dark lightning) http://i.imgur.com/vzTn12b.png http://download.sparty.io/chunks/r.-1.-1.mca

Unloaded chunks: Will be added later.

ghost commented 8 years ago

Still have to fight chunks which get deleted...

Any news for this issue?

ghost commented 8 years ago

More and more chunks are disappearing from my maps. Nothing we can do about it?

zachbr commented 8 years ago

We need your plugin list. There are multiple plugins that can cause this. As of now I remain unconvinced this is an issue inherent in Paper.

Black-Hole commented 8 years ago

Timings might also show which plugin is unloading chunks forcefully.

ghost commented 8 years ago

Plugins which handle chunks:

All other plugins never touch chunk loading/saving.

Black-Hole commented 8 years ago

ASkyblock is calling Chunk.unload(), you could try a fork where you remove those calls: https://github.com/tastybento/askyblock/search?utf8=%E2%9C%93&q=unload

Platinteufel commented 8 years ago

Maybe interesting too: https://hub.spigotmc.org/jira/browse/SPIGOT-2385

zachbr commented 8 years ago

Closing as duplicate, of the now resolved, SPIGOT-2322