I think I've messed up something in my tasks, but here my error is: Spoiler: ERROR PHP: Server thread/CRITICAL TypeError: "Argument 1 passed to pocketmine\utils\BinaryStream::putVarInt() must be of the type integer, object given, called in phar:///jar/PocketMine-latest.phar/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php on line 128" (EXCEPTION) in "/src/pocketmine/utils/BinaryStream__64bit" at line 331
When does this occur? Do you have any idea what might cause it? Can you try determining if\what plugin causes it?
At the moment, DKTAPPS is doing some work on PocketMine. So some phars will break. Use 'version' in the console and tell us what version of PocketMine it is. Or, download a version of PocketMine-MP from here https://jenkins.pmmp.io/job/PocketMine-MP/ Simply delete the old "PocketMine-MP.phar", and rename the new one to "PocketMine-MP.phar"
You might want to enable the "debug: 2" in your pocketmine.yml and try to send the result to us. That should help answer the question like what is the "object", how is that "object" pass through the function, etc.
Maybe something similar with this? Basically,when the server was trying to tp player(s) between different levels , it failed Hope it can be fixed! Spoiler Code: [20:58:44] [Server thread/CRITICAL]: Could not tick level "MBStandard": Argument 1 passed to pocketmine\utils\BinaryStream::putLFloat() must be of the type float, string given, called in phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/network/mcpe/protocol/DataPacket.php on line 354 [20:58:44] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\utils\BinaryStream::putLFloat() must be of the type float, string given, called in phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/network/mcpe/protocol/DataPacket.php on line 354" (EXCEPTION) in "/src/pocketmine/utils/BinaryStream" at line 175 [20:58:44] [Server thread/DEBUG]: #0 /src/pocketmine/network/mcpe/protocol/DataPacket(354): pocketmine\utils\BinaryStream->putLFloat(string 131) [20:58:44] [Server thread/DEBUG]: #1 /src/pocketmine/network/mcpe/protocol/MovePlayerPacket(70): pocketmine\network\mcpe\protocol\DataPacket->putVector3f(string 131, double 5.62, string 131) [20:58:44] [Server thread/DEBUG]: #2 /src/pocketmine/network/mcpe/RakLibInterface(195): pocketmine\network\mcpe\protocol\MovePlayerPacket->encode(boolean) [20:58:44] [Server thread/DEBUG]: #3 /src/pocketmine/Player(1084): pocketmine\network\mcpe\RakLibInterface->putPacket(pocketmine\Player object, pocketmine\network\mcpe\protocol\MovePlayerPacket object, boolean , boolean ) [20:58:44] [Server thread/DEBUG]: #4 /src/pocketmine/Player(3971): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\MovePlayerPacket object) [20:58:44] [Server thread/DEBUG]: #5 /src/pocketmine/Player(4025): pocketmine\Player->sendPosition(pocketmine\Player object, integer 35, integer 0, integer 1) [20:58:44] [Server thread/DEBUG]: #6 /src/pocketmine/Player(1716): pocketmine\Player->checkTeleportPosition(boolean) [20:58:44] [Server thread/DEBUG]: #7 /src/pocketmine/level/Level(733): pocketmine\Player->onUpdate(integer 4656) [20:58:44] [Server thread/DEBUG]: #8 /src/pocketmine/Server(2269): pocketmine\level\Level->doTick(integer 4656) [20:58:44] [Server thread/DEBUG]: #9 /src/pocketmine/Server(2421): pocketmine\Server->checkTickUpdates(integer 4656, double 1497099524.2855) [20:58:44] [Server thread/DEBUG]: #10 /src/pocketmine/Server(2186): pocketmine\Server->tick(boolean) [20:58:44] [Server thread/DEBUG]: #11 /src/pocketmine/Server(2068): pocketmine\Server->tickProcessor(boolean) [20:58:44] [Server thread/DEBUG]: #12 /src/pocketmine/Server(1654): pocketmine\Server->start(boolean) [20:58:44] [Server thread/DEBUG]: #13 /src/pocketmine/PocketMine(503): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:\Users\xdm08\Desktop\XdNetWork\XdNetWork\PocketMine-MP.phar/, string C:\Users\xdm08\Desktop\XdNetWork\XdNetWork\, string C:\Users\xdm08\Desktop\XdNetWork\XdNetWork\plugins\) [20:58:44] [Server thread/DEBUG]: #14 (1): require_once(string phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/PocketMine.php) UPDATE: Spoiler Code: [21:11:28] [Server thread/CRITICAL]: Could not tick level "MBStandard": Argument 4 passed to pocketmine\level\Level::addEntityMovement() must be of the type float, string given, called in phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/Player__64bit.php on line 1583 [21:11:28] [Server thread/CRITICAL]: TypeError: "Argument 4 passed to pocketmine\level\Level::addEntityMovement() must be of the type float, string given, called in phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/Player__64bit.php on line 1583" (EXCEPTION) in "/src/pocketmine/level/Level__64bit" at line 2917 [21:11:28] [Server thread/DEBUG]: #0 /src/pocketmine/Player__64bit(1583): pocketmine\level\Level->addEntityMovement(integer 8, integer 8, integer 8, string 131, double 5.62, string 131, integer 10, integer 0, integer 10) [21:11:28] [Server thread/DEBUG]: #1 /src/pocketmine/Player__64bit(1682): pocketmine\Player->processMovement(integer 1) [21:11:28] [Server thread/DEBUG]: #2 /src/pocketmine/level/Level__64bit(736): pocketmine\Player->onUpdate(integer 10564) [21:11:28] [Server thread/DEBUG]: #3 /src/pocketmine/Server__64bit(2269): pocketmine\level\Level->doTick(integer 10564) [21:11:28] [Server thread/DEBUG]: #4 /src/pocketmine/Server__64bit(2421): pocketmine\Server->checkTickUpdates(integer 10564, double 1497100288.2268) [21:11:28] [Server thread/DEBUG]: #5 /src/pocketmine/Server__64bit(2186): pocketmine\Server->tick(boolean) [21:11:28] [Server thread/DEBUG]: #6 /src/pocketmine/Server__64bit(2068): pocketmine\Server->tickProcessor(boolean) [21:11:28] [Server thread/DEBUG]: #7 /src/pocketmine/Server__64bit(1654): pocketmine\Server->start(boolean) [21:11:28] [Server thread/DEBUG]: #8 /src/pocketmine/PocketMine(503): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/, string C:\Users\xdm08\Desktop\XdNetWork\XdNetWork\, string C:\Users\xdm08\Desktop\XdNetWork\XdNetWork\plugins\) [21:11:28] [Server thread/DEBUG]: #9 (1): require(string phar://C:/Users/xdm08/Desktop/XdNetWork/XdNetWork/PocketMine-MP.phar/src/pocketmine/PocketMine.php) kit red[21:11:42] [Server thread/DEBUG]: Unhandled MobArmorEquipmentPacket received from XdmingXD: 0x2008d4040216000a0000030b00637573746f6d436f6c6f722326da00000000d6040216000a0000030b00637573746f6d436f6c6f722326da00000000d8040216000a0000030b00637573746f6d436f6c6f722326da00000000da040216000a0000030b00637573746f6d436f6c6f722326da00000000 [21:11:42] [Server thread/DEBUG]: Unhandled MobArmorEquipmentPacket received from XdmingXD: 0x2008d4040216000a0000030b00637573746f6d436f6c6f722326da00000000d6040216000a0000030b00637573746f6d436f6c6f722326da00000000d8040216000a0000030b00637573746f6d436f6c6f722326da00000000da040216000a0000030b00637573746f6d436f6c6f722326da00000000 [21:11:42] [Server thread/DEBUG]: Unhandled MobArmorEquipmentPacket received from XdmingXD: 0x2008d4040216000a0000030b00637573746f6d436f6c6f722326da00000000d6040216000a0000030b00637573746f6d436f6c6f722326da00000000d8040216000a0000030b00637573746f6d436f6c6f722326da00000000da040216000a0000030b00637573746f6d436f6c6f722326da00000000 [21:11:42] [Server thread/DEBUG]: Unhandled MobArmorEquipmentPacket received from XdmingXD: 0x2008d4040216000a0000030b00637573746f6d436f6c6f722326da00000000d6040216000a0000030b00637573746f6d436f6c6f722326da00000000d8040216000a0000030b00637573746f6d436f6c6f722326da00000000da040216000a0000030b00637573746f6d436f6c6f722326da00000000 [21:11:42] [Server thread/DEBUG]: Unhandled MobArmorEquipmentPacket received from XdmingXD: 0x2008d4040216000a0000030b00637573746f6d436f6c6f722326da00000000d6040216000a0000030b00637573746f6d436f6c6f722326da00000000d8040216000a0000030b00637573746f6d436f6c6f722326da00000000da040216000a0000030b00637573746f6d436f6c6f722326da00000000 [21:11:42] [Server thread/DEBUG]: Unhandled MobArmorEquipmentPacket received from XdmingXD: 0x2008d4040216000a0000030b00637573746f6d436f6c6f722326da00000000d6040216000a0000030b00637573746f6d436f6c6f722326da00000000d8040216000a0000030b00637573746f6d436f6c6f722326da00000000da040216000a0000030b00637573746f6d436f6c6f722326da00000000 //more
@XdmingXD Maybe you have a plugin that is storing a y coordinate as a string ("y" in a config.yml) and forgetting to cast it to float. The error tells you that the 4th argument below is the string "131", whereas it should be a float. If that is the case, you need to fix the plugin to send the correct types. Code: addEntityMovement(integer 8, integer 8, integer 8, string 131, double 5.62, string 131, integer 10, integer 0, integer 10) Don't assume, check if it happens with no plugins.
public vector properties are a pain in the ass because of the lack of static typing... check what you're writing to those fields.
@Lowkey We still don't have your system specs, your exact PocketMine version, your plugins list, and most importantly a copy/paste of continuous console output between startup (with no plugins) and the error in question (use pastebin if it's too long) - if you get the error on server startup you should have no problem providing that. So far you've given us nothing concrete to work with, so nobody can help.