DaPigGuy / PiggyCustomEnchants

An open source custom enchantment plugin for PocketMine-MP
https://piggydocs.aericio.net/PiggyCustomEnchants.html
Apache License 2.0
103 stars 117 forks source link

Pmmp v1.16.220 3.19.0 / (EXCEPTION) in "pmsrc/src/pocketmine/network/mcpe/protocol/AddPlayerPacket" at line 132 #338

Closed teracube closed 3 years ago

teracube commented 3 years ago

due to outdated version i suppose.. Pmmp version : https://jenkins.pmmp.io/job/PocketMine-MP/lastSuccessfulBuild/artifact/PocketMine-MP.phar Plugin version : https://poggit.pmmp.io/r/93983/PiggyCustomEnchants_dev-462.phar

2021-04-07 [21:02:52] [Server thread/INFO]: [VPNGuard] Player BatCrayon7 has connected with the IP: 91.XX.XX.164
2021-04-07 [21:02:52] [Server thread/INFO]: BatCrayon7 [+]
2021-04-07 [21:02:52] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\item\ItemBlock::write()" (EXCEPTION) in "pmsrc/src/pocketmine/network/mcpe/protocol/AddPlayerPacket" at line 132
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\AddPlayerPacket->encodePayload()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(244): pocketmine\network\mcpe\protocol\DataPacket->encode()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/Player(3359): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\AddPlayerPacket, boolean , boolean )
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/Player(3376): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\AddPlayerPacket, boolean , boolean )
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #4 plugins/Slapper_dev-76.phar/src/slapper/entities/SlapperEntity(64): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\AddPlayerPacket)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/entity/Entity(1961): slapper\entities\SlapperEntity->sendSpawnPacket(object pocketmine\Player)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Player(1112): pocketmine\entity\Entity->spawnTo(object pocketmine\Player)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(310): pocketmine\Player->doFirstSpawn()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/Player(3311): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 91.86.95.164 26771, object raklib\protocol\EncapsulatedPacket, integer 0)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #17 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1617822172.5679)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
2021-04-07 [21:02:52] [Server thread/CRITICAL]: #24 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2021-04-07 [21:02:52] [Server thread/INFO]: BatCrayon7 [-]
2021-04-07 [21:02:52] [Server thread/INFO]: BatCrayon7[/91.XX.XX.164:26771] logged out due to Internal server error
2021-04-07 [21:02:52] [RakLibServer thread/NOTICE]: Blocked 91.XX.XX.164 for 5 seconds
Aericio commented 3 years ago

Appears like this is caused by Slapper, not PiggyCustomEnchants.

teracube commented 3 years ago

@Aericio Thanks Could you provide phar version because newest phar version is N/A https://poggit.pmmp.io/ci/DaPigGuy/PiggyCustomEnchants/PiggyCustomEnchants No virion builds are available in ParoxityTeam/Commando/Commando

Aericio commented 3 years ago

@teracube https://poggit.pmmp.io/r/121728/PiggyCustomEnchants_dev-473.phar