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

made 431 support pls #201

Closed
kanisonpoon opened this issue Apr 24, 2021 · 0 comments
Closed

made 431 support pls #201

kanisonpoon opened this issue Apr 24, 2021 · 0 comments

Comments

@kanisonpoon
Copy link

Issue description

1.16.220 pmmp is modify putslot and use ItemStackWrapper

Prerequisite

How to reproduce

Server log(crash dump)

[Server thread/CRITICAL]: TypeError: "Argument 1 passed to shoghicp\BigBrother\network\Packet::putSlot() must be an instance of pocketmine\item\Item, instance of pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper given, called in C:\Users\kanep\Desktop\game\pmmp\plugins\BigBrother-1.16.4\src\shoghicp\BigBrother\network\protocol\Play\Server\EntityEquipmentPacket.php on line 51" (EXCEPTION) in "plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/network/Packet" at line 106
[08:36:42] [Server thread/CRITICAL]: #0 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/network/protocol/Play/Server/EntityEquipmentPacket(51): shoghicp\BigBrother\network\Packet->putSlot(object pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper)
[08:36:42] [Server thread/CRITICAL]: #1 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/network/Packet(237): shoghicp\BigBrother\network\protocol\Play\Server\EntityEquipmentPacket->encode()
[08:36:42] [Server thread/CRITICAL]: #2 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/network/ProtocolInterface(186): shoghicp\BigBrother\network\Packet->write()
[08:36:42] [Server thread/CRITICAL]: #3 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/network/ProtocolInterface(244): shoghicp\BigBrother\network\ProtocolInterface->sendPacket(integer 2, object shoghicp\BigBrother\network\protocol\Play\Server\EntityEquipmentPacket)
[08:36:42] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Player(3359): shoghicp\BigBrother\network\ProtocolInterface->putPacket(object shoghicp\BigBrother\DesktopPlayer, object shoghicp\BigBrother\network\protocol\Play\Server\EntityEquipmentPacket, boolean , boolean )
[08:36:42] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Player(3376): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\MobEquipmentPacket, boolean , boolean )
[08:36:42] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/inventory/PlayerInventory(174): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\MobEquipmentPacket)
[08:36:42] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Player(2317): pocketmine\inventory\PlayerInventory->sendHeldItem(object shoghicp\BigBrother\DesktopPlayer)
[08:36:42] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Player(2218): pocketmine\Player->completeLoginSequence()
[08:36:42] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(125): pocketmine\Player->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket)
[08:36:42] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket(62): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket)
[08:36:42] [Server thread/CRITICAL]: #11 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/DesktopPlayer(815): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[08:36:42] [Server thread/CRITICAL]: #12 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/DesktopPlayer(440): shoghicp\BigBrother\DesktopPlayer->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket)
[08:36:42] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Player(2030): shoghicp\BigBrother\DesktopPlayer->onVerifyCompleted(object pocketmine\network\mcpe\protocol\LoginPacket, NULL , boolean 1)
[08:36:42] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(117): pocketmine\Player->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket)
[08:36:42] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/network/mcpe/protocol/LoginPacket(145): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket)[08:36:42] [Server thread/CRITICAL]: #16 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/DesktopPlayer(815): pocketmine\network\mcpe\protocol\LoginPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[08:36:42] [Server thread/CRITICAL]: #17 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/DesktopPlayer(589): shoghicp\BigBrother\DesktopPlayer->handleDataPacket(object pocketmine\network\mcpe\protocol\LoginPacket)
[08:36:42] [Server thread/CRITICAL]: #18 plugins/BigBrother-1.16.4/src/shoghicp/BigBrother/DesktopPlayer(790): shoghicp\BigBrother\DesktopPlayer->bigBrother_authenticate(string[32] fc74adaa2088bbf07dd61237c43b89cf, array[0])
[08:36:42] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/scheduler/AsyncPool(319): class@anonymousC:\Users\kanep\Desktop\game\pmmp\plugins\BigBrother-1.16.4\src\shoghicp\BigBrother\DesktopPlayer.php:704$2fb->onCompletion(object pocketmine\Server)
[08:36:42] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(2393): pocketmine\scheduler\AsyncPool->collectTasks()
[08:36:42] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
[08:36:42] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[08:36:42] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[08:36:42] [Server thread/CRITICAL]: #24 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[33] C:\Users\kanep\Desktop\game\pmmp, string[41] C:\Users\kanep\Desktop\game\pmmp\plugins)
[08:36:42] [Server thread/CRITICAL]: #25 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
[08:36:42] [Server thread/EMERGENCY]: pocketmine.crash.create
[08:36:42] [Server thread/EMERGENCY]: pocketmine.crash.submit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant