poggit-orphanage / PurePerms

Manage your permissions like you did on Bukkit. The best permissions manager for PocketMine-MP.
https://github.com/PurePlugins/PurePerms
GNU General Public License v3.0
22 stars 42 forks source link

* permission #102

Open IonicSyz1823 opened 2 years ago

IonicSyz1823 commented 2 years ago

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

zpwrd commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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()

https://github.com/poggit-orphanage/PureChat/issues/1 pmsrc/src/player/Player(1921): pocketmine\player\Player->sendTranslation(string[29] ..e%multiplayer.player.joined, array[1]) https://github.com/poggit-orphanage/PureChat/issues/2 pmsrc/src/Server(1246): pocketmine\player\Player->sendMessage(object pocketmine\lang\Translatable#94183) https://github.com/poggit-orphanage/PureChat/pull/3 pmsrc/src/player/Player(820): pocketmine\Server->broadcastMessage(object pocketmine\lang\Translatable#94183) https://github.com/poggit-orphanage/PureChat/pull/4 pmsrc/src/network/mcpe/NetworkSession(713): pocketmine\player\Player->doFirstSpawn() https://github.com/poggit-orphanage/PureChat/issues/5 pmsrc/src/network/mcpe/NetworkSession(706): pocketmine\network\mcpe\NetworkSession->onClientSpawnResponse() https://github.com/poggit-orphanage/PureChat/issues/6 pmsrc/src/network/mcpe/handler/SpawnResponsePacketHandler(44): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe{closure}() https://github.com/poggit-orphanage/PureChat/issues/7 pmsrc/vendor/pocketmine/bedrock-protocol/src/SetLocalPlayerAsInitializedPacket(42): pocketmine\network\mcpe\handler\SpawnResponsePacketHandler->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#94188) https://github.com/poggit-orphanage/PureChat/issues/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.)

https://github.com/poggit-orphanage/PureChat/issues/10 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[43] c*.7.....wN..>.......iY..a.(..302...z......) https://github.com/poggit-orphanage/PureChat/issues/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..) https://github.com/poggit-orphanage/PureChat/issues/12 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#27627) https://github.com/poggit-orphanage/PureChat/issues/13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}() https://github.com/poggit-orphanage/PureChat/pull/14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() https://github.com/poggit-orphanage/PureChat/issues/15 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1648537161.8612) https://github.com/poggit-orphanage/PureChat/issues/16 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor() https://github.com/poggit-orphanage/PureChat/issues/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/) https://github.com/poggit-orphanage/PureChat/issues/18 pmsrc/src/PocketMine(327): pocketmine\server() https://github.com/poggit-orphanage/PureChat/issues/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 commented 2 years ago

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

Works fine for me