revivalpmmp / pureentitiesx Goto Github PK
View Code? Open in Web Editor NEWA Revival of the original PureEntities, a plugin which provides MobAI for PMMP - Coming back soon
License: GNU General Public License v3.0
A Revival of the original PureEntities, a plugin which provides MobAI for PMMP - Coming back soon
License: GNU General Public License v3.0
Currently, entities walk off cliffs killing themselves without thinking twice.
i need help and it needs to be update from master branch i restart tomorow
The BlockBreakEvent
will sometimes throw fatal errors on the server. It's pretty much in danger of crashing whenever someone breaks a block.
That may be a tiny problem 👎
A bit of an open door IMHO, but the new minecraft clients need PocketMine-MP version 1.6.2dev "Unleashed" (API 3.0.0-ALPHA1) which uses API 3.0 this is not supported yet by PureEntitiesX.
I can copy values of speed and other for Apollo ( EntityAl branch ) ?
and mob spawner work with no eror
Lag allows entities to occasionally walk through completely solid blocks. This makes farming impossible, because there is no way to trap entities. Even though you build a roof an four walls around them, they will still escape eventually. I don't think it was like this before the temporary wall climb solution was implemented, so this issue might resolve itself when we get a working solution for climbing blocks.
with glass layer on mij spawn
Passive mobs are not spawning ever. It's just monsters.
Is there anyway you can add support for iProtector so they cant spawn in certian areas?
Hi.
Skeletons and Zombies burn to death even though it's very dark.
When you are luring (I just found it about chickens) they don't leave you alone afterwards. They continue to follow you.
Just another bug, great job tho!
I'm using PureEntitiesX with the mcpe-1.0 branch of PocketMine-MP and the latest 1.0.0-bug-fixes branch of PureEntitiesX.
After some time, nearly all entities don't move anymore for a period of time. They're not attackable anymore. I didn't see any clue in the log causing this error. But maybe, this is a known issue.
Reproducable: regulary, but not clue about the error that "freezes" the mobs.
Side-note: one of the best Mob plugins found.
Post-Note: I have some CRITS in my server log:
[15:57:33] [Server thread/CRITICAL]: InvalidArgumentException: "Value 18 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [15:57:33] [Server thread/CRITICAL]: Could not tick level "can": Value 16 exceeds the range! [15:57:33] [Server thread/CRITICAL]: InvalidArgumentException: "Value 16 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [15:57:33] [Server thread/CRITICAL]: Could not tick level "can": Value 14 exceeds the range! [15:57:33] [Server thread/CRITICAL]: InvalidArgumentException: "Value 14 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [15:57:33] [Server thread/CRITICAL]: Could not tick level "can": Value 12 exceeds the range! [15:57:33] [Server thread/CRITICAL]: InvalidArgumentException: "Value 12 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [15:57:33] [Server thread/CRITICAL]: Could not tick level "can": Value 10 exceeds the range! [15:57:33] [Server thread/CRITICAL]: InvalidArgumentException: "Value 10 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:09] [Server thread/CRITICAL]: Could not tick level "can": Value 10 exceeds the range! [16:00:09] [Server thread/CRITICAL]: InvalidArgumentException: "Value 10 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 19 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 19 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 18 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 18 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 17 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 17 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 16 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 16 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 15 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 15 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 14 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 14 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 13 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 13 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 12 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 12 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175 [16:00:24] [Server thread/CRITICAL]: Could not tick level "can": Value 11 exceeds the range! [16:00:24] [Server thread/CRITICAL]: InvalidArgumentException: "Value 11 exceeds the range!" (EXCEPTION) in "/src/pocketmine/entity/Attribute" at line 175
I know that this is related to PocketMine-MP - but maybe, those values have to be adjusted by the plugin?
Every time an Entity spawns or I hit it (Not including burning) an error message shows up on console.
PocketMine-MP Version: 1.0
Plugin Version: (insert commit label here)
PHP version: 7.0.13
This could be to-do with the API bump I did, but it doesn't seem likley. Here is the error message: Could not tick level 'World': Value 5 exceeds the range. InvalidArgumentException "Value five exceeds the range"
![image](https://cloud.githubusercontent.com/assets/13406648/21608283/78f2c7d2-d1b3-11e6-8924-60ccc7baa5e6.png)
This task, which auto spawns mobs (Like Vanilla Minecraft), has another //ToDo
under it. It is a huge part of the plugin, so we need to implement it
I'm getting this error when viewing creepers. It displays repeatedly the same information each time.
phar:///home/gs/gs/data/servers/4813054/plugins/PureEntitiesX (3).phar/src/magicode/pureentities/entity/monster/walking/Creeper.php on line 62�
2016-12-17 [06:08:25] �[Server thread/CRITICAL]: Could not tick level "SW": Argument 3 passed to pocketmine\event\entity\ExplosionPrimeEvent::__construct() must be of the type boolean, none given, called in phar:///home/gs/gs/data/servers/4813054/plugins/PureEntitiesX (3).phar/src/magicode/pureentities/entity/monster/walking/Creeper.php on line 62�
Want to Code cool plugins with RevivalPMMP? Want to help with PureEntitiesX or another plugin? Reply to this Issue below and we will look at your work to see if you are good enough to be invited.
EDIT:
This has moved to email, please contact [email protected] for help and to apply for staff. Staff abuse can be reported at [email protected]
When I use a spawn egg, or use EntityManager (Another Plugin We should revive) the console throws the error:
[10:16:30] [Server thread/INFO]: An unknown error occurred while attempting to perform this command [10:16:30] [Server thread/CRITICAL]: Unhandled exception executing command 'em create Cow 0 0 0 world' in entitymanager: Undefined class constant 'DATA_NO_AI' [10:16:30] [Server thread/CRITICAL]: Error: "Undefined class constant 'DATA_NO_AI'" (EXCEPTION) in "/phar_PureEntities-master_gETXEPsgRG_w3Iq.phar/src/milk/pureentities/entity/BaseEntity" at line 82
I am looking at what I can do to fix it.
Hi, Great Job with this, it really has potential
Just thought it would be worth mentioning that chickens don't 'float' to the ground when they're falling,
but great job, looking forward to a new release!
this problem :::
Declaration of revivalpmmp\pureentities\entity\BaseEntity::entityBaseTick($tickDiff = 1) should be compatible with pocketmine\entity\Living::entityBaseTick($tickDiff = 1, $EnchantL = 0)
can you make the wolf temable
Spawned entities can not jump on 1 block high walls. Slabs and stairs are fine, but full blocks do not work at all.
Spawned entities never stop walking. They tend to walk in one direction until they hit a block they can't walk past or find a target/get hit.
[18:56:19] [Server thread/CRITICAL]: Could not tick level "world3": Argument 3 passed to pocketmine\event\entity\ExplosionPrimeEvent::__construct() must be of the type boolean, none given, called in phar:///root/skyblock/plugins/phar_PureEntitiesX-master_I4CmvWjM8PCXtau.phar/src/revivalpmmp/pureentities/entity/monster/walking/Creeper.php on line 62
[19:02:21] [Server thread/CRITICAL]: Could not tick level "world3": Undefined class constant 'WITHER_SKELETON_SKULL'
[19:05:36] [Server thread/CRITICAL]: Could not tick level "world3": Argument 3 passed to pocketmine\event\entity\ExplosionPrimeEvent::__construct() must be of the type boolean, none given, called in phar:///root/skyblock/plugins/phar_PureEntitiesX-master_I4CmvWjM8PCXtau.phar/src/revivalpmmp/pureentities/entity/projectile/FireBall.php on line 82
is this not fixt
This is just a simple question. I've found the following line in the creeper entity class:
$ev->setBlockBreaking(false); // This should be removed later. There should be a configurable option for this.
Can anybody tell me, why? I assume because of performance?
Does this project has a gitter room?
When using a spawn egg with an animal type, the animal teleports about 50 blocks away from the location where it got placed. This does not happen with monsters.
Currently using animals causes the server to crash.
Error: Undefined class constant 'DATA_AGEABLE_FLAGS'
File: myzip:///PureEntitiesX-master.zip#PureEntitiesX-master/src/magicode/pureentities/entity/animal/WalkingAnimal
Line: 22
Type: notice
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN : PureEntities v1.0
Code:
[13] abstract class WalkingAnimal extends WalkingEntity implements Animal{
[14]
[15] public function getSpeed() : float{
[16] return 0.7;
[17] }
[18]
[19] public function initEntity(){
[20] parent::initEntity();
[21]
[22] if($this->getDataProperty(self::DATA_AGEABLE_FLAGS) === null){
[23] $this->setDataProperty(self::DATA_AGEABLE_FLAGS, self::DATA_TYPE_BYTE, 0);
[24] }
[25] }
[26]
[27] public function isBaby() : bool{
[28] return $this->getDataFlag(self::DATA_AGEABLE_FLAGS, self::DATA_FLAG_BABY);
[29] }
[30]
[31] public function entityBaseTick($tickDiff = 1){
[32] Timings::$timerEntityBaseTick->startTiming();
You can add all type of Ocelot?
Feature Creeper:
" Creepers will actively avoid ocelots and cats. However, this will not deter them from chasing a player, only keeping the creeper a distance away. "
Creeper fleets from Ocelot.
The Previous Author left a bunch of //ToDo
s Under Slimes and Magma Cubes, and because of that they aren't implemented. We need to fill in the blanks and implement them. As of now they aren't even being registered.
I thought I'd make an issue to address all missing monsters and animals we still have to and can implement. Here's a list:
If you think I missed any, please give an comment :)
For some reason, sheep just despawn instead of dying. At least they do on my server. Instead of the death animation and item dropping they just freeze and then despawn a moment later. This makes it impossible for the players to get any wool, becuase sheering isn't implemented yet.
I don't know if this is a bug I have or if it's a bug with the plugin.
I thought correcting the Item::get() call on line 37 of Sheep.php would fix it, but it didn't. Anyway, I think that line is supposed to be:
return [Item::get(Item::WHITE_WOOL, 0, 1)];
instead of
return [Item::get(Item::WHITE_WOOL, 1)];
[10:15:50] [Server thread/CRITICAL]: ParseError: "syntax error, unexpected end of file, expecting function (T_FUNCTION)" (EXCEPTION) in "/phar_PureEntitiesX-local-test1_dCzCVhypOIMRAeG.phar/src/magicode/pureentities/entity/monster/flying/Ghast" at line 87 [10:15:50] [Server thread/DEBUG]: #0 (): spl_autoload_call(string magicode\pureentities\entity\monster\flying\Ghast) [10:15:50] [Server thread/DEBUG]: #1 /src/pocketmine/entity/Entity(506): ReflectionClass->__construct(string magicode\pureentities\entity\monster\flying\Ghast) [10:15:50] [Server thread/DEBUG]: #2 /phar_PureEntitiesX-local-test1_dCzCVhypOIMRAeG.phar/src/magicode/pureentities/PureEntities(79): pocketmine\entity\Entity::registerEntity(string magicode\pureentities\entity\monster\flying\Ghast) [10:15:50] [Server thread/DEBUG]: #3 /src/pocketmine/plugin/PharPluginLoader(113): magicode\pureentities\PureEntities->onLoad(boolean) [10:15:50] [Server thread/DEBUG]: #4 /src/pocketmine/plugin/PharPluginLoader(66): pocketmine\plugin\PharPluginLoader->initPlugin(magicode\pureentities\PureEntities object, pocketmine\plugin\PluginDescription object, string /home/cameron/plugins/PureEntities, string phar:///home/cameron/plugins/phar_PureEntitiesX-local-test1_dCzCVhypOIMRAeG.phar) [10:15:50] [Server thread/DEBUG]: #5 /src/pocketmine/plugin/PluginManager(151): pocketmine\plugin\PharPluginLoader->loadPlugin(string phar:///home/cameron/plugins/phar_PureEntitiesX-local-test1_dCzCVhypOIMRAeG.phar) [10:15:50] [Server thread/DEBUG]: #6 /src/pocketmine/plugin/PluginManager(292): pocketmine\plugin\PluginManager->loadPlugin(string /home/cameron/plugins/phar_PureEntitiesX-local-test1_dCzCVhypOIMRAeG.phar, array Array()) [10:15:50] [Server thread/DEBUG]: #7 /src/pocketmine/Server(1527): pocketmine\plugin\PluginManager->loadPlugins(string /home/cameron/plugins/) [10:15:50] [Server thread/DEBUG]: #8 /src/pocketmine/PocketMine(483): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/cameron/PocketMine-MP.phar/, string /home/cameron/, string /home/cameron/plugins/) [10:15:50] [Server thread/DEBUG]: #9 (1): require(string phar:///home/cameron/PocketMine-MP.phar/src/pocketmine/PocketMine.php) [10:15:50] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [10:15:50] [Server thread/EMERGENCY]: Please upload the "/home/cameron/CrashDump_Fri_Dec_9-10.15.50-EST_2016.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can. [10:15:57] [Server thread/DEBUG]: Disabling all plugins [10:15:57] [Server thread/DEBUG]: Unloading all levels [10:15:57] [Server thread/DEBUG]: Removing event handlers [10:15:57] [Server thread/DEBUG]: Stopping all tasks [10:15:57] [Server thread/DEBUG]: Saving properties [10:15:57] [Server thread/DEBUG]: Closing console [10:15:57] [Server thread/DEBUG]: Stopping network interfaces Killed
Warning: Declaration of magicode\pureentities\entity\BaseEntity::entityBaseTick($tickDiff = 1) should be compatible with pocketmine\entity\Living::entityBaseTick($tickDiff = 1, $EnchantL = 0) in E:\PocketMine-MP\plugins\PureEntitiesX-master\src\magicode\pureentities\entity\BaseEntity.php on line 0
Just something I discovered the other day...
When you shear a sheep, it doesn't damage your shears, it makes Shearing infinite
But other than that, good job!
Hi everyone. Since poggit is down installation seems to be a bit complicated. I have installed it but pocketmine cant see it. Could you tell me please where is the problem?
user@host:~/repo/pmmp$ ls
banned-ips.txt CONTRIBUTING.md players pocketmine.yml server.properties start.sh worlds
banned-players.txt LICENSE plugins README.md src tests
bin ops.txt PocketMine-MP.phar.bal server.log start.cmd white-list.txt
user@host:~/repo/pmmp$ cd plugins/
user@host:~/repo/pmmp/plugins$ git clone https://github.com/RevivalPMMP/PureEntitiesX.git
Cloning into 'PureEntitiesX'...
[...]
Checking connectivity... done.
user@host:~/repo/pmmp/plugins$ cd PureEntitiesX/
user@host:~/repo/pmmp/plugins/PureEntitiesX$ git checkout V3.0-beta
Note: checking out 'V3.0-beta'.
[...]
HEAD is now at a043489... Remove debug stuff.
user@host:~/repo/pmmp/plugins/PureEntitiesX$ cd ../..
user@host:~/repo/pmmp$ ./start.sh
[12:54:45] [Server thread/WARNING]: Non-packaged PocketMine-MP installation detected, do not use on production.
[...]
[12:54:45] [Server thread/INFO]: Done (0.643s)! For help, type "help" or "?"
plugins
[12:54:49] [Server thread/INFO]: Plugins (0):
Alright, this had been happening before commit: 47af8d1 but has just gotten far far worse..
Monsters are spawning at a very rapid pace and just endlessly multiplying if you stand still. I don't think that's how it's supposed to work, there should be some spawning on chunk generation, and some dynamically.. But as far as I recall there's an upper limit as to how many there are active at once per chunk? It is impossible to even walk around because of the sheer amount of monsters instantly coming to kill you.
The console displays the error below (repeatedly) and all creatures stop moving.
2016-12-18 [20:20:36] �[Server thread/CRITICAL]: Could not tick level "SW": Argument 3 passed to pocketmine\event\entity\ExplosionPrimeEvent::__construct() must be of the type boolean, none given, called in phar:///home/gs/gs/data/servers/4813054/plugins/PureEntitiesX_v0.1.1_dev.phar/src/revivalpmmp/pureentities/entity/monster/walking/Creeper.php on line 62�
2016-12-18 [20:20:36] �[Server thread/CRITICAL]: Could not tick level "SW": Argument 3 passed to pocketmine\event\entity\ExplosionPrimeEvent::__construct() must be of the type boolean, none given, called in phar:///home/gs/gs/data/servers/4813054/plugins/PureEntitiesX_v0.1.1_dev.phar/src/revivalpmmp/pureentities/entity/monster/walking/Creeper.php on line 62�
Some things we have to do for the plugin to work properly:
class Magicode\pureentities\PureEntities not found
I see that there is an open issue about taming wolfs and I guess this is kind of the same. Anyway it would be really great if you made it possible to shear sheep.
You can implement this?
Title says it all! Poggit is down.
On my server, monsters (zombies, skeletons, spiders, creepers, endermen, et.c.) spawn even though it is in the middle of the day.
I don't know if this is a bug or if it is something you haven't yet implemented, however I can't imagine that it is very hard to fix. Checking light conditions may be tricky, but just checking the time to see whether it's day or not would be better than how it currently is.
Then again, I haven't looked so carefully at your code, so I don't know if you actually have implemented this or if what I am experiencing is just a bug.
plz add thad mij spawn is full mobs
or add that dont spawn with licht
Entities don't swim. They sink to the bottom and die.
...
PocketMine-MP Version: 0.16.0.5
Plugin Version: cc1b6bf
PHP version: 7.0.13
[19:52:34] [Server thread/WARNING]: Non-packaged PocketMine-MP installation detected, do not use on production.
[19:52:34] [Server thread/INFO]: Loading pocketmine.yml...
[19:52:34] [Server thread/INFO]: Loading server properties...
[19:52:34] [Server thread/INFO]: Selected English (eng) as the base language
[19:52:34] [Server thread/INFO]: Starting Minecraft: PE server version v0.16.0.5 alpha
[19:52:34] [Server thread/INFO]: Opening server on 0.0.0.0:19132
[19:52:34] [Server thread/INFO]: This server is running PocketMine-MP version 1.6.1dev "Unleashed" (API 2.1.0)
[19:52:34] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
[19:52:34] [Server thread/INFO]: Loading recipes...
[19:52:34] [Server thread/INFO]: Loading PureEntitiesX v0.1.1_dev
[19:52:34] [Server thread/CRITICAL]: Error: "Undefined class constant 'revivalpmmp\pureentities\data\Data::CAVE_SPIDER'" (EXCEPTION) in "/src/pocketmine/entity/Entity" at line 509
[19:52:34] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[19:52:34] [Server thread/EMERGENCY]: Please upload the "/home/user/repo/pmmp/CrashDump_Tue_Jan_3-19.52.34-YEKT_2017.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[CrashDump_Tue_Jan_3-19.52.34-YEKT_2017.log.txt](https://github.com/RevivalPMMP/PureEntitiesX/files/682467/CrashDump_Tue_Jan_3-19.52.34-YEKT_2017.log.txt)
Add wither skeletons ( issue for not forgot feature )
Should we add a config for things such as maximum monsters around player, despawntime (Oh! I got to add a task for that!) and such things? It could be cool to have an element of customization for users.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.