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

* permission #102

Open
IonicSyz1823 opened this issue Apr 3, 2022 · 5 comments
Open

* permission #102

IonicSyz1823 opened this issue Apr 3, 2022 · 5 comments

Comments

@IonicSyz1823
Copy link

giving user * permission (/setuperm (player) *) crashed the server everytime players with * permission join the server

@zpwrd
Copy link

zpwrd commented Apr 3, 2022

Are you normal? You’re reporting about a problem and in issue you don’t providing any information about this issue, ex Plugin Version, Logs, Crashdump and more

@IonicSyz1823
Copy link
Author

Are you normal? You’re reporting about a problem and in issue you don’t providing any information about this issue, ex Plugin Version, Logs, Crashdump and more

listen up sherlock, I provided a step by step on how to produce the crash

@PushkarOP
Copy link

Are you normal? You’re reporting about a problem and in issue you don’t providing any information about this issue, ex Plugin Version, Logs, Crashdump and more

listen up sherlock, I provided a step by step on how to produce the crash

Provide crashdump too

@IonicSyz1823
Copy link
Author

Are you normal? You’re reporting about a problem and in issue you don’t providing any information about this issue, ex Plugin Version, Logs, Crashdump and more

listen up sherlock, I provided a step by step on how to produce the crash

Provide crashdump too

Error: Player is not connected
File: pmsrc/src/player/Player
Line: 540
Type: LogicException

Code:
[531] return $this->isConnected();
[532] }
[533]
[534] public function isConnected() : bool{
[535] return $this->networkSession !== null && $this->networkSession->isConnected();
[536] }
[537]
[538] public function getNetworkSession() : NetworkSession{
[539] if($this->networkSession === null){
[540] throw new \LogicException("Player is not connected");
[541] }
[542] return $this->networkSession;
[543] }
[544]
[545] /**
[546] * Gets the username
[547] */
[548] public function getName() : string{
[549] return $this->username;
[550] }

Backtrace:
#0 pmsrc/src/player/Player(1938): pocketmine\player\Player->getNetworkSession()
poggit-orphanage/PureChat#1 pmsrc/src/player/Player(1921): pocketmine\player\Player->sendTranslation(string[29] ..e%multiplayer.player.joined, array[1])
poggit-orphanage/PureChat#2 pmsrc/src/Server(1246): pocketmine\player\Player->sendMessage(object pocketmine\lang\Translatable#94183)
poggit-orphanage/PureChat#3 pmsrc/src/player/Player(820): pocketmine\Server->broadcastMessage(object pocketmine\lang\Translatable#94183)
poggit-orphanage/PureChat#4 pmsrc/src/network/mcpe/NetworkSession(713): pocketmine\player\Player->doFirstSpawn()
poggit-orphanage/PureChat#5 pmsrc/src/network/mcpe/NetworkSession(706): pocketmine\network\mcpe\NetworkSession->onClientSpawnResponse()
poggit-orphanage/PureChat#6 pmsrc/src/network/mcpe/handler/SpawnResponsePacketHandler(44): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe{closure}()
poggit-orphanage/PureChat#7 pmsrc/vendor/pocketmine/bedrock-protocol/src/SetLocalPlayerAsInitializedPacket(42): pocketmine\network\mcpe\handler\SpawnResponsePacketHandler->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#94188)
poggit-orphanage/PureChat#8 pmsrc/src/network/mcpe/NetworkSession(397): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\handler\SpawnResponsePacketHandlerhttps://github.com/poggit-orphanage/PureChat/pull/94159)
#9 pmsrc/src/network/mcpe/NetworkSession(360): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#94188, string[2] q.)
poggit-orphanage/PureChat#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[43] c*.7.....wN..>.......iY..a.(..302...z......)
poggit-orphanage/PureChat#11 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[52] ...f.6.X..........#@..$....../Z.".L..4.KU..Era..G..)
poggit-orphanage/PureChat#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#27627)
poggit-orphanage/PureChat#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}()
poggit-orphanage/PureChat#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
poggit-orphanage/PureChat#15 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1648537161.8612)
poggit-orphanage/PureChat#16 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor()
poggit-orphanage/PureChat#17 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
poggit-orphanage/PureChat#18 pmsrc/src/PocketMine(327): pocketmine\server()
poggit-orphanage/PureChat#19 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded plugins:
PureChat 2.0.2 by Vecnavium, 64FF00 for API(s) 4.0.0
PurePerms 2.0.1 by Vecnavium , 64FF00 & ProjectInfinity for API(s) 4.0.0

@DairyWeb3638077
Copy link

giving user * permission (/setuperm (player) *) crashed the server everytime players with * permission join the server

Works fine for me

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

4 participants