New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when Mobs Spawn #330

Closed
Iam2smart opened this Issue Sep 18, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@Iam2smart

Iam2smart commented Sep 18, 2018

https://github.com/RevivalPMMP/PureEntitiesX/wiki/Issue-Reporting-Guidelines
If you do not follow the guidelines at the above link, your issue will be closed with a Resolution Status of "Invalid".

Required Information

PocketMine-MP Version: (3.2.3)
Plugin Version: (Dev #278(&c127))
Where you got the plugin: (https://poggit.pmmp.io/ci/RevivalPMMP/PureEntitiesX/PureEntitiesX/243)

Optional Information

PHP version:
Other Installed Plugins:
OS Version:

Steps to reproduce the issue.

  1. Spawn in
  2. Something try's to spawn or use Egg and will crash
    ...

Description

When a mob try's to spawn server will crash if you place a mob server will also crash


Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)
PocketMine-MP Crash Dump Tue Sep 18 03:22:00 UTC 2018

Error: Undefined property: revivalpmmp\pureentities\entity\animal\walking\Sheep::$age
File: PureEntitiesX_dev-278(1).phar/src/revivalpmmp/pureentities/entity/BaseEntity
Line: 333
Type: ErrorException

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: PureEntitiesX v0.5.2

Code:
[324] 		return $hasUpdate;
[325] 	}
[326] 
[327] 	/**
[328] 	 * This method checks if an entity should despawn - if so, the entity is closed
[329] 	 * @return bool
[330] 	 */
[331] 	private function checkDespawn() : bool{
[332] 		// when entity is at least x ticks old and it's not tamed, we should remove it
[333] 		if($this->age > $this->maxAge and
[334] 			(!$this instanceof IntfTameable or ($this instanceof IntfTameable and !$this->isTamed()))
[335] 		){
[336] 			PureEntities::logOutput("Despawn entity " . $this->getName(), PureEntities::NORM);
[337] 			$this->close();
[338] 			return true;
[339] 		}
[340] 		return false;
[341] 	}
[342] 
[343] 	public function move(float $dx, float $dy, float $dz) : void{

Backtrace:
#0 PureEntitiesX_dev-278(1).phar/src/revivalpmmp/pureentities/entity/BaseEntity(333): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined property: revivalpmmp\pureentities\entity\animal\walking\Sheep::$age, string phar:///home/minecraft/Documents/plugins/PureEntitiesX_dev-278(1).phar/src/revivalpmmp/pureentities/entity/BaseEntity.php, integer 333, array Array())
#1 PureEntitiesX_dev-278(1).phar/src/revivalpmmp/pureentities/entity/BaseEntity(305): revivalpmmp\pureentities\entity\BaseEntity->checkDespawn()
#2 PureEntitiesX_dev-278(1).phar/src/revivalpmmp/pureentities/entity/animal/WalkingAnimal(55): revivalpmmp\pureentities\entity\BaseEntity->entityBaseTick(integer 1)
#3 PureEntitiesX_dev-278(1).phar/src/revivalpmmp/pureentities/entity/animal/WalkingAnimal(104): revivalpmmp\pureentities\entity\animal\WalkingAnimal->entityBaseTick(integer 1)
#4 src/pocketmine/level/Level(741): revivalpmmp\pureentities\entity\animal\WalkingAnimal->onUpdate(integer 203)
#5 src/pocketmine/Server(2357): pocketmine\level\Level->doTick(integer 203)
#6 src/pocketmine/Server(2506): pocketmine\Server->checkTickUpdates(integer 203, double 1537240920.5607)
#7 src/pocketmine/Server(2256): pocketmine\Server->tick()
#8 src/pocketmine/Server(2134): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1700): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/minecraft/Documents/, string /home/minecraft/Documents/plugins/)
#11 /home/minecraft/Documents/PocketMine-MP.phar(1): require(string phar:///home/minecraft/Documents/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

PocketMine-MP version: 3.2.3 [Protocol 282]
Git commit: 27effff403dddae12e2a85b780852f55cef54695
uname -a: Linux minecraft-ThinkCentre-M58p 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64
PHP Version: 7.2.9
Zend version: 3.2.0
OS : Linux, linux

Loaded plugins:
PureEntitiesX 0.5.2 by milk0417, RevivalPMMP for API(s) 3.0.0

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

===BEGIN CRASH DUMP===
eNrtWvtv28aW/lfmygEqF6Le8kOFi/Umzm12ndob28gCVWGMyKHEa5LDcoa21SL/+37nzJCiHDvb
3ba4i0XygyPO48x5n+8M+VvHJpnqzEezyeF4OjweD3udVBp7Vpa67Mx/69hNgekOP589hqqwic47
vU6mjJErmrrJIxUnuYpEUepClXYzF6W6T+5lWmRZsVgUValUbhObKLNY8K/NYiHzJJPpYvEg07sk
Xy0WV2ulivn8FVHtdeIqTd8mKR1QrGU5HwwGa52pQYaTwlLGdvBGh1UGamZQpNUqyc3gEged+YP+
8zZS98H48Kg72u8ThYEpw0GLr0GbrYHjavCv0jgKG+wpiA3Hwp9JGVRTCNGZTyaTXseWMsTvnzp7
Q/FnntIF9f25KHR4pywpbbGobJLCADf033yudiz6g8yjVJXdJLdqpUpx1BPGlrCL+AvM29D+p1m2
J2pByQhClqXciFP6293fh4H2Rn+yMYaz/d+ltu2e4PtwrcK7N8oU8iHvMlfjP4ErZ5jBR2eXU37q
zv4X7LkxGrlOwrvGc0bM6eSv4nQ0nO7/jxxwZ/t/w/VUEF/bmBmk6l6lg3P62z2cjv7QyTq/KSJp
VXPmeDjhU2dPT71S5T1icTyZHT4JYeZnsWCGgu8jvSNDTe/gJXqz4cETem7GuxoRcyyaNs2eiHS1
TJXY1oj+7GB4yGcdvnTWePbSWZZ45s1HL20eTaZf2HxZ6hDVR5eOyvELVEaHw+ELVIyVpXW7R8On
2y/553v87I6nkxco3N6GOkcWq0LbJWd6jaJpzrWMoDO9/IcKbe+53PteJvm5Xq1aq3wqfDkH/o4l
dZp0Eo2+sHIrXPD+kkOx67z6lyopVff35uXPyQxe1CLl2/3Oz596HfVPBxV/bTWHiM4ST8/AolBH
ikSfjKeYXdiFLZWtyly8Wkvjou47LJuMZzz9iX8f4Df/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DlBRNqm40+uoR6ty8h7+7uE1in3r+wmK2dYjDJ8bk7ZG
inBnvfkF3KhJ+wsM9z1I/bgMAS7XrQF6zZdHsmwPlZvCav6kYtIf0YD/xrtZUJVtHv5h+AOMUf+A
P/KIkxSZtjUf2/YnIauo/ZC1p9YoP0yIyBDyAl/t1VeX560ndvDIfewyZj6zpXun2VqUbaAS/gbF
/xKzPn0bQ69TREDfN8yG0+Ehfr56R3eCR7GS42k8PpoexvJwNjoeDkdLNTkehsdHUg1lKGM1OToU
r1j3uW3r4XLNahzjgPHOq/Vbxhb8uZT7NMd9DKNN8tg2pb/F5O9lRv1DcMgfrsT+Jqpt5nWm24oz
fJRpO45hRY77B3hIVsskl+XGM0ffw1h9p3JAlradNpK/AKj5/zUpmMZoxt8isf6SZvmnT/8FSnLP
3Q==
===END CRASH DUMP===
@Iam2smart

This comment has been minimized.

Iam2smart commented Sep 18, 2018

I just uploaded the error log

Tue_Sep_18-03.22.00-UTC_2018.log

@95CivicSi

This comment has been minimized.

Collaborator

95CivicSi commented Sep 18, 2018

This is something related to the changes in PocketMine-MP 3.2.3. This works fine on 3.2.2

I am looking into this problem and should have a resolution soon.

@Iam2smart

This comment has been minimized.

Iam2smart commented Sep 18, 2018

Ok

@95CivicSi 95CivicSi closed this in 06fcbf4 Sep 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment