1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Error

Discussion in 'Facepalm' started by AndreySK, Dec 2, 2017.

  1. AndreySK

    AndreySK Creeper

    Messages:
    5
    GitHub:
    AndreySK4
    I have a plugin,on pmmp for mcpe protocol 137 it works fine but for protocol 141 is giving me errors and i can't send any command
    Link:https://github.com/NLOGPlugins/NLOGMultiProtocol
    can anyone fix this error for me?:l
    2017-12-02 [17:00:34] [Server thread/CRITICAL]: ErrorException: "unpack(): Type V: not enough input, need 4, have 2" (EXCEPTION) in "src/pocketmine/utils/BinaryStream" at line 235
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string unpack(): Type V: not enough input, need 4, have 2, string phar:///home/minecraft/multicraft/jar/PocketMine-MP.phar/src/pocketmine/utils/BinaryStream.php, integer 235, array Array())
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #1 src/pocketmine/utils/BinaryStream(235): unpack(string V, string ..)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/protocol/DataPacket(546): pocketmine\utils\BinaryStream->getUUID()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(43): pocketmine\network\mcpe\protocol\DataPacket->getCommandOriginData()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/protocol/DataPacket(78): pocketmine\network\mcpe\protocol\CommandRequestPacket->decodePayload()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(85): pocketmine\network\mcpe\protocol\DataPacket->decode()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #8 src/pocketmine/Player(3000): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #10 vendor/pmmp/raklib/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string playerip:port, raklib\protocol\EncapsulatedPacket object, integer 0)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #12 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #13 src/pocketmine/Server(2516): pocketmine\network\Network->processInterfaces()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #14 src/pocketmine/Server(2272): pocketmine\Server->tick()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #15 src/pocketmine/Server(2147): pocketmine\Server->tickProcessor()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #16 src/pocketmine/Server(1735): pocketmine\Server->start()
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #17 src/pocketmine/PocketMine(552): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/minecraft/multicraft/jar/PocketMine-MP.phar/, string /home/minecraft/multicraft/servers/server33/, string /home/minecraft/multicraft/servers/server33/plugins/)
    2017-12-02 [17:00:34] [Server thread/DEBUG]: #18 /home/minecraft/multicraft/jar/PocketMine-MP.phar(1): require(string phar:///home/minecraft/multicraft/jar/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    This happens when you mess with things you don't understand.
     
  3. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.