DaPigGuy / PiggyCustomEnchants

An open source custom enchantment plugin for PocketMine-MP
https://piggydocs.aericio.net/PiggyCustomEnchants.html
Apache License 2.0
103 stars 118 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 #52

Closed teracube closed 6 years ago

teracube commented 6 years ago

Please make sure your issue complies with these guidelines:

General

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

Version of PiggyCustomEnchants:

PiggyCustomEnchants 1.0.2-1

Data Provider:

Steps to Reproduce the Issue

PocketMine-MP Version: (1.7dev-236) PiggyCustomEnchants 1.0.2-1

Extra 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

I create the same issue PureEntitiesX :

https://github.com/RevivalPMMP/PureEntitiesX/issues/241 I don' know if it's an issue PiggyCustomEnchants or PureEntitiesX

sorry for my bad english

Aericio commented 6 years ago

I don't see any connection to this plugin. What are the exact steps to reproduce?

teracube commented 6 years ago

@Aericio sorry i don't know how to reproduce i search it

Aericio commented 6 years ago

If it happens again (given that you are using the latest plugin and latest pmmp), I'll reopen the issue. I'll close this issue for now.

teracube commented 6 years ago

@Aericio ok, thanks