Closed darkadams closed 4 years ago
Hi @darkadams this happenend while using the Festival menu i suppose, i will look into to this. what versions are u using? (pmmp and Festival) Could you check if this problem remains also with a recent dev version
Latest
On Fri, Jan 31, 2020, 12:50 PM Genboy notifications@github.com wrote:
Hi @darkadams https://github.com/darkadams this happenend while using the Festival menu i suppose, i will look into to this. what versions are u using? (pmmp and Festival)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/genboy/Festival/issues/269?email_source=notifications&email_token=AKYFL5452TBYMRWLSB7L6O3RARQHFA5CNFSM4KN6OT4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPOJAQ#issuecomment-580838530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYFL5YXX3SHGZI2CJTW2XTRARQHFANCNFSM4KN6OT4A .
From the log i guess the areas were already gone resulting in this error. (the offset:0 points to 0 areas) Could you elaborate a bit on what happened before this error took place?
Yes I made a new area then I tried to edit it and sudden everything stopped working and my areas were gone
On Fri, Jan 31, 2020, 5:58 PM Genboy notifications@github.com wrote:
From the log i guess the areas were already gone resulting in this error. (the offset:0 points to 0 areas) Could you elaborate a bit on what happened before this error took place?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/genboy/Festival/issues/269?email_source=notifications&email_token=AKYFL56WIQOLBUWH4KOMUR3RASUINA5CNFSM4KN6OT4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQI5IY#issuecomment-580947619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYFL52SMHD722QEY6HFU7TRASUINANCNFSM4KN6OT4A .
Hmmm, thats bad. I'll have to check each step to see where the code got stuck. So you use the UI to start creating an area; could you pinpoint wich step didn't go right; 1- hold magic item, select create area in the menu and then tab pos1 and pos2 (or rad/dia) 2 - then in the form add the area name and settings and save. 3- Then back to the UI menu and select manage area? 4 - select area to edit? 5 - enter settings and save?
Sp basically I didnt use the menu to do the pos1 and pos2 i just typed that in chat /pos1 and /pos2 then i did /area create spawn and then i did the menu command and tried to edit the flags for spawn from the menu and everything was good. But then i did the same thing for my second one which was named pvp u think and then i tried to edit the flag from menu but suddenly everything got messed up and I check the console and it showed errors which u sent u.
On Sat, Feb 1, 2020, 4:26 AM Genboy notifications@github.com wrote:
Hmmm, thats bad. I'll have to check each step to see where the code got stuck. So you use the UI to start creating an area; could you pinpoint wich step didn't go right; 1- hold magic item, select create area in the menu and then tab pos1 and pos2 (or rad/dia) 2 - then in the form add the area name and settings and save. 3- Then back to the UI menu and select manage area? 4 - select area to edit? 5 - enter settings and save?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/genboy/Festival/issues/269?email_source=notifications&email_token=AKYFL5YOBZ25ZTU72DLH7K3RAU55PA5CNFSM4KN6OT4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQYR4I#issuecomment-581011697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYFL533HYPRVWUCXRLEVRLRAU55PANCNFSM4KN6OT4A .
Thank you, i'm gonna check some code parts used in your actions and try to reproduce the error. Will let you know what i find.
Hi @darkadams i'm sorry but i was not able to reproduce this error/exception so it is very difficult to get to a solution. The area's data is saved in the areas.json file in the Festival plugin folder so there are many things that can cause this problem. I've just released an update, could you backup your areas.json, config.json and levels.json files and see the error comes back with this version 2.1.2?
Hi i'm closing this for now, please see if the latest dev version has the same problem. https://poggit.pmmp.io/ci/genboy/Festival/Festival
Idk what happened but my areas got deleted and this is what it shows in my console 23:45:25] [Server thread/CRITICAL]: ErrorException: "Undefined offset: 0" (EXCEPTION) in "plugins/Festival.phar/src/genboy/Festival/FormUI" at line 288
[23:45:25] [Server thread/DEBUG]: #0 plugins/Festival.phar/src/genboy/Festival/FormUI(288): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 0, string[75] phar:///home/minecraft/plugins/Festival.phar/src/genboy/Festival/FormUI.php, integer 288, array[4])
[23:45:25] [Server thread/DEBUG]: #1 plugins/Festival.phar/src/genboy/Festival/FormUI(364): genboy\Festival\FormUI->areaEditForm(object pocketmine\Player, array[1])
[23:45:25] [Server thread/DEBUG]: #2 plugins/Festival.phar/src/xenialdan/customui/Form(48): genboy\Festival\FormUI->genboy\Festival{closure}(object pocketmine\Player, array[1])
[23:45:25] [Server thread/DEBUG]: #3 src/pocketmine/Player(3639): xenialdan\customui\Form->handleResponse(object pocketmine\Player, array[1])
[23:45:25] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(265): pocketmine\Player->onFormSubmit(integer 2, array[1])
[23:45:25] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[23:45:25] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[23:45:25] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[23:45:25] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[23:45:25] [Server thread/DEBUG]: #9 src/pocketmine/Player(3276): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[23:45:25] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[23:45:25] [Server thread/DEBUG]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 24.193.71.235 38749, object raklib\protocol\EncapsulatedPacket, integer 0)
[23:45:25] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[23:45:25] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[23:45:25] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[23:45:25] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[23:45:25] [Server thread/DEBUG]: #16 src/pocketmine/Server(2406): pocketmine\snooze\SleeperHandler->sleepUntil(double 1580424325.195)
[23:45:25] [Server thread/DEBUG]: #17 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
[23:45:25] [Server thread/DEBUG]: #18 src/pocketmine/Server(1811): pocketmine\Server->start()
[23:45:25] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/minecraft/, string[24] /home/minecraft/plugins/)
[23:45:25] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(297): pocketmine\server()
,