dutok / SimpleMessages

Simple auto message broadcasting for PocketMine
MIT License
3 stars 7 forks source link

Pls fix the crashes! #7

Open ZGamerOficial opened 9 years ago

ZGamerOficial commented 9 years ago

PocketMine-MP Crash Dump Sat Aug 29 03:47:19 UTC 2015

Error: mkdir(): File exists File: /plugin-662.phar/src/SimpleMessages/SimpleMessages Line: 19 Type: E_WARNING

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: SimpleMessages v1.2

Code: [10] use pocketmine\plugin\PluginBase; [11] use pocketmine\utils\Config; [12] use pocketmine\utils\TextFormat; [13] [14] class SimpleMessages extends PluginBase{ [15] [16] public $configFile; [17] [18] public function onEnable(){ [19] @mkdir($this->getDataFolder()); [20] $this->configFile = (new Config($this->getDataFolder()."config.yml", Config::YAML, array( [21] "messages" => array( [22] "message1", [23] "message2", [24] "message3", [25] "message1", [26] "message2", [27] "message3" [28] ), [29] "time" => "30",

Backtrace:

0 (): pocketmine\Server->crashDump()

PocketMine-MP version: 1.5dev #1258 [Protocol 27; API 1.12.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux localhost 3.4.67 #1 SMP PREEMPT Tue Sep 2 23:33:35 CST 2014 armv7l PHP Version: 5.6.2 Zend version: 2.6.0 OS : Linux, android

Loaded plugins: EconomyAPI 2.0.8 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyAuction 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyCasino 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyJob 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyLand 2.0.8 by onebone for API(s) 1.12.0 EconomyProperty 2.0.5 by onebone for API(s) 1.12.0 EconomySell 2.0.6 by onebone for API(s) 1.12.0 EconomyShop 2.0.6 by onebone for API(s) 1.12.0 EconomyTax 2.0.3 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyUsury 1.0.1 by onebone for API(s) 1.12.0 SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0 CombatLogger 1.2.0 by Lambo for API(s) 1.12.0 PurePerms 1.1.10 by 64FF00 for API(s) 1.12.0 AdminFun 0.1#dev57 by hoyinm14mc for API(s) 1.12.0 iProtector 3.1a by LDX for API(s) 1.9.0 BanItem 2.1 by LDX for API(s) 1.0.0 TimeCommander 2 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0 ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0 ItemCloud 1.3 by onebone for API(s) 1.4.0 VoteBan 1.0.3 by GmWM for API(s) 1.12.0 ManyWorlds 2.0.2 by aliuly for API(s) 1.10.0 KitPro 4.1 by for API(s) 1.10.0 TimerBan 2.1 by onebone for API(s) 1.2.0, 1.2.1 AdvertisingKick 1.0.0 by for API(s) 1.0.0 ColorMatch 1.1.2 by CreeperFace for API(s) 1.12.0 CustomAlerts 1.6 by EvolSoft for API(s) 1.12.0 EssentialsPE 1.1.2 by LegendsOfMCPE Team for API(s) 1.12.0 MoreCommands 1.1.3 by for API(s) 1.10.0, 1.11.0, 1.12.0 DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1 NoVoid 0.3 by rirititi for API(s) 1.0.0 VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0 LimitedCreative 1.0.0 by basprohop for API(s) 1.10.0 SimpleMessages 1.2 by Dutok for API(s) 1.0.0 SignStatus 2.1 by xpyctum for API(s) 1.0.0 SimpleAuthHelper 2.0.1 by aliuly for API(s) 1.12.0 VIPSlots 0.0.4 by iJoshuaHD for API(s) 1.12.0 MSpawns 1.5 by EvolSoft for API(s) 1.11.0 EconomyAirport 2.0.4 by onebone for API(s) 1.12.0 EconomyPShop 2.0.1 by onebone for API(s) 1.12.0 PureChat 1.3.0 by 64FF00 for API(s) 1.11.0 KillRate 2.0.0 by aliuly for API(s) 1.12.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP=== eNrVXI1z2zay/1cwcmcufiPJ+vSHOu57Pttpc2cnepFzuTflTQYiIYkxSbAEaFnt9H9/uwuQBGnF kWPf9Oq0Y3EJLPa33wAp/9bSYSxak/5o1Dse9HrDk3ZLZJnMWpPfWnqTwq3W5aePZ+/fvnn7Y6vd ioVSfInU+DYIs1f7E/Y6jAQT96HSCgYs4AruHqRRvgyTzuHhoJuueHagMv9gFsZpJK4NC9W4hLlR mKAoJ7+3W2Y6MHowyJeBQOH6PbibK8FS6d8KHcNczzPTPG9Kv//KlfgepvT7W4bmOoyU553LZBEu adTgy6NuxL1+LbOYaxo5hJH4ewS//Ygrxepigjq0SALFKjl+w/FjO+8QfjP4SfN5FPrsO5+EQEUS +yM77Lg+bJEnvg5lwmRymfB5JF7tE9cTOwx//seY5Tu9ClXnh6XQF1zz1zIKBNhqH7kPes5wO65a n52yV4lYM6OWL/Dpei0zo7uJI6/VtqMnk/87u75qM55lfPMKl+o7S+GPV/iP8lrs9Adn5KAxsja6 D2vgoOFjgwZ20OixQUM7aLzLcoe7LHf0leVwzHFjzD7NPHmgHAxFoxivNezhAhAJOuM+OPzPrb0e w3BzvXMmsjuRgf0yrlYXeZy+2m/9q91aikRkPMIogdsKXAaW6nfHgbgDnvM8jAIIs8H4GOIsk1r6 EsYOjtotnoY0sj/o9mDkMtRw2dvxByZk/DYK5zine0Qc8oRjdmldhUl+zyLp82gllWbD7qh7eMT2 +mx2PWXT95eX19MbdpMLNhMpG7DBcDKE/8bsfHbDBr3+CFwlvjuKgGW6SoHhuHvYHcDVrxBmcDmA y565+UmqYkEg0AVPgkyGQavMKwpVcwk+LOPN2fQNXllBHWLb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QtQNtSnBOs8DrKl1Rxqc5cJsw9InB4ih4ZTaVPg ioRnuaGFzO2Cv2ooBR9FblFJFEK5MVa5vOdYb80FNizA3woxKaShW+DsuFOesJ/xYweKTJu2zv9C jiYLFm2Ie9pKIIr9gtm0FcfXtBvbdnhLm1uqYoo6BoQdQyMRgqC2xDui06okAH1ieNqNoUslqVpt wvDIezL4/qg9Prnvt4f3w/bg+/73AVRik7Ve4TMZHzPM6XGPLcG/lbkajffpcJv+JAUqhB5Ln0Md cr5GH9BDr/ISysGyNaGQabdSH4faC/VLFGoxNF/x75g/KPCr+c6/eVln7kNfsyrH48FpEvCsIpg/ KlJc5VlUXizCSOMrD/j1FPMG0EKn5d1lXH1eQfSaV21g0GdVfh8Jn8LGc3OWWw6GnnCT6gqB5ihQ 4MCdTa9oVfyc+tDLVXM3AJj+woD9xMb4sLePyFkHH0sNeuPeED5+9wbsthgeDQUfB8F4PDw+OuyP eof8uDcY8NH8mA+PRqP+8Xww6gn2Haw0XaFaypexU6nC+0rpdrNePF5GoO/Fwu40gUrrHYvxwufQ qY5g2d7i6Mg/Oj4+HI9h6eHJYCiGvfnJ0UkQ0HpqFctKhYoCS9WRhkb5MFjLW5FAnclKykfBbyEj GEXRmwsbTg9J6OtT6AZhWvzxiFHr99//Hyv1YrY= ===END CRASH DUMP===

eqMFqfFd commented 7 years ago

I think you should learn the @ symbol usage in PHP. Once ready, submit a Pull Request.

☆∂єvєlσρєя☆ кєνιи αи∂яєωѕ

legoboy0215 commented 7 years ago

Please read the date that the issue was posted on...

Feluu commented 7 years ago

https://github.com/Rysieku/SimpleMessages

eqMFqfFd commented 7 years ago
if(!file_exists($this->getDataFolder())){
  @mkdir($this->getDataFolder());
}

# Best Regards, / Kevin Andrews