Infernus101 / KitUI

Advance AdvancedKits! Select Kits from a form, just do /kit and get kits info and select it if available! For Minecraft Bedrock Edition!
GNU General Public License v3.0
44 stars 33 forks source link

Could not pass player interact event! #9

Closed nasiridrishi closed 7 years ago

nasiridrishi commented 7 years ago

KitUI Issue

Issue description

... Cant select kits!

Reproducing the issue

  1. Do /kit
  2. Kits list appears
  3. Select a kit !
  4. shows nothing!

Client information

PocketMine-MP Version: (insert commit hash here) MCPE Version: (insert game version here) Plugin Version: (insert commit hash here) PHP version: 7.2

Optional information

...

 [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'KitUI v1.0.0': Undefined variable: info on Infernus101\KitUI\PlayerEvents
[23:04:58] [Server thread/CRITICAL]: ErrorException: "Undefined variable: info" (EXCEPTION) in "KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitInfo" at line 24
[23:04:58] [Server thread/DEBUG]: #0 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitInfo(24): pocketmine\error_handler(integer 8, string Undefined variable: info, string phar://C:/Users/Nasir Husain/Desktop/test2/plugins/KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitInfo.php, integer 24, array Array())
[23:04:58] [Server thread/DEBUG]: #1 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Window(23): Infernus101\KitUI\UI\windows\KitInfo->process()
[23:04:58] [Server thread/DEBUG]: #2 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Handler(31): Infernus101\KitUI\UI\Window->__construct(Infernus101\KitUI\Main object, pocketmine\Player object)
[23:04:58] [Server thread/DEBUG]: #3 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Handler(24): Infernus101\KitUI\UI\Handler->getWindow(integer 1, Infernus101\KitUI\Main object, pocketmine\Player object)
[23:04:58] [Server thread/DEBUG]: #4 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Window(49): Infernus101\KitUI\UI\Handler->getWindowJson(integer 1, Infernus101\KitUI\Main object, pocketmine\Player object)
[23:04:58] [Server thread/DEBUG]: #5 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitMainMenu(35): Infernus101\KitUI\UI\Window->navigateKit(integer 1, pocketmine\Player object, Infernus101\KitUI\UI\Handler object, string Visitor)
[23:04:58] [Server thread/DEBUG]: #6 KitUI_dev-15.phar/src/Infernus101/KitUI/PlayerEvents(47): Infernus101\KitUI\UI\windows\KitMainMenu->handle(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
[23:04:58] [Server thread/DEBUG]: #7 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\KitUI\PlayerEvents->onDataPacket(pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #8 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\KitUI\PlayerEvents object, pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
[23:04:58] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[23:04:58] [Server thread/DEBUG]: #13 src/pocketmine/Player(3011): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[23:04:58] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[23:04:58] [Server thread/DEBUG]: #15 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.1.100:62325, raklib\protocol\EncapsulatedPacket object, integer 0)
[23:04:58] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(84): raklib\server\ServerHandler->handlePacket()
[23:04:58] [Server thread/DEBUG]: #17 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
[23:04:58] [Server thread/DEBUG]: #18 src/pocketmine/Server(2518): pocketmine\network\Network->processInterfaces()
[23:04:58] [Server thread/DEBUG]: #19 src/pocketmine/Server(2274): pocketmine\Server->tick()
[23:04:58] [Server thread/DEBUG]: #20 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
[23:04:58] [Server thread/DEBUG]: #21 src/pocketmine/Server(1731): pocketmine\Server->start()
[23:04:58] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(564): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar/, string C:\Users\Nasir Husain\Desktop\test2\, string C:\Users\Nasir Husain\Desktop\test2\plugins\)
[23:04:58] [Server thread/DEBUG]: #23 C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar(1): require(string phar://C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[23:04:58] [Server thread/DEBUG]: Unhandled ModalFormResponsePacket received from optimusprime338: 0x650000801902300a

Config

...

Infernus101 commented 7 years ago

Try latest commit

nasiridrishi commented 7 years ago

tnxs