WolfDen133 / WFT-OLD

A custom floating text plugin for pocketmine 3.0.0 and up.
GNU General Public License v3.0
8 stars 0 forks source link

Crash issue #23

Closed praisur closed 3 years ago

praisur commented 3 years ago

well, the in-game plugin works normally. When I was creating a text and reached the limit of the chat, I thought about editing it via file, so far so good, the plugin didn’t stop working, but when I joined the game, some error made the game crash.

Note: I tried to write in many different ways. with (' & ") and also without, but the game continued to show errors.

WolfDen133 commented 3 years ago

Can you please copy-paste the error so I can see what exactly is wrong, because "some error" is a little bit vague

praisur commented 3 years ago

Can you please copy-paste the error so I can see what exactly is wrong, because "some error" is a little bit vague

[13:51:33] [Server thread/CRITICAL]: UnexpectedValueException: "RecursiveDirectoryIterator::construct(/home/container/plugin_data/Wolfies-FloatingText/fts/): failed to open dir: No such file or directory" (EXCEPTION) in "plugins/WFT (1).phar/src/WolfDen133/FloatingText/Main" at line 575 [13:51:33] [Server thread/CRITICAL]: #0 plugins/WFT (1).phar/src/WolfDen133/FloatingText/Main(575): RecursiveDirectoryIterator->__construct(string[53] /home/container/plugin_data/Wolfies-FloatingText/fts/) [13:51:33] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): WolfDen133\FloatingText\Main->onJoin(object pocketmine\event\player\PlayerJoinEvent) [13:51:33] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object WolfDen133\FloatingText\Main, object pocketmine\event\player\PlayerJoinEvent) [13:51:33] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent) [13:51:33] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Player(1089): pocketmine\event\Event->call() [13:51:33] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(310): pocketmine\Player->doFirstSpawn() [13:51:33] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [13:51:33] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [13:51:33] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [13:51:33] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [13:51:33] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/Player(3295): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [13:51:33] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [13:51:33] [Server thread/CRITICAL]: #12 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 191.7.222.69 10926, object raklib\protocol\EncapsulatedPacket, integer 0) [13:51:33] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [13:51:33] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [13:51:33] [Server thread/CRITICAL]: #15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [13:51:33] [Server thread/CRITICAL]: #16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications() [13:51:33] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/Server(2156): pocketmine\snooze\SleeperHandler->sleepUntil(double 1615470693.5232) [13:51:33] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor() [13:51:33] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start() [13:51:33] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [13:51:33] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server() [13:51:33] [Server thread/CRITICAL]: #22 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

WolfDen133 commented 3 years ago

Hmm, ill take a look an see what is happining, any extra information is very usefull, e.g. file/folder structure

praisur commented 3 years ago

Hmm, ill take a look an see what is happining, any extra information is very usefull, e.g. file/folder structure

I will recreate a new text and send it here, if you want prints add me to the discord: genzai#0001.

WolfDen133 commented 3 years ago

Hmm, ill take a look an see what is happining, any extra information is very usefull, e.g. file/folder structure

I will recreate a new text and send it here, if you want prints add me to the discord: genzai#1.

I tried your discord and it didnt work you can add me here though.

WolfDen133 commented 3 years ago

This, issue has said to be solved, I think.