Closed MrDoni98 closed 8 years ago
hule tak?
xz
в нагрузку )) Error: "Call to undefined method pocketmine\network\rcon\RCONInstance::kill()" (EXCEPTION) in "/src/pocketmine/network/rcon/RCON" at line 74 [20:15:50] [Server thread/EMERGENCY]: Crashed while crashing, killing process
@xpyctum я помню, что ты делал коммит где добавлял перед переменными в функциях указатели на тип данных. Я так делать не советую, так как вот тебе пример тому. Так же после таких указателей множество поагинов не работают. Указатели необязательны в пхп7.
I think this is caused by a plugin.
@PeratX Error: Argument 1 passed to pocketmine\item\Item::get() must be of the type integer, string given, called in /root/classic/src/pocketmine/nbt/NBT.php on line 111 File: /src/pocketmine/item/Item Line: 1147 Type: notice
Code: [1138] foreach(Item::$creative as $i => $d){ [1139] if($item->equals($d, !$item->isTool())){ [1140] return $i; [1141] } [1142] } [1143] [1144] return -1; [1145] } [1146] [1147] public static function get(int $id, $meta = 0, int $count = 1, $tags = "") : Item{
What plugins do you use?
EconomyAPI v2.0.8, EconomySell v2.0.6, EconomyShop v2.0.6, EconomyJob v2.0.4, ServerAuth v0.1, PurePerms v1.2.2, vgapi v0.1 beta, RegionGuard vultra, AdvancedKits v4.1, PureChat v1.3.4-INDEV
Do you know when it happens?
when a player is teleported to spawn
Ok move all you're plugins to a directory outside the server directory but keep vgapi and RegionGuard. And look if the crash is still happening
And run yours server without plugins.
@mixailenko5 I deleted all the plugins the same result
Can you tun server without folder "worlds" and "players". If you want you can rename this folders, and after test rename to "worlds" and "players" again.
run*
without a map working, but in the last build of all it was okay
So if you put everything back plugins, worlds and players you don't get this crash anymore?
Thank you for the question almost resolved ... Crash stopped, but I figured out the reason.Error for Anvil world.
The result was a funny world
Looks cool
If you don't have this crashes anymore you can just close it :P
Error: Argument 1 passed to pocketmine\item\Item::get() must be of the type integer, string given, called in /root/classic/src/pocketmine/nbt/NBT.php on line 111 File: /src/pocketmine/item/Item Line: 1147 Type: notice
Code: [1138] foreach(Item::$creative as $i => $d){ [1139] if($item->equals($d, !$item->isTool())){ [1140] return $i; [1141] } [1142] } [1143] [1144] return -1; [1145] } [1146] [1147] public static function get(int $id, $meta = 0, int $count = 1, $tags = "") : Item{