NgLam2911 / LMAO

An ultimate troll plugin for PocketMine-MP
MIT License
9 stars 2 forks source link

Fire ticks must be in range 0 ... 32767, got 19999999980 #18

Closed NhanAZ closed 1 year ago

NhanAZ commented 2 years ago

Error information

#0 pmsrc/src/entity/Entity(670): pocketmine\entity\Entity->setFireTicks(int 19999999980)
#1 pmsrc/src/entity/Living(402): pocketmine\entity\Entity->setOnFire(int 999999999)
#2 plugins/LMAO.phar/src/NgLam2911/lmao/command/subcmd/Burn(39): pocketmine\entity\Living->setOnFire(int 999999999)
#3 plugins/LMAO.phar/src/NgLam2911/lmao/libs/CortexPE/Commando/BaseCommand(143): NgLam2911\lmao\command\subcmd\Burn->onRun(object pocketmine\player\Player#42986, string[4] lmao, array[2])
#4 pmsrc/src/command/SimpleCommandMap(205): NgLam2911\lmao\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\player\Player#42986, string[4] lmao, array[2])
#5 pmsrc/src/Server(1446): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#42986, string[35] lmao burn BikiniBottomVPN 999999999)
#6 pmsrc/src/player/Player(1410): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#42986, string[35] lmao burn BikiniBottomVPN 999999999)
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(737): pocketmine\player\Player->chat(string[36] /lmao burn BikiniBottomVPN 999999999)
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#133905)
#9 pmsrc/src/network/mcpe/NetworkSession(392): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#133816)
#10 pmsrc/src/network/mcpe/NetworkSession(355): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#133905, string[57] M$/lmao burn BikiniBottomVPN 999999999..M......5....)....)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[54] ..U...M.WH*-.Sp.....t./).....S....m._.....2}'<.YsG;...)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 2, string[63] .ia.R[........#.........<.Y..:P..9....X@..Z......[.k...9./*$...)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#40434)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1657739198.7334)
#17 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

https://crash.pmmp.io/view/7171433

NgLam2911 commented 2 years ago

ya i forgot to limit this value at 32767 so i will fix this soon ...