RevivalPMMP / PureEntitiesX

A Revival of the original PureEntities, a plugin which provides MobAI for PMMP - Coming back soon
GNU General Public License v3.0
166 stars 76 forks source link

Server thread/CRITICAL]: InvalidArgumentException: "Effect duration must be in range of 0 - 2147483647" (EXCEPTION) in "src/pocketmine/entity/Effect" at line 183 #241

Closed teracube closed 7 years ago

teracube commented 7 years ago

Issue description

Error Server thread/CRITICAL : InvalidArgumentException: "Effect duration must be in range of 0 - 2147483647" (EXCEPTION) in "src/pocketmine/entity/Effect" at line 183

Reproducing the issue

1...Install PocketMine-MP 1.7dev-236.phar 2...Install PureEntitiesX 0.2.7-3.alpha9 =) PureEntitiesX_dev-140.phar

Client information

PocketMine-MP Version: (1.7dev-236) Plugin Version: (0.2.7-3.alpha9) PHP version: 7.2.0

Optional information

2017-10-14 [18:40:47] [Server thread/CRITICAL]: Could not tick level "world": Effect duration must be in range of 0 - 2147483647
2017-10-14 [18:40:47] [Server thread/CRITICAL]: InvalidArgumentException: "Effect duration must be in range of 0 - 2147483647" (EXCEPTION) in "src/pocketmine/entity/Effect" at line 183
2017-10-14 [18:40:47] [Server thread/DEBUG]: #0 src/pocketmine/entity/Living(463): pocketmine\entity\Effect->setDuration(integer -17)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #1 src/pocketmine/entity/Living(428): pocketmine\entity\Living->doEffectsTick(integer 20)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #2 src/pocketmine/entity/Human(410): pocketmine\entity\Living->entityBaseTick(integer 20)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #3 src/pocketmine/Player(1664): pocketmine\entity\Human->entityBaseTick(integer 20)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(727): pocketmine\Player->onUpdate(integer 186061)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #5 src/pocketmine/Server(2356): pocketmine\level\Level->doTick(integer 186061)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #6 src/pocketmine/Server(2509): pocketmine\Server->checkTickUpdates(integer 186061, double 1507999247.9041)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #7 src/pocketmine/Server(2253): pocketmine\Server->tick()
2017-10-14 [18:40:47] [Server thread/DEBUG]: #8 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor()
2017-10-14 [18:40:47] [Server thread/DEBUG]: #9 src/pocketmine/Server(1714): pocketmine\Server->start()
2017-10-14 [18:40:47] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
2017-10-14 [18:40:47] [Server thread/DEBUG]: #11 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Others Plugins Slapper 1.3.7; iProtector 3.1.0-3; ChatToDiscord 1.1.0; essentialsTP 1.2.0-2; AllSigns 1.0.4; PiggyCustomEnchants 1.0.2-1; VoteReward 3.0.2-2; xyz 1.0.4; AlwaysSpawn 2.2.3-3; PureEntitiesX 0.2.7-3.alpha9; PurePerms 1.4.1-2; ItemCasePE 1.2.1; EconomyAPI 5.7.1-3; Parkour 1.5.6-3; BanItem 2.3.2-2.alpha8; EconomyShop 2.0.8-5; FactionsPro 1.4.5-5; PureChat 1.4.10-3

95CivicSi commented 7 years ago

@teracube What was happening when this error appeared?

jasonw4331 commented 7 years ago

the backtrace doesn't say anything about the entity being from this plugin. I would assume there is another causing the issue because this plugin doesn't work with effects

teracube commented 7 years ago

@95CivicSi sorry i don’t know. i founded this error on the log files. it’s happened 3 times this day .

sorry for my bad english .

teracube commented 7 years ago

@jasonwynn10 piggycustomenchants issue ?

jasonw4331 commented 7 years ago

Most likely