Closed StringerJ closed 5 years ago
Thank you for reporting! The code shows an error i have to check, to fix the UI. The resseting of variables/config file and areas is a bit strange, trying to find out what happens. Could you please check after install/restart to remove config.yml and make sure no file is in the resources folder. There should be only areas.json, config.json and level.json. Maybe this might have something todo with file permissions, i should test that also. I will try to find time to fix this next couple of days. Thank for your patience
I noticed same issue but only when I was using PocketMine App so it may be the issue
Hi @StringerJ, i have not been able to reproduce this with Festival_dev-99 but looking at the code there there always is something i can improve. ie. the code uses a list of level names, extracted from the worlds-folder in the server. Maybe the code has a problem reaching the folder names inside the worlds-folder. Can you tell what php/server you use and what kind of levels ( kopies/pmmp plugin created)?
@dearminder Maybe Festival also needs to expend in code consistency towards apps like Pocketmine app
i have the fix: the fix on this issue is that the world is more than likely to have been renamed after being created. rename the world back to it's original name then try again. should fix this issue.
@dearminder @genboy
Configs Reset, and internal errors when using UI specfically level management. Anytime world is reloaded or server is reset the configs reset. UI INTERNAL ERROR: [22:37:57] [Server thread/CRITICAL]: TypeError: "Argument 3 passed to xenialdan\customui\CustomForm::addDropdown() must be of the type integer or null, boolean given, called in phar://C:/Users/Jesse/Desktop/BlastCraftPE/plugins/Festival_dev-99 (1).phar/src/genboy/Festival/FormUI.php on line 928" (EXCEPTION) in "plugins/Festival_dev-99 (1).phar/src/xenialdan/customui/CustomForm" at line 110 [22:37:57] [Server thread/DEBUG]: #0 plugins/Festival_dev-99 (1).phar/src/genboy/Festival/FormUI(928): xenialdan\customui\CustomForm->addDropdown(string[12] Level select, array[2], boolean , string[13] selectedLevel) [22:37:57] [Server thread/DEBUG]: #1 plugins/Festival_dev-99 (1).phar/src/genboy/Festival/FormUI(70): genboy\Festival\FormUI->levelForm(object pocketmine\Player) [22:37:57] [Server thread/DEBUG]: #2 plugins/Festival_dev-99 (1).phar/src/xenialdan/customui/Form(48): genboy\Festival\FormUI->genboy\Festival{closure}(object pocketmine\Player, integer 3) [22:37:57] [Server thread/DEBUG]: #3 src/pocketmine/Player(3462): xenialdan\customui\Form->handleResponse(object pocketmine\Player, integer 3) [22:37:57] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(260): pocketmine\Player->onFormSubmit(integer 0, integer 3) [22:37:57] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [22:37:57] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [22:37:57] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [22:37:57] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [22:37:57] [Server thread/DEBUG]: #9 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [22:37:57] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [22:37:57] [Server thread/DEBUG]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 199.190.60.108 64900, object raklib\protocol\EncapsulatedPacket, integer 0) [22:37:57] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [22:37:57] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [22:37:57] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [22:37:57] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [22:37:57] [Server thread/DEBUG]: #16 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1564720677.4913) [22:37:57] [Server thread/DEBUG]: #17 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor() [22:37:57] [Server thread/DEBUG]: #18 src/pocketmine/Server(1784): pocketmine\Server->start() [22:37:57] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[36] C:\Users\Jesse\Desktop\BlastCraftPE\, string[44] C:\Users\Jesse\Desktop\BlastCraftPE\plugins) [22:37:57] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(299): pocketmine\server()