Closed Altamash347 closed 4 years ago
if someone quits, the server crashes
[06:05:38] [Server thread/CRITICAL]: Error: "Call to a member function broadcastPacketToViewers() on null" (EXCEPTION) in "src/pocketmine/entity/Entity" at line 1186
[06:05:38] [Server thread/CRITICAL]: #0 src/pocketmine/Player(1714): pocketmine\entity\Entity->broadcastMotion()
[06:05:38] [Server thread/CRITICAL]: #1 src/pocketmine/entity/Entity(1871): pocketmine\Player->setMotion(object pocketmine\math\Vector3)
[06:05:38] [Server thread/CRITICAL]: #2 src/pocketmine/Player(3915): pocketmine\entity\Entity->teleport(object pocketmine\level\Position, NULL , NULL )
[06:05:38] [Server thread/CRITICAL]: #3 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/arena/Arena(411): pocketmine\Player->teleport(object pocketmine\level\Position)
[06:05:38] [Server thread/CRITICAL]: #4 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/provider/AsyncLibDatabase(164): larryTheCoder\arena\Arena->larryTheCoder\arena\{closure}(object pocketmine\level\Position)
[06:05:38] [Server thread/CRITICAL]: #5 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/libs/poggit/libasynql/base/DataConnectorImpl(159): larryTheCoder\provider\AsyncLibDatabase->larryTheCoder\provider\{closure}(array[1], array[4])
[06:05:38] [Server thread/CRITICAL]: #6 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/libs/poggit/libasynql/base/DataConnectorImpl(189): larryTheCoder\libs\poggit\libasynql\base\DataConnectorImpl->larryTheCoder\libs\poggit\libasynql\base\{closure}(object larryTheCoder\libs\poggit\libasynql\result\SqlSelectResult)
[06:05:38] [Server thread/CRITICAL]: #7 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/libs/poggit/libasynql/base/SqlThreadPool(112): larryTheCoder\libs\poggit\libasynql\base\DataConnectorImpl->larryTheCoder\libs\poggit\libasynql\base\{closure}(object larryTheCoder\libs\poggit\libasynql\result\SqlSelectResult)
[06:05:38] [Server thread/CRITICAL]: #8 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/libs/poggit/libasynql/base/DataConnectorImpl(268): larryTheCoder\libs\poggit\libasynql\base\SqlThreadPool->readResults(array[2])
[06:05:38] [Server thread/CRITICAL]: #9 plugins/SkyWarsForPE_dev-60 (1).phar/src/larryTheCoder/libs/poggit/libasynql/base/SqlThreadPool(65): larryTheCoder\libs\poggit\libasynql\base\DataConnectorImpl->checkResults()
[06:05:38] [Server thread/CRITICAL]: #10 vendor/pocketmine/snooze/src/SleeperHandler(123): larryTheCoder\libs\poggit\libasynql\base\SqlThreadPool->larryTheCoder\libs\poggit\libasynql\base\{closure}()
[06:05:38] [Server thread/CRITICAL]: #11 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[06:05:38] [Server thread/CRITICAL]: #12 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1595829938.0784)
[06:05:38] [Server thread/CRITICAL]: #13 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[06:05:38] [Server thread/CRITICAL]: #14 src/pocketmine/Server(1588): pocketmine\Server->start()
[06:05:38] [Server thread/CRITICAL]: #15 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[06:05:38] [Server thread/CRITICAL]: #16 src/pocketmine/PocketMine(304): pocketmine\server()
[06:05:38] [Server thread/CRITICAL]: #17 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[06:05:38] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[06:05:38] [Server thread/EMERGENCY]: Please upload the "/home/container/crashdumps/Mon_Jul_27-06.05.38-UTC_2020.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[06:05:38] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/4404995 or use the ID #4404995.
In short, If one player dies by just falling into void. All have to die or the game will never stop
please fix this as soon as you can so I use it in my official Server.
Same Issue Here
Though I have to tell you, this plugin is very VERY bugged right now, I am not sure where to start fixing it. But this is actually a duplicate of #93
Although, it will be very useful if you paste these files here, because it literally contains everything about what you're doing
ok here 2020-07-27 test.txt 2020-07-27 Beast World.txt
I only have these two.
Well, this issue has been fixed, enabling spectate mode will cause this issue, try to disable that and try the game.
But If someone just fall into the void, The Game thinks that im still alive.
Ok Wait! I just saw You already Fixed it in DEV 63
I will check it and if it will work then I will close this issue
2020-07-28 test.txt Having Issue again in the latest Development version
I think you might need to set the server lobby spawn first with /sw setlobby
, the current commit might fix your issue 👍
I already Set the lobby but still an error. I think I must wait for it because I have found another plugin but SkyWarsForPE is better than it. So Whenever this plugin will be released (make sure you release it on poggit) I will use it in my Server. The SkyWars Plugin Im using now is very Basic but it dosent crashes the server. I swear I will use this plugin After its BETA stages.
Well, I'm not sure what is your issue is, and I am trying to patch them up, but that log only tells me what you're doing and not the error lol. Its really hard to add that error into the file. So can you also attach you server.log file?
My issue is fixed, I think.
Well, that explains why I don't get this issue anymore lol
when a player is dying or leaving the game, the arena is not stopping, I can still see the scoreboard and it also shows me my rank. and time is still going on. It shows my death message but still dosent stop the game,
This usually happens when a player wins without killing anyone. That player and the 2nd last player who had died by just falling to the void both have games running in the lobby and when the winner tries to committing a suicide to get out of the arena, the looser wins and the winner looses.