Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FE Areas not saving/deleting on restart. #232

Closed
itzfrozt opened this issue Aug 31, 2019 · 4 comments
Closed

FE Areas not saving/deleting on restart. #232

itzfrozt opened this issue Aug 31, 2019 · 4 comments
Labels
good first issue Good for newcomers wontfix This will not be worked on

Comments

@itzfrozt
Copy link

whenever i go to restart my server, the Festival Areas keep deleting automatically. I don't configure anything but i save the server, stop it, start it back up and the area is no longer there.

@itzfrozt
Copy link
Author

and unable to use certain menu items : error:

[05:25:09] [Server thread/CRITICAL]: TypeError: "Argument 3 passed to xenialdan\customui\CustomForm::addDropdown() must be of the type integer or null, boolean given, called in F:\Users\vital\Desktop\loltest2\plugins\Festival-master\src\genboy\Festival\FormUI.php on line 931" (EXCEPTION) in "plugins/Festival-master/src/xenialdan/customui/CustomForm" at line 110
[05:25:09] [Server thread/DEBUG]: #0 plugins/Festival-master/src/genboy/Festival/FormUI(931): xenialdan\customui\CustomForm->addDropdown(string[12] Level select, array[1], boolean , string[13] selectedLevel)
[05:25:09] [Server thread/DEBUG]: #1 plugins/Festival-master/src/genboy/Festival/FormUI(72): genboy\Festival\FormUI->levelForm(object pocketmine\Player)
[05:25:09] [Server thread/DEBUG]: #2 plugins/Festival-master/src/xenialdan/customui/Form(48): genboy\Festival\FormUI->genboy\Festival{closure}(object pocketmine\Player, integer 3)
[05:25:09] [Server thread/DEBUG]: #3 src/pocketmine/Player(3462): xenialdan\customui\Form->handleResponse(object pocketmine\Player, integer 3)
[05:25:09] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(260): pocketmine\Player->onFormSubmit(integer 0, integer 3)
[05:25:09] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[05:25:09] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[05:25:09] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[05:25:09] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[05:25:09] [Server thread/DEBUG]: #9 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[05:25:09] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[05:25:09] [Server thread/DEBUG]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 68.44.7.187 58073, object raklib\protocol\EncapsulatedPacket, integer 0)
[05:25:09] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[05:25:09] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[05:25:09] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[05:25:09] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[05:25:09] [Server thread/DEBUG]: #16 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1567247109.1454)
[05:25:09] [Server thread/DEBUG]: #17 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
[05:25:09] [Server thread/DEBUG]: #18 src/pocketmine/Server(1784): pocketmine\Server->start()
[05:25:09] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[32] F:\Users\vital\Desktop\loltest2, string[40] F:\Users\vital\Desktop\loltest2\plugins)
[05:25:09] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(299): pocketmine\server()
[05:25:09] [Server thread/DEBUG]: #21 (1): require(string[87] phar://F:/Users/vital/Desktop/loltest2/PocketMine-MP.phar/src/pocketmine/PocketM)

@itzfrozt
Copy link
Author

Figured it out. I renamed a world from "spawn2" to "world" making it the original world. it was still loading into the server as "spawn2" instead of "world" so every time i went into the menu, it wasn't loading as "world" and was conflicting.

@genboy
Copy link
Owner

genboy commented Aug 31, 2019

@itzfrozt Thank you for your complete issue report. Good move to fix the level name!

When installed there is the plugins/Festival/areas.json file. For future problem solving check if it is there, and in the source (arrays) you be able to see the "level": variable to check in what level the area is used.

@genboy genboy added good first issue Good for newcomers wontfix This will not be worked on labels Aug 31, 2019
@itzfrozt
Copy link
Author

the issue wasn't the plugin itself as to the server thinking that the map file's default name was "spawn2" instead of "world" in which it did not save any of the areas to the areas.json @genboy

@genboy genboy closed this as completed Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants