Genisys icon indicating copy to clipboard operation
Genisys copied to clipboard

Client crashed with some PC maps/world

Open starterdragon opened this issue 9 years ago • 11 comments

Issue description

So, I've download a PC map (named: Colorado river) and ported to my server, while walking around suddenly my client froze and force closed. I know that you fixed an issue same with this one, so I tried to convert it (.mcr -> mca) but still, same happens so I converted it back again.. but still it happens when I try to some certain areas around the city.

so I think you may missed some blocks/entities.. or idk..

Steps to reproduce the issue

Use the map http://www.planetminecraft.com/project/project---coloradoriver-modern-city-version-10-download/ .. and walk around the city In case you spawn somewhere, here's my spawn's loc: X: -463 Y: 37 Z: 967

OS and versions

Win Server 2008

-----Server information----- This server is running Genisys-8f46576 (codename "Kyrios") PHP version: 7.0.12 API: 2.1.0 (iTX API version 1.9.3) Target client: Minecraft PE v0.16.0.5 alpha (protocol version 91)

starterdragon avatar Nov 21 '16 09:11 starterdragon

The unknown blocks problem was fixed by Mojang, not by us. Likely this is an issue with incorrect metadata properties on some entities. Can you confirm whether this issue occurs with https://github.com/pmmp/PocketMine-MP ?

dktapps avatar Nov 21 '16 09:11 dktapps

... again??

TiesGamesNL avatar Nov 21 '16 10:11 TiesGamesNL

@dktapps I'll try later....

starterdragon avatar Nov 21 '16 12:11 starterdragon

Confirmed here. Clients freezes and then crashes (Android & Windows). Sometimes even right after joining the server and sometimes after a while.

dterweij avatar Nov 23 '16 23:11 dterweij

For me, the server would freeze if I use an .mca -> .mcr world.

Aericio avatar Nov 24 '16 20:11 Aericio

Reproduced near the spawn, but difficult to debug since for some reason my logcat doesn't provide any backtraces. This however does not happen on PocketMine-MP.

dktapps avatar Jan 11 '17 10:01 dktapps

It's because of the missing tiles being rendered. I registered beacon tile to fix the issue.

Muqsit avatar Jan 11 '17 11:01 Muqsit

@Muqsit then how do you explain the fact that in PocketMine-MP those tiles aren't registered, and no such crash occurs, they render just fine...

dktapps avatar Jan 11 '17 11:01 dktapps

I was using this one fork Blue***** which had some many tiles already registered.

This very specific PC map I ported, worked without crashes on the fork, whereas it crashed the client when I used pmmp/genisys

Finally, I used world edit to remove all tiles which fixed everything.

Not sure if it were the fact of unregistered tiles rendering or just that PocketMine couldn't convert PC tiles. But it IS 100% something to do with tiles and not entities or anything involving NBT tags.

Muqsit avatar Jan 11 '17 20:01 Muqsit

Well, that's strange... because travelling out from the stated coordinates in this world, turn left and then right - I crash on Genisys, no such issue in PocketMine. Nothing to do with beacons, since I found a big cluster of them, and they were just blocks, no issues.

dktapps avatar Jan 11 '17 20:01 dktapps

Um, If you $level->addParticle(new SomeParticle($yourposition)) without importing SomeParticle class, you crash.

Muqsit avatar Jan 12 '17 20:01 Muqsit