Closed teracube closed 5 years ago
@CortexPE same issue with error : "Requested force ID 5 already in use"
2018-12-07 [16:17:32] [Server thread/CRITICAL]: InvalidArgumentException: "Requested force ID 5 already in use" (EXCEPTION) in "src/pocketmine/Player" at line 3801
2018-12-07 [16:17:32] [Server thread/DEBUG]: #0 TeaSpoon_dev-259.phar/src/CortexPE/block/Anvil(49): pocketmine\Player->addWindow(CortexPE\inventory\AnvilInventory object, integer 5)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #1 src/pocketmine/level/Level(1856): CortexPE\block\Anvil->onActivate(pocketmine\item\ItemBlock object, pocketmine\Player object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #2 src/pocketmine/Player(2338): pocketmine\level\Level->useItemOn(pocketmine\math\Vector3 object, pocketmine\item\ItemBlock object, integer 3, pocketmine\math\Vector3 object, pocketmine\Player object, boolean 1)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(137): pocketmine\Player->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #4 TeaSpoon_dev-259.phar/src/CortexPE/network/InventoryTransactionPacket(81): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(97): CortexPE\network\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(CortexPE\network\InventoryTransactionPacket object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(97): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #8 src/pocketmine/Player(3025): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(162): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string XXX.XX.XX.42 34639, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
2018-12-07 [16:17:32] [Server thread/DEBUG]: #12 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-12-07 [16:17:32] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-12-07 [16:17:32] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-12-07 [16:17:32] [Server thread/DEBUG]: #16 src/pocketmine/Server(2278): pocketmine\snooze\SleeperHandler->sleepUntil(double 1544195852.7545)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #17 src/pocketmine/Server(2139): pocketmine\Server->tickProcessor()
2018-12-07 [16:17:32] [Server thread/DEBUG]: #18 src/pocketmine/Server(1715): pocketmine\Server->start()
2018-12-07 [16:17:32] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-12-07 [16:17:32] [Server thread/DEBUG]: #20 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2018-12-07 [16:17:32] [Server thread/INFO]: [16:17:32] Paveltiti [-]
2018-12-07 [16:17:32] [Server thread/INFO]: Paveltiti[/XXX.XX.XX.42:34639] logged out due to Internal server error
Same problem, steps to reproduce is just try to enchant using an enchant table.
@CortexPE
https://poggit.pmmp.io/r/46900/TeaSpoon_dev-259.phar and PMMP stable version 1.7.0 API 3.4.0 https://jenkins.pmmp.io/job/PocketMine-MP/1702/artifact/PocketMine-MP.phar