alexbgameson / 3.0.0Alpha10-PocketMine-Plugins

For all plugins compatible with API 3.0.0-Alpha10 for PocketMine-MP.
20 stars 32 forks source link

MysteryCrate issu #1

Closed ghost closed 7 years ago

ghost commented 7 years ago
[21:35:50] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerInteractEvent' to 'MysteryCrate v3.1': Argument 1 passed to pocketmine\network\mcpe\protocol\DataPacket::putVector3Obj() must be an instance of pocketmine\math\Vector3, null given, called in phar:///home/arma/PocketMine-MP.phar/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php on line 61 on MysteryCrates\Main
[21:35:50] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\network\mcpe\protocol\DataPacket::putVector3Obj() must be an instance of pocketmine\math\Vector3, null given, called in phar:///home/arma/PocketMine-MP.phar/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php on line 61" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/DataPacket" at line 447
alexbgameson commented 7 years ago

Please submit the full server log.

ghost commented 7 years ago

2017-10-25 [21:35:50] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\network\mcpe\protocol\DataPacket::putVector3Obj() must be an instance of pocketmine\math\Vector3, null given, called in phar:///home/arma/PocketMine-MP.phar/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php on line 61" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/DataPacket" at line 447
2017-10-25 [21:35:50] [Server thread/DEBUG]: #0 src/pocketmine/network/mcpe/protocol/AddItemEntityPacket(61): pocketmine\network\mcpe\protocol\DataPacket->putVector3Obj(NULL )
2017-10-25 [21:35:50] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/protocol/DataPacket(99): pocketmine\network\mcpe\protocol\AddItemEntityPacket->encodePayload()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/RakLibInterface(208): pocketmine\network\mcpe\protocol\DataPacket->encode()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #3 src/pocketmine/Player(3065): pocketmine\network\mcpe\RakLibInterface->putPacket(pocketmine\Player object, pocketmine\network\mcpe\protocol\AddItemEntityPacket object, boolean , boolean )
2017-10-25 [21:35:50] [Server thread/DEBUG]: #4 src/pocketmine/Player(3085): pocketmine\Player->sendDataPacket(pocketmine\network\mcpe\protocol\AddItemEntityPacket object, boolean , boolean )
2017-10-25 [21:35:50] [Server thread/DEBUG]: #5 Cratechest/src/MysteryCrates/Main(54): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\AddItemEntityPacket object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #6 Cratechest/src/MysteryCrates/Main(305): MysteryCrates\Main->spawnItem(pocketmine\block\Chest object, pocketmine\item\DiamondChestplate object, pocketmine\Player object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #7 src/pocketmine/plugin/MethodEventExecutor(38): MysteryCrates\Main->onInteract(pocketmine\event\player\PlayerInteractEvent object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #8 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(MysteryCrates\Main object, pocketmine\event\player\PlayerInteractEvent object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerInteractEvent object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #10 src/pocketmine/level/Level(1760): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerInteractEvent object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #11 src/pocketmine/Player(2282): pocketmine\level\Level->useItemOn(pocketmine\math\Vector3 object, pocketmine\item\Item object, integer 5, pocketmine\math\Vector3 object, pocketmine\Player object, boolean 1)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(149): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #17 src/pocketmine/Player(3011): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #19 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 109.0.243.10:48583, raklib\protocol\EncapsulatedPacket object, integer 0)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #21 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #22 src/pocketmine/Server(2497): pocketmine\network\Network->processInterfaces()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #23 src/pocketmine/Server(2253): pocketmine\Server->tick()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #24 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #25 src/pocketmine/Server(1714): pocketmine\Server->start()
2017-10-25 [21:35:50] [Server thread/DEBUG]: #26 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/arma/PocketMine-MP.phar/, string /home/arma/, string /home/arma/plugins/)
2017-10-25 [21:35:50] [Server thread/DEBUG]: #27 /home/arma/PocketMine-MP.phar(1): require(string phar:///home/arma/PocketMine-MP.phar/src/pocketmine/PocketMine.php)```
alexbgameson commented 7 years ago

Plugin was built with faulty code and will need to be rebuilt to work for the new api. Therefore I will no longer be supporting it.