benda95280 / MyFish

Fishing plugin for PocketMine
12 stars 4 forks source link

Server Crash 1.16 #5

Closed MonoAdrian23 closed 4 years ago

MonoAdrian23 commented 4 years ago

PocketMine-MP Crash Dump Wed Jul 1 11:03:42 +07 2020

Error: file_put_contents(/home/minecraft/plugin_data/Fishing/level.yml): failed to open stream: No such file or directory File: src/pocketmine/utils/Config Line: 241 Type: ErrorException

A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: Fishing v0.3

Code:

Backtrace:

0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[114] file_put_contents(/home/minecraft/plugin_data/Fishing/level.yml): failed to open, string[70] phar:///home/minecraft/pocketmine.phar/src/pocketmine/utils/Config.php, integer 241, array[1])

1 src/pocketmine/utils/Config(241): file_put_contents(string[45] /home/minecraft/plugin_data/Fishing/level.yml, string[79] ---.logischerdaum: 49.viewablefiber98: 6.itzcookietv: 3.mandarinegustav: 5.....)

2 plugins/MyFish.phar/src/Fishing/utils/FishingLevel(63): pocketmine\utils\Config->save()

3 plugins/MyFish.phar/src/Fishing/utils/FishingLevel(26): Fishing\utils\FishingLevel::saveConfig()

4 src/pocketmine/scheduler/TaskHandler(134): class@anonymousphar:///home/minecraft/plugins/MyFish.phar/src/Fishing/utils/FishingLevel.php0x7f4fdc98c29b->onRun(integer 1606801)

5 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 1606801)

6 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1606801)

7 src/pocketmine/Server(2388): pocketmine\plugin\PluginManager->tickSchedulers(integer 1606801)

8 src/pocketmine/Server(2151): pocketmine\Server->tick()

9 src/pocketmine/Server(1991): pocketmine\Server->tickProcessor()

10 src/pocketmine/Server(1585): pocketmine\Server->start()

11 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/minecraft/, string[24] /home/minecraft/plugins/)

12 src/pocketmine/PocketMine(296): pocketmine\server()

13 (11): require(string[68] phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php)

PocketMine-MP version: 3.13.0 [Protocol 390] Git commit: 323d96d5c19c518aa168fcace2fd2f2f723cc7dc uname -a: Linux 8d10e7954726 5.4.0-0.bpo.4-amd64 #1 SMP Debian 5.4.19-1~bpo10+1 (2020-03-09) x86_64 PHP Version: 7.3.16 Zend version: 3.3.16 OS : Linux, linux Composer libraries:

benda95280 commented 4 years ago

Dear MonoAdrian23,

I've just take a look, file is automaticaly created on my side (Windows PMMP Server, 3.14) Is the 'Fishing' folder or level.yml file existing ?

A new update will be pushed with some fixe and feature too, and i hope to release it today.

MonoAdrian23 commented 4 years ago

Yes level.yml is existing

benda95280 commented 4 years ago

Is level file exactly here ? : /home/minecraft/plugin_data/Fishing/level.yml With the same name (Upper/lower case ?)

If yes, are you still having the issue after a restart of the server ?

MonoAdrian23 commented 4 years ago

No It works now, i test it a few times

MonoAdrian23 commented 4 years ago

But in Latest Dev 11 My language has changed xd

benda95280 commented 4 years ago

I'm happy to read it works now :) About the language, i've finished new features, and i'm going to add a config file for the language, update on the way

MonoAdrian23 commented 4 years ago

And at next No more loot IT says that bites a fish in another language but there is no Loot

benda95280 commented 4 years ago

Next update will come today (Current language is french :smile: ) You will have more information on features in that plugin, and have ability to set your own language :)

MonoAdrian23 commented 4 years ago

Yes German language is my dream

MonoAdrian23 commented 4 years ago

And thanks for youre hard Work at this plugin! Its very useful

benda95280 commented 4 years ago

New update are out, need some testing and corrections, but should works.

MonoAdrian23 commented 4 years ago

Yes works great Only a fish bites text is not configurable Italy xd

benda95280 commented 4 years ago

Will try to put this text in config file

benda95280 commented 4 years ago

I close this issue, has it seems to be resolved.