Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error When Player Exits Game and Lack of Warp. #32

Open
ZandercraftGames opened this issue Jul 10, 2021 · 0 comments
Open

Comments

@ZandercraftGames
Copy link

Description
When clicking on the sign to go to the arena, the player receives the items to play the game, but is not teleported to the arena world. The player is then kicked for an Internal Server Error if they run /kill to escape from that partial in-game state.

ERROR Stacktrace
The following error occurs immediately after the player runs /kill and is what kicks the player from the server:

[17:09:59] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\lang\BaseLang::translate() must be an instance of pocketmine\lang\TextContainer, string given, called in phar://C:/Users/j3zza/Desktop/Zandercraft PE/plugins/1vs1.phar/src/vixikhd/onevsone/arena/Arena.php on line 387" (EXCEPTION) in "pmsrc/src/pocketmine/lang/BaseLang" at line 143
[17:09:59] [Server thread/CRITICAL]: #0 plugins/1vs1.phar/src/vixikhd/onevsone/arena/Arena(387): pocketmine\lang\BaseLang->translate(string[0] )
[17:09:59] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): vixikhd\onevsone\arena\Arena->onDeath(object pocketmine\event\player\PlayerDeathEvent)
[17:09:59] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object vixikhd\onevsone\arena\Arena, object pocketmine\event\player\PlayerDeathEvent)
[17:09:59] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerDeathEvent)
[17:09:59] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Player(3859): pocketmine\event\Event->call()
[17:09:59] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/entity/Living(612): pocketmine\Player->onDeath()
[17:09:59] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Player(3848): pocketmine\entity\Living->kill()
[17:09:59] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/entity/Entity(982): pocketmine\Player->kill()
[17:09:59] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/entity/Living(145): pocketmine\entity\Entity->setHealth(double 0)
[17:09:59] [Server thread/CRITICAL]: #9 plugins/EssentialsPE_dev-3.phar/src/EssentialsPE/Commands/Override/Kill(57): pocketmine\entity\Living->setHealth(double 0)
[17:09:59] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/command/SimpleCommandMap(248): EssentialsPE\Commands\Override\Kill->execute(object pocketmine\Player, string[4] kill, array[0])
[17:09:59] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[4] kill)
[17:09:59] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/Player(2353): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[4] kill)
[17:09:59] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[5] /kill)
[17:09:59] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[17:09:59] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:09:59] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[17:09:59] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:09:59] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/Player(3325): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:09:59] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:09:59] [Server thread/CRITICAL]: #20 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[15] 127.0.0.1 54752, object raklib\protocol\EncapsulatedPacket, integer 0)
[17:09:59] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[17:09:59] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[17:09:59] [Server thread/CRITICAL]: #23 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[17:09:59] [Server thread/CRITICAL]: #24 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[17:09:59] [Server thread/CRITICAL]: #25 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1625954999.6249)
[17:09:59] [Server thread/CRITICAL]: #26 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[17:09:59] [Server thread/CRITICAL]: #27 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[17:09:59] [Server thread/CRITICAL]: #28 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[38] C:\Users\j3zza\Desktop\Zandercraft PE\, string[46] C:\Users\j3zza\Desktop\Zandercraft PE\plugins\)
[17:09:59] [Server thread/CRITICAL]: #29 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
[17:09:59] [Server thread/CRITICAL]: #30 pmsrc(11): require(string[93] phar://C:/Users/j3zza/Desktop/Zandercraft PE/PocketMine-MP.phar/src/pocketmine/P)
@ZandercraftGames ZandercraftGames changed the title Server Crash And Lack of Function Server Crash And Lack of Warp Jul 10, 2021
@ZandercraftGames ZandercraftGames changed the title Server Crash And Lack of Warp Internal Server Error When Player Exits Game and Lack of Warp. Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant