Giter Site home page Giter Site logo

pureentities's People

Contributors

erkam246 avatar hmhmmhm avatar leinnesw avatar nnnlog avatar poggit-bot avatar shdudwns avatar skh6075 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pureentities's Issues

Generate and AI

Can not automatically generate biological.
I use other plug-in creatures.
Automatically generated Monster without AI.(Just standing.)

Generating probability

The probability of an insect's formation is too high. About every 5 stones will produce an insect.

How can I compile this plugin?

if I try to compile it with devtools 1.10 , it doesn´t works and even devtools-api200 can´t do it, i have no idea how to load the source with Devtools-api200 or compile it.

crash dump

Error: Class milk\pureentities\entity\monster\flying\Blaze not found
File: /src/spl/BaseClassLoader
Line: 144
Type: notice

Code:
[135] 
[136] if(method_exists($name, "onClassLoaded") and (new ReflectionClass($name))->getMethod("onClassLoaded")->isStatic()){
[137] $name::onClassLoaded();
[138] }
[139]

[140] $this->classes[] = $name;
[141] 
[142] return true;
[143] }elseif($this->getParent() === null){
[144] throw new ClassNotFoundException("Class $name not found");
[145] }
[146] 
[147] return false;
[148] }
[149] 
[150] /**
[151] * Returns the path for the class, if any
[152] *
[153] * @param string $name
[154] *

No File

There is no Phar File in the Zip !??

Crash i have only 3 plugins Entitymanager and PureEntity , ServerAuth

Genisys Crash Dump Sat Feb 27 15:16:55 UTC 2016

Error: Class milk\pureentities\entity\monster\flying\Blaze not found
File: /src/spl/BaseClassLoader
Line: 144
Type: notice

THIS CRASH WAS CAUSED BY A PLUGIN
此次出错由插件引起

Code:
[135]
[136] if(method_exists($name, "onClassLoaded") and (new ReflectionClass($name))->getMethod("onClassLoaded")->isStatic()){
[137] $name::onClassLoaded();
[138] }
[139]
[140] $this->classes[] = $name;
[141]
[142] return true;
[143] }elseif($this->getParent() === null){
[144] throw new ClassNotFoundException("Class $name not found");
[145] }
[146]
[147] return false;
[148] }
[149]
[150] /**
[151] * Returns the path for the class, if any
[152] *
[153] * @param string $name
[154] *

Backtrace:
#0 (): spl_autoload_call(string milk\pureentities\entity\monster\flying\Blaze)
#1 /src/pocketmine/entity/Entity(452): ReflectionClass->__construct(string milk\pureentities\entity\monster\flying\Blaze)
#2 /EntityManagerv2.7.phar/src/milk/entitymanager/EntityManager(84): pocketmine\entity\Entity::registerEntity(string milk\pureentities\entity\monster\flying\Blaze)
#3 /src/pocketmine/plugin/PharPluginLoader(65): milk\entitymanager\EntityManager->__construct(boolean)
#4 /src/pocketmine/plugin/PluginManager(155): pocketmine\plugin\PharPluginLoader->loadPlugin(string phar:///home/minecraft/multicraft/servers/server1453/plugins/EntityManagerv2.7.phar)
#5 /src/pocketmine/plugin/PluginManager(301): pocketmine\plugin\PluginManager->loadPlugin(string /home/minecraft/multicraft/servers/server1453/plugins/EntityManagerv2.7.phar, array Array())
#6 /src/pocketmine/Server(1934): pocketmine\plugin\PluginManager->loadPlugins(string /home/minecraft/multicraft/servers/server1453/plugins/)
#7 /src/pocketmine/PocketMine(465): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/minecraft/multicraft/servers/server1453/imagicalmine_0_14_0_PHP7.phar/, string /home/minecraft/multicraft/servers/server1453/, string /home/minecraft/multicraft/servers/server1453/plugins/)
#8 (1): require_once(string phar:///home/minecraft/multicraft/servers/server1453/imagicalmine_0_14_0_PHP7.phar/src/pocketmine/PocketMine.php)

Genisys version: 1.1dev #0 [Protocol 45; API 2.0.0]
uname -a: Linux mc12 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux

Loaded plugins:
加载的插件:
ServerAuth 2.11 by EvolSoft for API(s) 1.11.0

Not find the Config

Not generate a config file and this error

10.02 17:01:54 [Server] INFO Warning: file_put_contents(/plugins/EntityManager/drops.yml): failed to open stream: No such file or directory in phar:///imagicalmine_php7.phar/src/pocketmine/utils/Config.php on line 213
10.02 17:01:54 [Server] INFO Warning: file_put_contents(/plugins/EntityManager/spawner.yml): failed to open stream: No such file or directory in phar:///imagicalmine_php7.phar/src/pocketmine/utils/Config.php on line 213
10.02 17:01:54 [Server] INFO Warning: file_put_contents(/plugins/EntityManager/config.yml): failed to open stream: No such file or directory in phar:///imagicalmine_php7.phar/src/pocketmine/utils/Config.php on line 213
10.02 17:01:54 [Server] INFO [16:01:54] system> Enabling EntityManager v2.6

Hello, can you help?

I try to set up pocketmine PE server with animals for my son. I use Raspberry Pi 2 with NOOBS, without GUI and for now I know something about linux command line. This is the first use of DevTools and PHP7 files.

Below is visible problem with loading EntityManager files and my knowledge is depleted :(

pi@raspberrypi:~/Desktop/pocketmine $ ./start.sh
[15:17:28] [Server thread/INFO]: Loading pocketmine.yml...
[15:17:28] [Server thread/INFO]: Loading server properties...
[15:17:28] [Server thread/INFO]: Selected English (eng) as the base language
[15:17:28] [Server thread/INFO]: Starting Minecraft: PE server version v0.13.1 alpha
[15:17:28] [Server thread/INFO]: Starting remote control listener
[15:17:28] [Server thread/INFO]: RCON running on 0.0.0.0:19132
[15:17:28] [Server thread/INFO]: Opening server on 0.0.0.0:19132
[15:17:28] [Server thread/INFO]: This server is running PocketMine-MP version 1.6dev-52 "[REDACTED]" (API 1.13.1)
[15:17:28] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
[15:17:29] [Server thread/INFO]: Loading DevTools v1.10.0
[15:17:29] [Server thread/INFO]: Loading SimpleHome v1.2
[15:17:30] [Server thread/INFO]: Enabling DevTools v1.10.0
[15:17:30] [Server thread/ERROR]: Could not load '/home/pi/Desktop/pocketmine/plugins/EntityManager' in folder '/home/pi/Desktop/pocketmine/plugins/': yaml_parse(): scanning error encountered during parsing: mapping values are not allowed in this context (line 7, column 19)
[15:17:30] [Server thread/WARNING]: RuntimeException: "yaml_parse(): scanning error encountered during parsing: mapping values are not allowed in this context (line 7, column 19)" (E_WARNING) in "/src/pocketmine/plugin/PluginDescription" at line 51
[15:17:30] [Server thread/INFO]: [DevTools] Registered folder plugin loader
[15:17:30] [Server thread/INFO]: Preparing level "world"
[15:17:30] [Server thread/INFO]: Enabling SimpleHome v1.2
[15:17:30] [Server thread/INFO]: [SimpleHome] SimpleHome has loaded!
[15:17:31] [Server thread/INFO]: Starting GS4 status listener
[15:17:31] [Server thread/INFO]: Setting query port to 19132
[15:17:31] [Server thread/INFO]: Query running on 0.0.0.0:19132
[15:17:31] [Server thread/INFO]: Default game type: Survival Mode
[15:17:31] [Server thread/INFO]: Done (3.859s)! For help, type "help" or "?"

BR
Aivar

충돌 충돌

ImagicalMine Crash Dump Sun Mar 6 17:36:11 BNT 2016

Error: syntax error, unexpected ':', expecting ';' or '{'
File: /PureEntities-master/src/milk/pureentities/PureEntities
Line: 108
Type: E_PARSE

THIS CRASH WAS CAUSED BY A PLUGIN

Code:
[99] public function onEnable(){
[100] $this->getServer()->getPluginManager()->registerEvents($this, $this);
[101] $this->getServer()->getLogger()->info(TextFormat::GOLD . "[PureEntities]Plugin has been enabled");
[102] }
[103]
[104] public function onDisable(){
[105] $this->getServer()->getLogger()->info(TextFormat::GOLD . "[PureEntities]Plugin has been disabled");
[106] }
[107]
[108] public static function create($type, Position $source, ...$args) : Entity{
[109] $chunk = $source->getLevel()->getChunk($source->x >> 4, $source->z >> 4, true);
[110] if(!$chunk->isGenerated()){
[111] $chunk->setGenerated();
[112] }
[113] if(!$chunk->isPopulated()){
[114] $chunk->setPopulated();
[115] }
[116]
[117] $nbt = new CompoundTag("", [
[118] "Pos" => new ListTag("Pos", [

Backtrace:
#0 /src/pocketmine/Server(0): pocketmine\Server->crashDump(boolean)
#1 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(40): BaseClassLoader->loadClass(boolean)
#2 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(40): spl_autoload_call(boolean)
#3 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(40): class_exists(boolean)
#4 /src/pocketmine/plugin/PluginManager(157): FolderPluginLoader\FolderPluginLoader->loadPlugin(boolean)
#5 /src/pocketmine/plugin/PluginManager(301): pocketmine\plugin\PluginManager->loadPlugin(boolean)
#6 /devtools插件.phar/src/DevTools/DevTools(32): pocketmine\plugin\PluginManager->loadPlugins(boolean)
#7 /src/pocketmine/plugin/PluginBase(91): DevTools\DevTools->onEnable(boolean)
#8 /src/pocketmine/plugin/PharPluginLoader(128): pocketmine\plugin\PluginBase->setEnabled(boolean)
#9 /src/pocketmine/plugin/PluginManager(567): pocketmine\plugin\PharPluginLoader->enablePlugin(boolean)
#10 /src/pocketmine/Server(2005): pocketmine\plugin\PluginManager->enablePlugin(boolean)
#11 /src/pocketmine/Server(1991): pocketmine\Server->enablePlugin(boolean)
#12 /src/pocketmine/Server(1747): pocketmine\Server->enablePlugins(boolean)
#13 /src/pocketmine/PocketMine(472): pocketmine\Server->__construct(boolean)
#14 (1): (boolean)
#15 (0): {main}(boolean)

ImagicalMine version: 1.0dev #0 [Protocol 37; API 1.14.0]
Git commit: 0000000000000000000000000000000000000000
uname -a: Windows NT QH-20160128WYZA 6.2 build 9200 (Windows 8 Business Edition) i586
PHP Version: 5.6.4
Zend version: 2.6.0
OS : WINNT, win

Loaded plugins:
DevTools 1.8.0_bingshen浼樺寲 by PocketMine Team, shoghicp for API(s) 1.0.0
EconomyAPI 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
SWorld 1.1.0 by 18WYJ2 & boybook for API(s) 1.0.0
AshMan 1.0.1 by FENGberd,Alcatraz_Du for API(s) 1.0.0
EasyAuth 1.0.1 by Ibook for API(s) 1.0.0
IColor_Chat 1.5.5 by ibook for API(s) 1.0.0
ITpa 1.1.0 by ibook for API(s) 1.0.0

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

===BEGIN CRASH DUMP===
eNoDAAAAAAE=
===END CRASH DUMP===

Just some suggestions...

Well, first of all, great plugin I've never seen !
Most of the server owners are using API 1.x.x, included me.
So I want that this plugin could be used in API 1.x.x, AGAIN !
Before you updated this plugin into API 2.0.0, I had used this great plugin for a long time.
Could you let this plugin run in 2 APIs ?
Or just make the old API version AGAIN ?
Thanks, sorry for my bad English...

crash on IM

ImagicalMine Crash Dump Wed Feb 10 22:52:37 ICT 2016

Error: syntax error, unexpected ':', expecting ';' or '{'
File: /EntityManager.phar/src/milk/entitymanager/EntityManager
Line: 187
Type: E_PARSE

THIS CRASH WAS CAUSED BY A PLUGIN

Code:
[178] $baseKey = array_shift($vars);
[179] if(!is_array($base) or !isset($base[$baseKey])){
[180] return $defaultValue;
[181] }
[182] $base = $base[$baseKey];
[183] }
[184] return $base;
[185] }
[186]
[187] public static function create($type, Position $source, ...$args) : Entity{
[188] $chunk = $source->getLevel()->getChunk($source->x >> 4, $source->z >> 4, true);
[189] if(!$chunk->isGenerated()){
[190] $chunk->setGenerated();
[191] }
[192] if(!$chunk->isPopulated()){
[193] $chunk->setPopulated();
[194] }
[195]
[196] $nbt = new CompoundTag("", [
[197] "Pos" => new ListTag("Pos", [

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

ImagicalMine version: 1.0dev #0 [Protocol 38; API 1.14.0]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux static.ftech.vn 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64
PHP Version: 5.6.2
Zend version: 2.6.0

Class not found! Error

I have testet api 1.0.0 and i become a error class not found
Entitymanager:main class not found" (E_USER_WARNING) in"\plugin-515.phar/src/folderpluginloader/folderpluginloader at line 70 what is the problem pls help

More Mobs?

Can you add bats, mooshrooms, cave spiders, ghasts, magma cube, silverfishes, slime, wolfs, & the new 0.12 mobs? Thanks. BTW this is a nice plugin.

config.yml not valid

I copy EntityManager_V2.6-php5.phar and create folder EntityManager with config.yml, drops.yml, spawner.yml and to config.yml copy example from readme.
But plugin dont start.
[EntityManager]Your config has been updated. Please check "config.yml" file and restart the server.
[12:44:16] [Server thread/WARNING]: RuntimeException: "yaml_parse(): end of stream reached without finding document 0" (E_WARNING) in "/src/pocketmine/utils/Config" at line 143

하나의 문제 | A question

이 플러그인은 지원 어떤 좀 ai?
[This plug-in supports which AI?]
어떻게 자동 생성?
[Will automatically generate?]

crash report

ImagicalMine Crash Dump Fri Mar 11 23:45:08 BNT 2016

Error: syntax error, unexpected ':', expecting ';' or '{'
File: /PureEntities-master/src/milk/pureentities/entity/monster/FlyingMonster
Line: 22
Type: E_PARSE

THIS CRASH WAS CAUSED BY A PLUGIN

Code:
[13] abstract class FlyingMonster extends FlyingEntity implements Monster{
[14]
[15] protected $attackDelay = 0;
[16]
[17] private $minDamage = [0, 0, 0, 0];
[18] private $maxDamage = [0, 0, 0, 0];
[19]
[20] public abstract function attackEntity(Entity $player);
[21]
[22] public function getDamage(int $difficulty = null) : float{
[23] return mt_rand($this->getMinDamage($difficulty), $this->getMaxDamage($difficulty));
[24] }
[25]
[26] public function getMinDamage(int $difficulty = null) : float{
[27] if($difficulty === null || $difficulty > 3 || $difficulty < 0){
[28] $difficulty = Server::getInstance()->getDifficulty();
[29] }
[30] return $this->minDamage[$difficulty];
[31] }
[32]

Backtrace:
#0 /src/pocketmine/Server(0): pocketmine\Server->crashDump(boolean)
#1 /src/spl/BaseClassLoader(26): BaseClassLoader->loadClass(boolean)
#2 /src/spl/BaseClassLoader(26): spl_autoload_call(boolean)
#3 /src/spl/BaseClassLoader(128): (boolean)
#4 /src/pocketmine/entity/Entity(536): BaseClassLoader->loadClass(boolean)
#5 /src/pocketmine/entity/Entity(536): spl_autoload_call(boolean)
#6 /src/pocketmine/entity/Entity(536): ReflectionClass->__construct(boolean)
#7 /PureEntities-master/src/milk/pureentities/PureEntities(79): pocketmine\entity\Entity::registerEntity(boolean)
#8 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(73): milk\pureentities\PureEntities->onLoad(boolean)
#9 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(42): FolderPluginLoader\FolderPluginLoader->initPlugin(boolean)
#10 /src/pocketmine/plugin/PluginManager(157): FolderPluginLoader\FolderPluginLoader->loadPlugin(boolean)
#11 /src/pocketmine/plugin/PluginManager(301): pocketmine\plugin\PluginManager->loadPlugin(boolean)
#12 /devtools插件.phar/src/DevTools/DevTools(32): pocketmine\plugin\PluginManager->loadPlugins(boolean)
#13 /src/pocketmine/plugin/PluginBase(91): DevTools\DevTools->onEnable(boolean)
#14 /src/pocketmine/plugin/PharPluginLoader(128): pocketmine\plugin\PluginBase->setEnabled(boolean)
#15 /src/pocketmine/plugin/PluginManager(567): pocketmine\plugin\PharPluginLoader->enablePlugin(boolean)
#16 /src/pocketmine/Server(2012): pocketmine\plugin\PluginManager->enablePlugin(boolean)
#17 /src/pocketmine/Server(1998): pocketmine\Server->enablePlugin(boolean)
#18 /src/pocketmine/Server(1754): pocketmine\Server->enablePlugins(boolean)
#19 /src/pocketmine/PocketMine(473): pocketmine\Server->__construct(boolean)
#20 (1): (boolean)
#21 (0): {main}(boolean)

ImagicalMine version: 1.0dev #0 [Protocol 38; API 1.14.0]
Git commit: 0000000000000000000000000000000000000000
uname -a: Windows NT QH-20160128WYZA 6.2 build 9200 (Windows 8 Business Edition) i586
PHP Version: 5.6.4
Zend version: 2.6.0
OS : WINNT, win

Loaded plugins:
DevTools 1.8.0_bingshen浼樺寲 by PocketMine Team, shoghicp for API(s) 1.0.0
IColor_Chat 1.4.0 by ibook for API(s) 1.0.0
EconomyAPI 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
IMarry 1.0.0 by for API(s) 1.0.0
IVip 1.0.0 by ibook for API(s) 1.0.0

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

===BEGIN CRASH DUMP===
eNoDAAAAAAE=
===END CRASH DUMP===

A little bug....

Notice: Undefined offset: 2 in C:\PocketMine-MP\plugins\EntityManager\src\milk\entitymanager\entity\Monster.php on line 70

bug found.

I found the following bug:
after you hittet a mob, you can´t hit it a second time.

Server console spam when mobs spawn

So when mobs spawn it would spam the console "Warning: mt_rand() expects parameter 1 to be integer, string given in /Users/User/Downloads/ImagicalMine (SurvivalPro)-php7-0.14/plugins/EntityManager v2.7/src/milk/entitymanager/task/AutoSpawnTask.php on line 16"
Eventually (after 30-45 mins) the server would freeze, and crashes due to the memory overloading related to it.

Not working on my server

here is the server log, I use Imagicalmine , not pocketmine, please help.

[16:12:06] system> -------------------------------------------------------------------------------------------
[16:12:06] system> | _ _ _ __ __ _ |
[16:12:06] system> | () () | | / () |
[16:12:06] system> | _ _ __ ___ __ _ __ _ _ ___ __ | | \ / | _ __ ___ |
[16:12:06] system> | | | '
_ \ / _ |/ | |/ __/ _ | | |/| | | ' \ / _ \ ImagicalMine 1.0dev |
[16:12:06] system> | | | | | | | | (| | (| | | (| (| | | | | | | | | | / |
[16:12:06] system> | ||| || ||**,|__, ||_____,||| |||| ||
| for MCPE v0.13.1 alpha |
[16:12:06] system> | __/ | |
[16:12:06] system> | |_**/ |
[16:12:06] system> -------------------------------------------------------------------------------------------
[16:12:06] system>
[16:12:06] system> ImagicalMine is a third-party build of PocketMine-MP, distributed under the LGPL licence
[16:12:06] system> Loading ImagicalMine system files....
[16:12:06] system> Loading server properties...
[16:12:06] system> Disabled log writing to server.log
[16:12:06] system> Selected English (eng) as the base language
[16:12:06] system> Starting Minecraft: PE server version v0.13.1 alpha
[16:12:06] system> Opening server on 192.168.2.127:19132
[16:12:06] system> This server is running ImagicalMine version 1.0dev "ImagicalMine" (API 1.14.0)
[16:12:06] system> ImagicalMine is distributed under the LGPL License
[16:12:07] system> Loading AdvancedMOTD v1.0.1
[16:12:07] system> Loading ClearLagg v1.1.0
[16:12:07] system> Loading CommandSigns v2
[16:12:07] system> Loading DN v0.2
[16:12:07] system> Loading DynMapPE v0.0.3
[16:12:07] system> Loading EntityManager v2.4

Parse error: syntax error, unexpected ':', expecting ';' or '{' in phar://C:/PocketMine/ImagicalMine-IC/plugins/EntityManager_v2.4.phar/src/milk/entitymanager/entity/Monster.php on line 27
[16:12:07] emergency> An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[16:12:07] emergency> Please upload the "C:\PocketMine\ImagicalMine-IC\CrashDump_Thu_Jan_21-16.12.07-GMT_2016.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
bin\php\php.exe: Exit 1

php5 v2.4 crash

Error: syntax error, unexpected ':', expecting ';' or '{'
File: /EM.phar/src/milk/entitymanager/EntityManager
Line: 187
Type: E_PARSE

THIS CRASH WAS CAUSED BY A PLUGIN

Code:
[178] $baseKey = array_shift($vars);
[179] if(!is_array($base) or !isset($base[$baseKey])){
[180] return $defaultValue;
[181] }
[182] $base = $base[$baseKey];
[183] }
[184] return $base;
[185] }
[186]
[187] public static function create($type, Position $source, ...$args) : Entity{
[188] $chunk = $source->getLevel()->getChunk($source->x >> 4, $source->z >> 4, true);
[189] if(!$chunk->isGenerated()){
[190] $chunk->setGenerated();
[191] }
[192] if(!$chunk->isPopulated()){
[193] $chunk->setPopulated();
[194] }
[195]
[196] $nbt = new CompoundTag("", [
[197] "Pos" => new ListTag("Pos", [

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

ListTag.php 파일이 없습니다. ㅠ.ㅠ

어떻게 어떻게 겨우겨우 구동해도 ListTag을 로드할 수 없어서 실행이 안되는 것 같군요.
혹시 pocketmine\nbt\tag\ListTag이 존재하시면 업로드좀 부탁드립니다.
아무리 검색해도 안나오네요 ^^.
10살된 아들포함 세가족의 서버를 구성하고 있는지라...
도움좀 부탁드립니다.
감사합니다.

Feature: Feed animals

Not sure if this is part of the plugin or in the core. My kids love the creative mode but one of their favorite parts is feeding the animals so I can't get them to use the server until I find someway to get this to work.

Issue description

Unable to "Feed" animals

Steps to reproduce the issue

Spawn a pig
Select a carrot and get next to the pig until "Feed" button shows
Click "Feed"

In normal game - hearts show up when you feed them.

version

v 1.0

error

Fatal error: Declaration of milk\pureentities\entity\FlyingEntity::updateMove(int $tickDiff) must be compatible with milk\pureentities\entity\BaseEntity::updateMove($tickDiff) in /root/Server/plugins/PureEntities-master/src/milk/pureentities/entity/FlyingEntity.php on line 13

crash on Imagicalmine php7.

Crash Report:

[09:20:54] system> -------------------------------------------------------------------------------------------
[09:20:54] system> | _ _ _ __ __ _ |
[09:20:54] system> | () () | | / () |
[09:20:54] system> | _ _ __ ___ __ _ __ _ _ ___ __ | | \ / | _ __ ___ |
[09:20:54] system> | | | '
_ \ / _ |/ | |/ __/ _ | | |/| | | ' \ / _ \ ImagicalMine 1.0dev |
[09:20:54] system> | | | | | | | | (| | (| | | (| (| | | | | | | | | | / |
[09:20:54] system> | ||| || ||**,|__, ||_____,||| |||| ||
| for MCPE v0.13.2 alpha |
[09:20:54] system> | __/ | |
[09:20:54] system> | |_**/ |
[09:20:54] system> -------------------------------------------------------------------------------------------
[09:20:54] system>
[09:20:54] system> ImagicalMine is a third-party build of PocketMine-MP, distributed under the LGPL licence
[09:20:54] system> Loading ImagicalMine system files....
[09:20:54] system> Loading server properties...
[09:20:54] system> Selected English (eng) as the base language
[09:20:54] system> Starting Minecraft: PE server version v0.13.2 alpha
[09:20:54] system> Opening server on 192.168.2.127:19132
[09:20:54] system> This server is running ImagicalMine version 1.0dev "ImagicalMine" (API 1.14.0)
[09:20:54] system> ImagicalMine is distributed under the LGPL License
[09:20:54] system> Loading AdvancedMOTD v1.0.1
[09:20:54] system> Loading ClearLagg v1.1.0
[09:20:54] system> Loading DevTools v1.10.0
[09:20:54] system> Loading DN v0.2
[09:20:54] system> Loading EntityManager v2.5

Warning: Declaration of milk\entitymanager\entity\animal\WalkingAnimal::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Entity::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/animal/WalkingAnimal.php on line 9

Warning: Declaration of milk\entitymanager\entity\monster\WalkingMonster::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Entity::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/monster/WalkingMonster.php on line 18

Warning: Declaration of milk\entitymanager\entity\monster\FlyingMonster::entityBaseTick(int $tickDiff = 1) should be compatible with milk\entitymanager\entity\BaseEntity::entityBaseTick($tickDiff = 1) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/monster/FlyingMonster.php on line 15

Warning: Declaration of milk\entitymanager\entity\monster\FlyingMonster::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Entity::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/monster/FlyingMonster.php on line 15

Warning: Declaration of milk\entitymanager\entity\projectile\FireBall::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Projectile::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/projectile/FireBall.php on line 115
[09:20:54] system> Loading FastTransfer v1.0.2
[09:20:54] system> Loading MoreTrees v1.0-Alpha
[09:20:54] system> Loading TapToDo v2.2.1
[09:20:54] system> Loading VPNGuard v1.0.4
[09:20:54] system> Loading SimpleWarp v2.1.0
[09:20:54] system> Loading SpawnMgr v1.3.0
[09:20:54] system> Loading SimplePortals v0.0.3
[09:20:54] system> Enabling AdvancedMOTD v1.0.1
[09:20:54] system> AdvancedMOTD Enabled!
[09:20:54] system> Enabling DevTools v1.10.0
[09:20:54] system> [DevTools] Registered folder plugin loader
[09:20:54] system> Enabling EntityManager v2.5
[09:20:54] system> [EntityManager]Plugin has been enabled
[09:20:54] critical> TypeError: "Argument 2 passed to milk\entitymanager\EntityManager::getData() must be an instance of milk\entitymanager\mixed, integer given, called in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager.php on line 120" (EXCEPTION) in "/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager" at line 151
[09:20:54] system> Disabling EntityManager v2.5

Warning: yaml_parse(): end of stream reached without finding document 0 in phar://C:/PocketMine/ImagicalMine-IC/%app%/ImagicalMine-IC.phar/src/pocketmine/utils/Config.php on line 148

Warning: yaml_parse(): end of stream reached without finding document 0 in phar://C:/PocketMine/ImagicalMine-IC/%app%/ImagicalMine-IC.phar/src/pocketmine/utils/Config.php on line 148
[09:20:54] system> [EntityManager]Plugin has been disable
[09:20:54] system> Enabling FastTransfer v1.0.2
[09:20:54] system> Enabling VPNGuard v1.0.4
[09:20:54] system> [VPNGuard] No API key specified, using free version.
[09:20:54] system> Enabling EntityManager v2.5
[09:20:54] system> [EntityManager]Plugin has been enabled
[09:20:54] critical> TypeError: "Argument 2 passed to milk\entitymanager\EntityManager::getData() must be an instance of milk\entitymanager\mixed, integer given, called in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager.php on line 120" (EXCEPTION) in "/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager" at line 151
[09:20:54] system> Disabling EntityManager v2.5
[09:20:54] system> [EntityManager]Plugin has been disable
[09:20:54] system> Preparing level "world"
[09:20:54] system> Enabling ClearLagg v1.1.0
[09:20:54] system> Enabling DN v0.2
[09:20:54] system> Enabling MoreTrees v1.0-Alpha
[09:20:54] system> Enabling TapToDo v2.2.1
[09:20:54] system> Enabling SimpleWarp v2.1.0
[09:20:54] system> Enabling SpawnMgr v1.3.0
[09:20:54] system> Enabling SimplePortals v0.0.3
[09:20:54] system> Starting GS4 status listener
[09:20:54] system> Setting query port to 19132
[09:20:54] system> Query running on 192.168.2.127:19132
[09:20:54] system> Default game type: Survival Mode
[09:20:54] system> Done (0.62s)! For help, type "help" or "?"

Is not fixed

Genisys Crash Dump Sat Feb 27 17:41:01 UTC 2016

Error: Class milk\pureentities\entity\monster\flying\Blaze not found
File: /src/spl/BaseClassLoader
Line: 144
Type: notice

THIS CRASH WAS CAUSED BY A PLUGIN
此次出错由插件引起

Code:
[135]
[136] if(method_exists($name, "onClassLoaded") and (new ReflectionClass($name))->getMethod("onClassLoaded")->isStatic()){
[137] $name::onClassLoaded();
[138] }
[139]
[140] $this->classes[] = $name;
[141]
[142] return true;
[143] }elseif($this->getParent() === null){
[144] throw new ClassNotFoundException("Class $name not found");
[145] }
[146]
[147] return false;
[148] }
[149]
[150] /**
[151] * Returns the path for the class, if any
[152] *
[153] * @param string $name
[154] *

Backtrace:
#0 (): spl_autoload_call(string milk\pureentities\entity\monster\flying\Blaze)
#1 /src/pocketmine/entity/Entity(452): ReflectionClass->__construct(string milk\pureentities\entity\monster\flying\Blaze)
#2 /EntityManagerv2.7.phar/src/milk/entitymanager/EntityManager(84): pocketmine\entity\Entity::registerEntity(string milk\pureentities\entity\monster\flying\Blaze)
#3 /src/pocketmine/plugin/PharPluginLoader(65): milk\entitymanager\EntityManager->__construct(boolean)
#4 /src/pocketmine/plugin/PluginManager(155): pocketmine\plugin\PharPluginLoader->loadPlugin(string phar:///home/minecraft/multicraft/servers/server1453/plugins/EntityManagerv2.7.phar)
#5 /src/pocketmine/plugin/PluginManager(301): pocketmine\plugin\PluginManager->loadPlugin(string /home/minecraft/multicraft/servers/server1453/plugins/EntityManagerv2.7.phar, array Array())
#6 /src/pocketmine/Server(1934): pocketmine\plugin\PluginManager->loadPlugins(string /home/minecraft/multicraft/servers/server1453/plugins/)
#7 /src/pocketmine/PocketMine(465): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/minecraft/multicraft/servers/server1453/imagicalmine_0_14_0_PHP7.phar/, string /home/minecraft/multicraft/servers/server1453/, string /home/minecraft/multicraft/servers/server1453/plugins/)
#8 (1): require_once(string phar:///home/minecraft/multicraft/servers/server1453/imagicalmine_0_14_0_PHP7.phar/src/pocketmine/PocketMine.php)

Genisys version: 1.1dev #0 [Protocol 45; API 2.0.0]
uname -a: Linux mc12 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux

Loaded plugins:
加载的插件:
ServerAuth 2.11 by EvolSoft for API(s) 1.11.0

Set Motion on Entities

How can I set motion to the Entities.
I want use a chicken as a football, so i must raise the knockback. A player gets knockback, but not the chicken :c
I used the EntityDamageEvent
$event->getEntity()->setMotion(new Vector3(2 * (-sin($damager->yaw / 180 * M_PI) * cos($damager->pitch / 180 * M_PI)), -sin($damager->pitch / 180 * M_PI), 2 * (cos($damager->yaw / 180 * M_PI) * cos($damager->pitch / 180 * M_1_PI))));

Some bugs report.

Return value of milk\entitymanager\entity\WalkingEntity::updateMove() must be an instance of pocketmine\math\Vector3, null returned

Warning: Declaration of milk\entitymanager\entity\monster\FlyingMonster::entityBaseTick(int $tickDiff = 1) should be compatible with milk\entitymanager\entity\BaseEntity::entityBaseTick($tickDiff = 1) in C:\PocketMine-MP\plugins\EntityManager\src\milk\entitymanager\entity\monster\FlyingMonster.php on line 15

just a idea.

Would it be possible for the dev to add to the config
something like.

Auto spawn Entity's:
World:

  • spawn
  • creative

So then we can choose what worlds mobs spawn in.

PHP5 Version

Mobs starts to burn in 5-7 sec !
Version 1.3 works better

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.