Muqsit / ChestShop

ChestShop for PocketMine-MP (pmmp)
https://poggit.pmmp.io/ci/Muqsit/ChestShop/ChestShop
68 stars 34 forks source link

Eror when send /cs #47

Closed ghost closed 6 years ago

ghost commented 6 years ago

[18:08:38] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\utils\BinaryStream::put() must be of the type string, boolean given, called in C:\Users\mikha\Desktop\PocketMine-MP\src\pocketmine\network\mcpe\protocol\BlockEntityDataPacket.php on line 50" (EXCEPTION) in "vendor/pocketmine/pocketmine-binaryutils/src/BinaryStream" at line 84
[18:08:38] [Server thread/DEBUG]: #0 src/pocketmine/network/mcpe/protocol/BlockEntityDataPacket(50): pocketmine\utils\BinaryStream->put(boolean )
[18:08:38] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/protocol/DataPacket(93): pocketmine\network\mcpe\protocol\BlockEntityDataPacket->encodePayload()
[18:08:38] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/RakLibInterface(214): pocketmine\network\mcpe\protocol\DataPacket->encode()
[18:08:38] [Server thread/DEBUG]: #3 src/pocketmine/Player(3018): pocketmine\network\mcpe\RakLibInterface->putPacket(pocketmine\Player object, pocketmine\network\mcpe\protocol\BlockEntityDataPacket object, boolean , boolean )
[18:08:38] [Server thread/DEBUG]: #4 src/pocketmine/Player(3038): pocketmine\Player->sendDataPacket(pocketmine\network\mcpe\protocol\BlockEntityDataPacket object, boolean , boolean )
[18:08:38] [Server thread/DEBUG]: #5 virions/InvMenu/src/muqsit/invmenu/inventories/BaseFakeInventory(126): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\BlockEntityDataPacket object)
[18:08:38] [Server thread/DEBUG]: #6 virions/InvMenu/src/muqsit/invmenu/inventories/BaseFakeInventory(71): muqsit\invmenu\inventories\BaseFakeInventory->sendFakeTile(pocketmine\Player object)
[18:08:38] [Server thread/DEBUG]: #7 src/pocketmine/inventory/BaseInventory(396): muqsit\invmenu\inventories\BaseFakeInventory->onOpen(pocketmine\Player object)
[18:08:38] [Server thread/DEBUG]: #8 src/pocketmine/Player(3755): pocketmine\inventory\BaseInventory->open(pocketmine\Player object)
[18:08:38] [Server thread/DEBUG]: #9 virions/InvMenu/src/muqsit/invmenu/InvMenu(157): pocketmine\Player->addWindow(muqsit\invmenu\inventories\ChestInventory object)
[18:08:38] [Server thread/DEBUG]: #10 plugins/ChestShop-master/src/ChestShop/Main(184): muqsit\invmenu\InvMenu->send(pocketmine\Player object)
[18:08:38] [Server thread/DEBUG]: #11 plugins/ChestShop-master/src/ChestShop/Main(412): ChestShop\Main->sendChestShop(pocketmine\Player object)
[18:08:38] [Server thread/DEBUG]: #12 src/pocketmine/command/PluginCommand(58): ChestShop\Main->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string cs, array Array())
[18:08:38] [Server thread/DEBUG]: #13 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string cs, array Array())
[18:08:38] [Server thread/DEBUG]: #14 src/pocketmine/Server(1989): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string cs)
[18:08:38] [Server thread/DEBUG]: #15 src/pocketmine/Player(2117): pocketmine\Server->dispatchCommand(pocketmine\Player object, string cs)
[18:08:38] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /cs)
[18:08:38] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
[18:08:38] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[18:08:38] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/protocol/BatchPacket(118): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
[18:08:38] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[18:08:38] [Server thread/DEBUG]: #21 src/pocketmine/Player(2964): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[18:08:38] [Server thread/DEBUG]: #22 src/pocketmine/network/mcpe/RakLibInterface(149): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[18:08:38] [Server thread/DEBUG]: #23 vendor/pocketmine/raklib/server/ServerHandler(103): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.0.87 1026, raklib\protocol\EncapsulatedPacket object, integer 0)
[18:08:38] [Server thread/DEBUG]: #24 src/pocketmine/network/mcpe/RakLibInterface(88): raklib\server\ServerHandler->handlePacket()
[18:08:38] [Server thread/DEBUG]: #25 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
[18:08:38] [Server thread/DEBUG]: #26 src/pocketmine/Server(2531): pocketmine\network\Network->processInterfaces()
[18:08:38] [Server thread/DEBUG]: #27 src/pocketmine/Server(2283): pocketmine\Server->tick()
[18:08:38] [Server thread/DEBUG]: #28 src/pocketmine/Server(2158): pocketmine\Server->tickProcessor()
[18:08:38] [Server thread/DEBUG]: #29 src/pocketmine/Server(1744): pocketmine\Server->start()
[18:08:38] [Server thread/DEBUG]: #30 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\mikha\Desktop\PocketMine-MP\, string C:\Users\mikha\Desktop\PocketMine-MP\plugins\)
Muqsit commented 6 years ago

Update PocketMine to the latest commit

ghost commented 6 years ago

@Muqsit `[20:23:00] [Server thread/CRITICAL]: ErrorException: "yaml_parse_file(C:\Users\mikha\Desktop\PocketMine-MP\plugins\ChestShop/shops.yml): failed to open stream: No such file or directory" (EXCEPTION) in "plugins/ChestShop-master/src/ChestShop/Main" at line 111

[20:23:00] [Server thread/DEBUG]: #1 plugins/ChestShop-master/src/ChestShop/Main(111): yaml_parse_file(string C:\Users\mikha\Desktop\PocketMine-MP\plugins\ChestShop/shops.yml) [20:23:00] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginBase(90): ChestShop\Main->onEnable() [20:23:00] [Server thread/DEBUG]: #3 plugins/DevTools_v1.12.9.phar/src/FolderPluginLoader/FolderPluginLoader(127): pocketmine\plugin\PluginBase->setEnabled(boolean 1) [20:23:00] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(576): FolderPluginLoader\FolderPluginLoader->enablePlugin(ChestShop\Main object) [20:23:00] [Server thread/DEBUG]: #5 src/pocketmine/Server(1968): pocketmine\plugin\PluginManager->enablePlugin(ChestShop\Main object) [20:23:00] [Server thread/DEBUG]: #6 src/pocketmine/Server(1954): pocketmine\Server->enablePlugin(ChestShop\Main object) [20:23:00] [Server thread/DEBUG]: #7 src/pocketmine/Server(1745): pocketmine\Server->enablePlugins(integer 1) [20:23:00] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(305): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\mikha\Desktop\PocketMine-MP\, string C:\Users\mikha\Desktop\PocketMine-MP\plugins)`