PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.26k stars 660 forks source link

v0.14.3 world no longer works after updating to v0.15.0 #4216

Closed iposchalk closed 6 years ago

iposchalk commented 8 years ago

After updating my children's Pocketmine-MP server .phar file from "1.6dev-26_80d6f8df_API-2.0.0" (v0.14.3) to "1.6dev-27_ef8227a0_API-2.0.0" (V0.15.0), they can no longer join to their world. Their iOs Minecraft v0.15.0 app crashes. The Pocketmine-MP Server recognises them joining, but after the app crashes, the server states that they have left the game, "logged out due to timeout"

To help me work out where the problem may lie, I have created a new Pocketmine-MP Server with the exact same PHP Binarys and .phar file. The set up creates a new blank world, which works fine with the iOs v0.15.0 app. I then swap their previously World directory and files that worked with v0.14.3 with the created one and it no longer works as per above.

I can only assume that the new .phar file or the v0.15.0 app is incompatible with some data in World files. I do not know how to determine what is wrong. My children have done a fair bit of work in their world and I would hate for them to lose it all like what happened way back in 2014 when Minecraft PE went from v0.8.1 to v.0.9.0. There are no crash dumps. I have attached our Worlds directory for testing if possible.

Thanks in advance for looking at this issue.

worlds.zip

rudders commented 8 years ago

Same issue but our world was pretty new so I blew it away - but definitely an issue.

ClockProgramming commented 8 years ago

Try deleting the level.dat of the 0.14.3 world, then pocketmine will generate new level.dat Don't worry, it won't corrupt your world On Jun 23, 2016 11:16 AM, "Adrian Rudman" notifications@github.com wrote:

Same issue but our world was pretty new so I blew it away - but definitely an issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PocketMine/PocketMine-MP/issues/4216#issuecomment-227939236, or mute the thread https://github.com/notifications/unsubscribe/APv_xXh0cDL55tdNrI-31swXdysiuyABks5qOfqBgaJpZM4I8YcG .

iposchalk commented 8 years ago

I deleted the level.dat file and started the server. A new level.dat file was created, but sadly the issue was not resolved. I even tried copying the level.dat file from my new working version, but the same things happens. I looked at the properties of the new level.dat file and noticed that the modified date is today, 23Jun16 but the created date is 13Jun16, if that helps and maybe confuses.

robske110 commented 8 years ago

This is a mcpe client issue. Somewhere in your world are wrong blocks and since 0.15 the client unexecptly crashes when trying to render them. This may be fixed in 0.15.1

iposchalk commented 8 years ago

In the back on my mind, I thought it may be a type of block confilct issue. The nice thing would be to work out what the block type or types are, just in case I can remove them from the world in case it won't be fixed in 15.1. That's if it is a feasible thing to try and do.

ClockProgramming commented 8 years ago

Might be an issue of unknown blocks

Creeperface01 commented 8 years ago

no it still isnt fixed even in 0.15.1 :/

iposchalk commented 8 years ago

That's sad to hear. v0.15.1 hasn't been released in Australia yet. I'm sot sure who develops Pocketmine-MP or how to get them to hear about this issue, assuming they don't know about it. I wonder if Shoghicp knows about it all assuming he still works for Mojang.

ClockProgramming commented 8 years ago

Based on genisys issue, worlds are not working because of entities

robske110 commented 8 years ago

No, because of render errors of unknown blocks, allthough some enitites do it too.

dries-c commented 8 years ago

use world edit and remove it like i have do

iposchalk commented 8 years ago

Hi Driesboy, would you mind giving me a bit more detail. As much as you can please.

dries-c commented 8 years ago

Remove all update blocks!

Creeperface01 commented 8 years ago

I tried to remove all update blocks but still crashing

dries-c commented 8 years ago

use clear lagg to remove the unknow mobs or entities

Creeperface01 commented 8 years ago

Hm but if entity is unknown, pocketmine doesnt spawn it

dries-c commented 8 years ago

in 0.14.3 yeah in 0.15.0 no

Creeperface01 commented 8 years ago

But pocketmine code is still same

dries-c commented 8 years ago

yes but minecraft is updated!

Creeperface01 commented 8 years ago

Hmmm

iposchalk commented 8 years ago

Driesboy, obviously to me you are a guru at all this. I am just a dad who has set up a server since around 2013 and have tried to keep it all working. (apart from the v0.8.1 to v0.9.0 issue) You mentioned to use "world edit and remove it", and "clear lagg to remove the unknown mobs or entities". Here's what I assume and I hope you can correct me as well as help me please. I use PHP7.

1) "World Edit" is a plugin. If that is right, can you send me a link. I guess I have to reload V0.14.3 to use it. If that is correct, what am I looking to remove, what commands to use or is there a one off command to remove all blocks/entities to make the world eventually work. 2) "Clear Lagg" is a plugin and all the same questions as per above.

If this is all too hard to try and explain, let me know as well. I'd love to help my kids and their friends out, but if I can't, then that's life. Feel free to download the world that is attached in this thread to see if you can see my issues. Again, only do that if you are bored and would like to give it a go for me/.

robske110 commented 8 years ago

Hmm. Removing entites shouldn't be hard. I may just code a plugin wich just kills every entity on chunk load instantly. And the unknown block problem, if it's a problem is solveable too

RocoWayne commented 8 years ago

so... any solution so far? Maybe a plugin that fixs this problem?

robske110 commented 8 years ago

Workin' on it

Creeperface01 commented 8 years ago

BigSmile said, its caused by light calculating

RocoWayne commented 8 years ago

I use McEdit to remove flowers, pistons and chests in some of my maps. I replace them with air blocks. And now works just fine.

ZedCee commented 8 years ago

I've generated some fresh maps, sans Pistons, default flowers, removed chests... Albeit I experience with no issues from generated abandoned mine shafts or any of the dungeons, but towns just will not work correctly.

I have attempted several fixes, almost nothing works short of trimming the chunks which is no good for a custom map:

  1. I've deleted all entities, villagers, chests and anything that builds. After about 30 or so blocks became corrupted with repeat logins, deleting the path block and crop blocks, the crashes subsided. The map now with massive holes is fully accessible (the problem was in the 2/4 clockwise) and editable in MCEdit. (https://github.com/Khroki/MCEdit-Unified)
  2. PMImporterdev managed to convert the file to mcregion with no issues, but even with the changes Beetroot and GrassPath are replaced by update! blocks. The map is fully accessible and nearly undamaged, but has an unknown number of update! blocks and is uneditable in MCEdit due to SkyBlocks (a light block placed in the old world format). Blocks noticeably 'update!'ed were GrassPath and Beetroot, but all entities were left intact, and suffering no problems from chest or spawners too. (https://github.com/Muirfield/pmimporter/tree/dev)_

Copy and paste blocks and schematics do not correct the issue, lading me to believe its some mysterious block id error. For now just crossing my fingers Mojang catches the bug in the client.

RocoWayne commented 8 years ago

@Creeperface01 i do several tests with the light calculating and it crash again. I remove all the light sources from the map (glowstone and sea lanterns) and recalculate the lighting with MCEDit. And still dont work

RocoWayne commented 8 years ago

Any news?

iposchalk commented 8 years ago

Hi everyone. I basically gave up as I could see no light at the end of any tunnel. But, while I have been patiently looking for the latest .PHAR file (protocol 82) for V0.15.6 off the Bintray web site, which is not there as it's latest is still for protocol 81. I did yet another global search and came across the link (https://forums.pocketmine.net/threads/version-issues.18015/) . In this link, go and get the .PHAR file from (https://www.dropbox.com/s/tbq12l954xm27z8/PocketMine-MP 0.15.6 or 0.15.4.phar?dl=0) . This .PHAR file works for V0.15.6, protocol 82. It also seems to solve my issue and have loaded my original world with all my kids and their friends buildings etc. and it does not crash. Please, those of you who had and still have the same issue, give it a try and let us all know.

Encritary commented 8 years ago

Use BlockLauncher instead, because in 0.15.0 there is bug: when it receive unknown block - it crashes. In 0.14.0 or older, it replaces with UPDATE block.

ghost commented 8 years ago

Use BlockLauncher -_-

ZedCee commented 8 years ago

Except iOS users can't use something like Blockchanger, making this the rather narrow minded approach.

dktapps commented 8 years ago

And Windows. :+1:

ZedCee commented 8 years ago

Which also means GearVR users as well.

dktapps commented 8 years ago

Cover-all so we don't spam any more: any non-Android user will find the BlockLauncher solution ineffective.

(We also do not endorse the use of mod launchers on servers.)

RocoWayne commented 8 years ago

no one has a real solution yet?

iposchalk commented 8 years ago

Hi RocoWayne, as I mentioned in my last comment, I found a .PHAR file made by iTX Technology LLC that now works for me and doesn't have any of the issues I was having when I opened up this forum link. It even works with V0.15.7. We use iOS devices and our sever is on a Win10 PC. Go to the links I've previously mentioned to download the .PHAR file. or, when I run the server, it says to get the latest source code from https://github.com/iTXTech/Genisys . It's a solution for us.