BlockHorizons / BlockPets

An advanced pets plugin for PocketMine-MP
Apache License 2.0
93 stars 61 forks source link

CRASH PETS KILLED PLAYER ON ENTITIES #237

Closed MadooxMc closed 2 years ago

MadooxMc commented 3 years ago

I have tried just with plugin blockpets and pureentities x to see if another plugin create conflit but, same issue

BAD PLUGIN: BlockPets v1.1.3

Code: [74] [75] / [76] Returns the position's world if valid. Throws an error if the world is unexpectedly null. [77] [78] @throws AssumptionFailedError [79] / [80] public function getLevelNonNull() : Level{ [81] $world = $this->getLevel(); [82] if($world === null){ [83] throw new AssumptionFailedError("Position world is null"); [84] } [85] return $world; [86] } [87] [88] / [89] Sets the target Level of the position. [90] [91] @return $this [92] [93] * @throws \InvalidArgumentException if the specified Level has been closed

MadooxMc commented 3 years ago

Anyone answer me, i think create you purpose bugs

lukeeey commented 3 years ago

This doesn’t help please link the entire crashdump

MadooxMc commented 3 years ago

This is console log (i try without any plugin i have remove all on my server to see if one plugin create conflit with blockpets)

2021-08-17 [15:57:07] [Server thread/INFO]: Done (0.449s)! For help, type "help" or "?" 2021-08-17 [15:58:49] [Server thread/INFO]: Mlaskar[/176.164.186.37:58453] logged in with entity id 1 at (world, 257.972, 68, 314.0779) 2021-08-17 [15:58:57] [Server thread/INFO]: Mlaskar joined the game 2021-08-17 [16:00:13] [Server thread/INFO]: [CONSOLE: Opped mlasar] 2021-08-17 [16:00:21] [Server thread/INFO]: é 2021-08-17 [16:00:36] [Server thread/INFO]: sisi 2021-08-17 [16:00:46] [Server thread/INFO]: [CONSOLE: De-opped mlasar] 2021-08-17 [16:00:52] [Server thread/INFO]: [CONSOLE: Opped Mlaskar] 2021-08-17 [16:01:18] [Server thread/INFO]: [Mlaskar: Set own game mode to Creative Mode] 2021-08-17 [16:01:31] [Server thread/CRITICAL]: pocketmine\utils\AssumptionFailedError: "Position world is null" (EXCEPTION) in "pmsrc/src/pocketmine/level/Position" at line 83 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/event/entity/EntityDamageByEntityEvent(65): pocketmine\level\Position->getLevelNonNull() 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/entity/Living(567): pocketmine\event\entity\EntityDamageByEntityEvent->getDamager() 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #2 plugins/BlockPets_dev-283.phar/src/BlockHorizons/BlockPets/pets/BasePet(342): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #3 plugins/BlockPets_dev-283.phar/src/BlockHorizons/BlockPets/pets/IrasciblePet(72): BlockHorizons\BlockPets\pets\BasePet->attack(object pocketmine\event\entity\EntityDamageByEntityEvent) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #4 plugins/79_pe_pureentitiesx.phar/src/revivalpmmp/pureentities/entity/monster/walking/Zombie(143): BlockHorizons\BlockPets\pets\IrasciblePet->attack(object pocketmine\event\entity\EntityDamageByEntityEvent) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #5 plugins/79_pe_pureentitiesx.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(78): revivalpmmp\pureentities\entity\monster\walking\Zombie->attackEntity(object BlockHorizons\BlockPets\pets\creatures\WolfPet) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #6 plugins/79_pe_pureentitiesx.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(204): revivalpmmp\pureentities\entity\monster\WalkingMonster->checkAndAttackEntity(object BlockHorizons\BlockPets\pets\creatures\WolfPet) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/level/Level(854): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 5280) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 5280) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 5280) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 5280, double 1629208891.3227) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick() 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/PocketMine(311): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[51] /home/gameserver/servers/serveur7/minecraftbedrock/, string[59] /home/gameserver/servers/serveur7/minecraftbedrock/plugins/) 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/PocketMine(341): pocketmine\server() 2021-08-17 [16:01:31] [Server thread/CRITICAL]: #16 pmsrc(11): require(string[106] phar:///home/gameserver/servers/serveur7/minecraftbedrock/PocketMine-MP.phar/src) 2021-08-17 [16:01:31] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump 2021-08-17 [16:01:31] [Server thread/EMERGENCY]: Please upload the "/home/gameserver/servers/serveur7/minecraftbedrock/crashdumps/Tue_Aug_17-16.01.31-CEST_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can. 2021-08-17 [16:01:31] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/5125205 or use the ID #5125205. 2021-08-17 [16:01:31] [Server thread/INFO]: Disabling PureEntitiesX v0.7.0 2021-08-17 [16:01:31] [Server thread/INFO]: Disabling BlockPets v1.1.3 2021-08-17 [16:01:31] [Server thread/INFO]: Mlaskar left the game 2021-08-17 [16:01:31] [Server thread/INFO]: Mlaskar[/176.164.186.37:58453] logged out due to Server closed 2021-08-17 [16:01:31] [Server thread/INFO]: Unloading world "world"

MadooxMc commented 3 years ago

This is the crashdumps:

PocketMine-MP Crash Dump Tue Aug 17 16:01:31 CEST 2021

Error: Position world is null File: pmsrc/src/pocketmine/level/Position Line: 83 Type: pocketmine\utils\AssumptionFailedError

A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: BlockPets v1.1.3

Code: [74] [75] / [76] Returns the position's world if valid. Throws an error if the world is unexpectedly null. [77] [78] @throws AssumptionFailedError [79] / [80] public function getLevelNonNull() : Level{ [81] $world = $this->getLevel(); [82] if($world === null){ [83] throw new AssumptionFailedError("Position world is null"); [84] } [85] return $world; [86] } [87] [88] / [89] Sets the target Level of the position. [90] [91] @return $this [92] [93] * @throws \InvalidArgumentException if the specified Level has been closed

Backtrace:

0 pmsrc/src/pocketmine/event/entity/EntityDamageByEntityEvent(65): pocketmine\level\Position->getLevelNonNull()

1 pmsrc/src/pocketmine/entity/Living(567): pocketmine\event\entity\EntityDamageByEntityEvent->getDamager()

2 plugins/BlockPets_dev-283.phar/src/BlockHorizons/BlockPets/pets/BasePet(342): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)

3 plugins/BlockPets_dev-283.phar/src/BlockHorizons/BlockPets/pets/IrasciblePet(72): BlockHorizons\BlockPets\pets\BasePet->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)

4 plugins/79_pe_pureentitiesx.phar/src/revivalpmmp/pureentities/entity/monster/walking/Zombie(143): BlockHorizons\BlockPets\pets\IrasciblePet->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)

5 plugins/79_pe_pureentitiesx.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(78): revivalpmmp\pureentities\entity\monster\walking\Zombie->attackEntity(object BlockHorizons\BlockPets\pets\creatures\WolfPet)

6 plugins/79_pe_pureentitiesx.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(204): revivalpmmp\pureentities\entity\monster\WalkingMonster->checkAndAttackEntity(object BlockHorizons\BlockPets\pets\creatures\WolfPet)

7 pmsrc/src/pocketmine/level/Level(854): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 5280)

8 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 5280)

9 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 5280)

10 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 5280, double 1629208891.3227)

11 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()

12 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()

13 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()

14 pmsrc/src/pocketmine/PocketMine(311): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[51] /home/gameserver/servers/serveur7/minecraftbedrock/, string[59] /home/gameserver/servers/serveur7/minecraftbedrock/plugins/)

15 pmsrc/src/pocketmine/PocketMine(341): pocketmine\server()

16 pmsrc(11): require(string[106] phar:///home/gameserver/servers/serveur7/minecraftbedrock/PocketMine-MP.phar/src)

PocketMine-MP version: 3.22.1 [Protocol 448] Git commit: 9477034a4ae58cc5c12b8278c14a8e46a43992b2 uname -a: Linux game-fr-53.mtxserv.com 5.4.125-mtxserv #1 SMP PREEMPT Mon Jun 14 17:57:17 CEST 2021 x86_64 PHP Version: 7.4.20 Zend version: 3.4.0 OS : Linux, linux Composer libraries:

Loaded plugins: BlockPets 1.1.3 by BlockHorizons for API(s) 3.19.0 PureEntitiesX 0.7.0 by milk0417, RevivalPMMP for API(s) 3.19.0

MadooxMc commented 3 years ago

i think is the biggest issue of this plugin, i have not found another issue, when thhat's was resolved, it was one of my best plugins of my server! Reupload: My pets can kill mobs but when is killed by mobs server crash and when pet killed player, they have internal server error*

Ifera commented 2 years ago

Should be fixed with the latest update. If not then please do make a new issue.