Muqsit / Tebex

Tebex plugin for PocketMine-MP servers
https://poggit.pmmp.io/ci/Muqsit/Tebex
32 stars 6 forks source link

Crash when a player purchases a rank #9

Closed UnEnanoMas closed 3 years ago

UnEnanoMas commented 3 years ago

All the ranges I have put have a money amount and the / setgroup of pureperms

Apparently there is a problem with EconomyAPI and it gave me an error

[18:42:34] [Server thread/INFO]: FastestSeal8851 ha sido añadido al grupo.
[18:42:34] [Server thread/INFO]: Executed online command #352011217: setgroup "FastestSeal8851" Hades
[18:42:34] [Server thread/CRITICAL]: ErrorException: "Undefined index: tebex" (EXCEPTION) in "plugins/EconomyAPI (2).phar/src/onebone/economyapi/EconomyAPI" at line 103
[18:42:34] [Server thread/CRITICAL]: #0 plugins/EconomyAPI (2).phar/src/onebone/economyapi/EconomyAPI(103): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[22] Undefined index: tebex, string[120] phar:///plugins/EconomyAPI (2).ph, integer 103, array[3])
[18:42:34] [Server thread/CRITICAL]: #1 plugins/EconomyAPI (2).phar/src/onebone/economyapi/command/GiveMoneyCommand(48): onebone\economyapi\EconomyAPI->getMessage(string[20] givemoney-gave-money, array[2], string[5] tebex)
[18:42:34] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/command/SimpleCommandMap(248): onebone\economyapi\command\GiveMoneyCommand->execute(object muqsit\tebex\handler\command\TebexCommandSender, string[9] givemoney, array[0])
[18:42:34] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object muqsit\tebex\handler\command\TebexCommandSender, string[33] givemoney "FastestSeal8851" 20000)
[18:42:34] [Server thread/CRITICAL]: #4 plugins/Tebex-master/src/muqsit/tebex/handler/due/session/TebexPlayerSession(93): pocketmine\Server->dispatchCommand(object muqsit\tebex\handler\command\TebexCommandSender, string[33] givemoney "FastestSeal8851" 20000)
[18:42:34] [Server thread/CRITICAL]: #5 plugins/Tebex-master/src/muqsit/tebex/handler/due/session/TebexPlayerSession(59): muqsit\tebex\handler\due\session\TebexPlayerSession->instantlyExecuteOnlineCommand(object muqsit\tebex\api\queue\commands\online\TebexQueuedOnlineCommand, object muqsit\tebex\api\queue\TebexDuePlayer)
[18:42:34] [Server thread/CRITICAL]: #6 plugins/Tebex-master/src/muqsit/tebex/handler/due/TebexDueCommandsHandler(100): muqsit\tebex\handler\due\session\TebexPlayerSession->executeOnlineCommand(object muqsit\tebex\api\queue\commands\online\TebexQueuedOnlineCommand, object muqsit\tebex\api\queue\TebexDuePlayer, object Closure)
[18:42:34] [Server thread/CRITICAL]: #7 plugins/Tebex-master/src/muqsit/tebex/thread/response/TebexResponseSuccessHolder(34): muqsit\tebex\handler\due\TebexDueCommandsHandler->muqsit\tebex\handler\due\{closure}(object muqsit\tebex\api\queue\commands\online\TebexQueuedOnlineCommandsInfo)
[18:42:34] [Server thread/CRITICAL]: #8 plugins/Tebex-master/src/muqsit/tebex/thread/TebexThread(233): muqsit\tebex\thread\response\TebexResponseSuccessHolder->trigger(object muqsit\tebex\thread\response\TebexResponseHandler)
[18:42:34] [Server thread/CRITICAL]: #9 plugins/Tebex-master/src/muqsit/tebex/thread/TebexThreadPool(92): muqsit\tebex\thread\TebexThread->collectPending()
[18:42:34] [Server thread/CRITICAL]: #10 plugins/Tebex-master/src/muqsit/tebex/thread/TebexThreadPool(26): muqsit\tebex\thread\TebexThreadPool->collectThread(object muqsit\tebex\thread\TebexThread)
[18:42:34] [Server thread/CRITICAL]: #11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): muqsit\tebex\thread\TebexThreadPool->muqsit\tebex\thread\{closure}()
[18:42:34] [Server thread/CRITICAL]: #12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[18:42:34] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1619975473.0502)
[18:42:34] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[18:42:34] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[18:42:34] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[48] /, string[56] /plugins/)
[18:42:34] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
[18:42:34] [Server thread/CRITICAL]: #18 pmsrc(11): require(string[103] phar:///custom-php7.4.phar/src/po)
UnEnanoMas commented 3 years ago

Dev 19 - API 3

Muqsit commented 3 years ago

Yeah, this is indeed a bug with EconomyAPI, send them this report.