menu
#3244326 Too many packets in a single batch

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Indirect
Report date: 2019-12-02 14:43:26 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: win
System banner: Windows NT 21AK22-83FR64Q 10.0 build 18362 (Windows 10) AMD64

Error information

Warning: the Specter plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Too many packets in a single batch
File: src/pocketmine/network/mcpe/protocol/BatchPacket
Line: #97
Error level: UnexpectedValueException
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107

/**
* @return \Generator
*/
public function getPackets(){
$stream = new NetworkBinaryStream($this->payload);
$count = 0;
while(!$stream->feof()){
if($count++ >= 500){
throw new \UnexpectedValueException("Too many packets in a single batch");
}
yield $stream->getString();
}
}

public function getCompressionLevel() : int{
return $this->compressionLevel;
}

public function setCompressionLevel(int $level){
#0 plugins/Specter_dev-28.phar/src/specter/network/SpecterInterface(136): pocketmine\network\mcpe\protocol\BatchPacket->getPackets()
#1 src/pocketmine/Player(3192): specter\network\SpecterInterface->putPacket(object specter\network\SpecterPlayer, object pocketmine\network\mcpe\protocol\BatchPacket, boolean , boolean )
#2 src/pocketmine/Server(1977): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket, boolean , boolean )
#3 src/pocketmine/Server(1959): pocketmine\Server->broadcastPacketsCallback(object pocketmine\network\mcpe\protocol\BatchPacket, array[1], boolean )
#4 src/pocketmine/level/Level(922): pocketmine\Server->batchPackets(array[1], array[576], boolean , boolean )
#5 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 261)
#6 src/pocketmine/Server(2446): pocketmine\level\Level->doTick(integer 261)
#7 src/pocketmine/Server(2577): pocketmine\Server->checkTickUpdates(integer 261, double 1575297806.5183)
#8 src/pocketmine/Server(2346): pocketmine\Server->tick()
#9 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1784): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] D:\MrDinoDuck-1\, string[24] D:\MrDinoDuck-1\plugins\)
#12 src/pocketmine/PocketMine(300): pocketmine\server()
#13 (1): require(string[71] phar://D:/MrDinoDuck-1/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show