Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash client drop after ui menu level management #296

Closed
genboy opened this issue Jul 26, 2020 · 2 comments
Closed

Crash client drop after ui menu level management #296

genboy opened this issue Jul 26, 2020 · 2 comments
Labels
bug Something isn't working In progress Extra attention is needed

Comments

@genboy
Copy link
Owner

genboy commented Jul 26, 2020

A crash occured after level management with the UI menu.
same crash when testing v2.1.1 and 2.1.0 - might be pmmp version related or a deprecated packets function in Festival form ui

Error:

2020-07-26 [21:01:22] [Server thread/CRITICAL]: Error: "Undefined property: pocketmine\network\mcpe\protocol\SetSpawnPositionPacket::$spawnForced" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/DataPacket" at line 205
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #0 plugins/Festival/src/genboy/Festival/FormUI(885): pocketmine\network\mcpe\protocol\DataPacket->__set(string[11] spawnForced, boolean 1)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #1 plugins/Festival/src/xenialdan/customui/Form(48): genboy\Festival\FormUI->genboy\Festival{closure}(object pocketmine\Player, array[22])
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #2 src/pocketmine/Player(3600): xenialdan\customui\Form->handleResponse(object pocketmine\Player, array[23])
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(264): pocketmine\Player->onFormSubmit(integer 6, array[23])
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #4 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #8 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 83.84.181.236 64083, object raklib\protocol\EncapsulatedPacket, integer 0)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #13 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #15 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1595797282.4142)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #16 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1588): pocketmine\Server->start()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #18 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-40310/, string[23] /home/gs-40310/plugins/)
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(304): pocketmine\server()
2020-07-26 [21:01:22] [Server thread/CRITICAL]: #20 (11): require(string[94] phar:///pro/bin/mcpe/pocketmine-stable-1.16.0/PocketMine-MP.phar/src/pocketmine/)

@genboy genboy added bug Something isn't working In progress Extra attention is needed labels Jul 26, 2020
@genboy
Copy link
Owner Author

genboy commented Mar 21, 2021

Notes/in progress
pmmp/PocketMine-MP@e990c5a
and pmmp/PocketMine-MP#944

@genboy
Copy link
Owner Author

genboy commented Mar 24, 2021

This is the same bug as in #297 and has to do with sending data for the compass while switching to another level or changing the compass direction. The issue is solved in the latest dev update #121, will soon work on a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working In progress Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant