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

Crash on Join with TypeError #153

Closed
jjschwarz opened this issue Aug 11, 2019 · 1 comment
Closed

Crash on Join with TypeError #153

jjschwarz opened this issue Aug 11, 2019 · 1 comment

Comments

@jjschwarz
Copy link

Issue description

When joining the game there is a TypeError in the PMMP v3.9.3

How to reproduce

Install PMMP v3.9.3 and the download of BigBrother from 11 August 2019 on a server. Join with v1.12.2 (also tried the precompiled v1.14.4 build with the same results).

Server log(crash dump)

[12:21:15] [Server thread/INFO]: JJSchwarz joined the game
[12:21:16] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to shoghicp\BigBrother\network\Packet::putPosition() must be of the type integer, float given, called in /home/pocketmine/plugins/BigBrother-master/src/shoghicp/BigBrother/network/protocol/Play/Server/SpawnPaintingPacket.php on line 60" (EXCEPTION) in "plugins/BigBrother-master/src/shoghicp/BigBrother/network/Packet" at line 181
[12:21:16] [Server thread/DEBUG]: #0 plugins/BigBrother-master/src/shoghicp/BigBrother/network/protocol/Play/Server/SpawnPaintingPacket(60): shoghicp\BigBrother\network\Packet->putPosition(double 67, double 77, double 220.96875)
[12:21:16] [Server thread/DEBUG]: #1 plugins/BigBrother-master/src/shoghicp/BigBrother/network/Packet(239): shoghicp\BigBrother\network\protocol\Play\Server\SpawnPaintingPacket->encode()
[12:21:16] [Server thread/DEBUG]: #2 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(185): shoghicp\BigBrother\network\Packet->write()
[12:21:16] [Server thread/DEBUG]: #3 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(246): shoghicp\BigBrother\network\ProtocolInterface->sendPacket(integer 2, object shoghicp\BigBrother\network\protocol\Play\Server\SpawnPaintingPacket)
[12:21:16] [Server thread/DEBUG]: #4 src/pocketmine/Player(3182): shoghicp\BigBrother\network\ProtocolInterface->putPacket(object shoghicp\BigBrother\DesktopPlayer, object pocketmine\network\mcpe\protocol\AddPaintingPacket, boolean , boolean )
[12:21:16] [Server thread/DEBUG]: #5 src/pocketmine/Player(3202): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\AddPaintingPacket, boolean , boolean )
[12:21:16] [Server thread/DEBUG]: #6 src/pocketmine/entity/object/Painting(163): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\AddPaintingPacket)
[12:21:16] [Server thread/DEBUG]: #7 src/pocketmine/entity/Entity(2051): pocketmine\entity\object\Painting->sendSpawnPacket(object shoghicp\BigBrother\DesktopPlayer)
[12:21:16] [Server thread/DEBUG]: #8 src/pocketmine/Player(1018): pocketmine\entity\Entity->spawnTo(object shoghicp\BigBrother\DesktopPlayer)
[12:21:16] [Server thread/DEBUG]: #9 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(386): pocketmine\Player->sendChunk(integer 4, integer 13, object pocketmine\network\mcpe\protocol\BatchPacket)
[12:21:16] [Server thread/DEBUG]: #10 src/pocketmine/level/Level(2644): shoghicp\BigBrother\DesktopPlayer->sendChunk(integer 4, integer 13, object pocketmine\network\mcpe\protocol\BatchPacket)
[12:21:16] [Server thread/DEBUG]: #11 src/pocketmine/level/Level(2696): pocketmine\level\Level->sendChunkFromCache(integer 4, integer 13)
[12:21:16] [Server thread/DEBUG]: #12 src/pocketmine/level/format/io/ChunkRequestTask(76): pocketmine\level\Level->chunkRequestCallback(integer 4, integer 13, object pocketmine\network\mcpe\protocol\BatchPacket)
[12:21:16] [Server thread/DEBUG]: #13 src/pocketmine/scheduler/AsyncPool(320): pocketmine\level\format\io\ChunkRequestTask->onCompletion(object pocketmine\Server)
[12:21:16] [Server thread/DEBUG]: #14 src/pocketmine/Server(2573): pocketmine\scheduler\AsyncPool->collectTasks()
[12:21:16] [Server thread/DEBUG]: #15 src/pocketmine/Server(2345): pocketmine\Server->tick()
[12:21:16] [Server thread/DEBUG]: #16 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
[12:21:16] [Server thread/DEBUG]: #17 src/pocketmine/Server(1784): pocketmine\Server->start()
[12:21:16] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[17] /home/pocketmine/, string[25] /home/pocketmine/plugins/)
[12:21:16] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(299): pocketmine\server()
[12:21:16] [Server thread/DEBUG]: #20 (1): require(string[72] phar:///home/pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

hmy2001 added a commit that referenced this issue Aug 17, 2019
(cherry picked from commit 26c5389)
hmy2001 added a commit that referenced this issue Aug 17, 2019
(cherry picked from commit 26c5389)
eternalharvest pushed a commit that referenced this issue Aug 19, 2019
(cherry picked from commit 26c5389)
@jjschwarz
Copy link
Author

jjschwarz commented Aug 23, 2019 via email

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