falkirks/iControlU

Update required

Subject-4 opened this issue · 2 comments

I use an All API Loader which makes old api plugin works, (i tested on some plugins) but when it tries to load this plugin, an error comes up and it crashes server
CRASH DUMP
PocketMine-MP Crash Dump Sat Jan 20 06:51:10 PST 2018

Error: Declaration of icontrolu\iControlU::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $cmd, $label, array $args) must be compatible with pocketmine\plugin\PluginBase::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool
File: iControlU_dev-4.phar/src/icontrolu/iControlU
Line: 21
Type: E_COMPILE_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN

Code:
[12] use pocketmine\event\player\PlayerAnimationEvent;
[13] use pocketmine\event\player\PlayerChatEvent;
[14] use pocketmine\event\player\PlayerDropItemEvent;
[15] use pocketmine\event\player\PlayerMoveEvent;
[16] use pocketmine\event\player\PlayerQuitEvent;
[17] use pocketmine\network\mcpe\protocol\AnimatePacket;
[18] use pocketmine\Player;
[19] use pocketmine\plugin\PluginBase;
[20]
[21] class iControlU extends PluginBase implements CommandExecutor, Listener{
[22] public $b;
[23] /** @var ControlSession[] /
[24] public $s;
[25] /
* @var InventoryUpdateTask */
[26] public $inv;
[27] public function onEnable(){
[28] $this->s = [];
[29] $this->b = [];
[30] $this->inv = new InventoryUpdateTask($this);
[31] $this->getServer()->getScheduler()->scheduleRepeatingTask($this->inv, 5);

Backtrace:

PocketMine-MP version: 1.7dev #634 [Protocol 160; API 3.0.0-ALPHA10]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux mcpe1.netherbox.com 2.6.32-042stab120.18 #1 SMP Fri Jan 13 10:32:04 MSK 2017 x86_64
PHP Version: 7.2.0RC3
Zend version: 3.2.0-dev
OS : Linux, linux

Loaded plugins:
Cameraman 1.1.0-4 by ChalkPE for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
CustomAlerts 1.7.2-3 by EvolSoft for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
EssentialsPE 2.0.0 by LegendsOfMCPE Team for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
NoTP 1.0.6-3 by awzaw for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
CustomSetting 1.0.1 by LeNick for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
WorldBorder 1 by CookieCode for API(s) 3.0.0, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
MagicWE2 5.7.1 by XenialDan for API(s) 3.0.0-ALPHA10
PEXProtection 0.1.1 by RevivalPMMP for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10
BasicHUD 1.0.6-3 by aliuly for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
fireworks 1.0.2 by XenialDan for API(s) 3.0.0-ALPHA10
Alias 1.2.0 by ZacHack for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
VoteReward 4.0.0-B1 by VMPE Development Team for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10
XBL_PlayerList 1.1 by TheRealLinuzo for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10
AntiSpam 1.3 by xBeastMode for API(s) 2.0.0, 3.0.0-ALPHA10
FormAPI 1.2.6 by VMPE Development Team for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
DevTools 1.12.8 by PocketMine Team for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
MagicTelePortal 1.3.2-4 by aliuly for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
MissedItems 1 by CookieCode for API(s) 3.0.0, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
Sizer 2.2.0 by CapricornOfLynx for API(s) 3.0.0-ALPHA10
MultiWorld 1.3.3 by CzechPMDevs, GamakCZ for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
TeaSpoon 1.0.0 by CortexPE for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10
AntiDupe 5.0.0-B1 by StrafelessPvP for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10
NoPvpFlight 1.2.6 by Array for API(s) 3.0.0, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
PurePerms 1.4.1-3 by 64FF00 & ProjectInfinity for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
Specter 0.4 by Falkirks for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10
RandomEnchant 2.0.1 by XenialDan for API(s) 3.0.0-ALPHA10

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

===BEGIN CRASH DUMP===
eNrdXAtz2ziS/isoOXWbTIm0Hn5qylvn2MrGu/ZYazmbqQ2nXBAJSYxJgkOQkpWp+e/X3QD4kpM4
mWTn7lKViYhHo7vR/XU3CM5vnTyMRWfU3+8f7O0fHx32uh2RZTLrjH7r5JsUujrju7Prq8nF5fhu
fHNzfdPpdmKhFF9g37nwI57xPJQJk3MW+jLJMxkVnhee6Z9vRiOZnMk45knwPJX+vcjjMBGe5+s2
zzOdU5EEImPPFP3bZZ8ay575cdBlzyI+E1GX8SzjG/aMZwv1gsWFytlMMJiTAmOzSLB1mC8b9NKo
WISJ503o35dcie/Epf7RZSrPwmTxKMMjNpMyAq3OwwhVWiruLh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SoJjMmQfMcMFXs0GjuxOmk6wajz5HLF3lGVCHO7SUegvljZVobUEqf4ijmTC
w9oM32HR0ZJ9dUolw2MRlZJPCveKKiU6isALTMCyyYoaYpiViQ3zm+FbWAxXJrxWq47Yq8vT29Hg
x8Pu/vFDvzt8GHYHP/Z/DCB90Zj/HL8u8BGZT456Ojzop719yms63Q59Do0q0p96QkxufjmKVtts
AdkSpaJmY+q3J6pfozAXw9Z3qPpb2FrLzIdscdlsw7dtScCzVqv5PyjUm4qsxcc8jOjyR6Mtb30N
u4hbDUtAZX1JDB7eK3O35oAe45l+N9iSDrKogO7111unk8u2WpK8xWG8Ac3Q17jmF8NbW/0BfpbL
HLynsN/b6x3Cz2cXsO+z4fHB8f6eELNB0A+ORXB43BvMjmZcDIaHs8HR4XzQ59DOngHtyZKUNjBf
hKRShQ8thszRJH0MXH4GfSPmkf00qSHlMpYtVSnCfPWITGGzLZf3ItF3OevNb6E4AUSmKzj6DuOG
09t3y/SHMNUXpvfdfuf33/8H4iBpAg==
===END CRASH DUMP===

If you have other errors just post them here or you are welcome to fix it yourself and PR

Okay, thanks