You cant teleport players to positions without plugins..?
PS: I looked through issues to see if this was a duplicate, didn't see anything similar. Don't ban me if it is a duplicate I'm sorry xd
Reproduced, I thought I was the only one..
ME TOO, I was like, why hasn't anyone else reported this.. I hope it isn't a duplicate
I did report it actually, just in the wrong issue.
Confirmed and same as @Muqsit and @mal0ne-23 i thought i was the only one 馃槀
Had the same issue, I just worked around it.
Same issue here... figured it was just a plugin issue I had not been able to look at. Started with 1.1
2017-06-17 [00:18:51] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\Player::sendPosition() must be an instance of pocketmine\math\Vector3, null given, called in /home/tcagame/pocketminers/15/src/pocketmine/Player.php on line 2147" (EXCEPTION) in "/src/pocketmine/Player" at line 3953
I have this issue too, and this is happening since this update : https://github.com/pmmp/PocketMine-MP/commit/e83ffd5afe637982c6b5f9bb5b915fbb235703ad
Maybe the player can鈥檛 receive sendPositon() because he is already teleported ?
stupid piece of shit of a delayed-teleport system... it's pathetic
Let's drop it completely!!! :D
Me: Hello, lemme get uhhhhhhhh teleport?
PocketMine: Teleport machine broke.
Me: Understandable, Have a nice day.
Line number update. The error is in line 2150 as of the current commit :3
https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/Player.php#L2150
Also reproduced, I switched from Player::teleport() to Player::teleportImmediate() and I've noticed that this error doesn't show up anymore. Although Player::teleportImmediate() was a last resort for me, the chunks seemed to load way faster(maybe it's just the placebo effect :P)
@IrishPacks Maybe not a placebo effect. I noticed the chunks loading faster too. But /timings looks pretty bad
You're deluding yourselves.
@dktapps Ohh... So many errors with teleportation
袧械胁芯蟹屑芯卸薪芯 胁褘锌芯谢薪懈褌褜 褌邪泻褌 胁 屑懈褉械 "survival": Movement distance is excessive: dx=-4527.2759, dy=-639.5048, dz=152.3
AssertionError: "Movement distance is excessive: dx=-4527.2759, dy=-639.5048, dz=152.3" (E_ERROR) in "/src/pocketmine/entity/Entity" at line 1527
#0 /src/pocketmine/entity/Entity(1527): assert(boolean , string Movement distance is excessive: dx=-4527.2759, dy=-639.5048, dz=152.3)
#1 /src/pocketmine/Player(1547): pocketmine\entity\Entity->move(double -4527.2759, double -639.5048, double 152.3)
#2 /src/pocketmine/Player(1701): pocketmine\Player->processMovement(integer 1)
#3 /src/pocketmine/level/Level(720): pocketmine\Player->onUpdate(integer 5133)
#4 /src/pocketmine/Server(2272): pocketmine\level\Level->doTick(integer 5133)
#5 /src/pocketmine/Server(2424): pocketmine\Server->checkTickUpdates(integer 5133, double 1498046022.3997)
#6 /src/pocketmine/Server(2189): pocketmine\Server->tick(boolean)
#7 /src/pocketmine/Server(2072): pocketmine\Server->tickProcessor(boolean)
#8 /src/pocketmine/Server(1654): pocketmine\Server->start(boolean)
Does anyone actually even think of searching the issue tracker before spamming?
Maybe it's stupid, but.
At me this error has appeared at teleportation in PlayerMoveEvent, solved a problem at first having canceled event, and then having teleported the player
Most helpful comment
stupid piece of shit of a delayed-teleport system... it's pathetic