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

ErrorException: "Division by zero" #28

Closed teracube closed 6 years ago

teracube commented 7 years ago

Hi,

Critical error plugin then the server crash

2017-07-26 [22:29:47] [Server thread/CRITICAL]: Could not execute task PiggyCustomEnchants\Tasks\GrapplingTask: Division by zero
2017-07-26 [22:29:47] [Server thread/CRITICAL]: ErrorException: "Division by zero" (EXCEPTION) in "PiggyCustomEnchants.phar/src/PiggyCustomEnchants/Tasks/GrapplingTask" at line 44
2017-07-26 [22:29:53] [Server thread/CRITICAL]: TypeError: "Return value of pocketmine\entity\Human::getRawUniqueId() must be of the type string, null returned" (EXCEPTION) in "src/pocketmine/entity/Human" at line 103
2017-07-26 [22:29:53] [Server thread/CRITICAL]: [Network] Stopped interface pocketmine\network\mcpe\RakLibInterface due to Return value of pocketmine\Player::getDisplayName() must be of the type string, null returned
2017-07-26 [22:30:03] [Server thread/CRITICAL]: TypeError: "Return value of pocketmine\entity\Human::getRawUniqueId() must be of the type string, null returned" (EXCEPTION) in "src/pocketmine/entity/Human" at line 103
2017-07-26 [22:30:23] [Server thread/INFO]: [CONSOLE: Stopping the server]

Version Plugin : Dev | #72 Version PocketMine : PocketMine-MP_1.6.2dev-312_ed5f69f1_API-3.0.0-ALPHA7.phar

Thanks

totor29 commented 7 years ago

Hi,

PiggyCustomEnchants/Tasks/GrapplingTask

2017-07-30 [11:15:32] [Server thread/CRITICAL]: Could not execute task PiggyCustomEnchants\Tasks\GrapplingTask: Division by zero 2017-07-30 [11:15:32] [Server thread/CRITICAL]: ErrorException: "Division by zero" (EXCEPTION) in "PiggyCustomEnchants.phar/src/PiggyCustomEnchants/Tasks/GrapplingTask" at line 44

Aericio commented 7 years ago

How do we reproduce the issue?

teracube commented 7 years ago

Hi,

No additional information available 15 payers were online the bug occur 1 time on 48h time server online

Version PocketMine-MP version: 1.6.2dev #326 Linux ML-08-15.zkm.unigs.de 4.4.0-040400-generic #201601101930 SMP Mon Jan 11 00:32:41 UTC 2016 x86_64 PHP Version: 7.0.6 Zend version: 3.0.0

totor29 commented 7 years ago

2017-08-05 [20:24:17] [Server thread/CRITICAL]: Could not execute task PiggyCustomEnchants\Tasks\GrapplingTask: Division by zero 2017-08-05 [20:24:17] [Server thread/CRITICAL]: ErrorException: "Division by zero" (EXCEPTION) in "PiggyCustomEnchants.phar/src/PiggyCustomEnchants/Tasks/GrapplingTask" at line 44

Aericio commented 6 years ago

Does the issue still occur?

teracube commented 6 years ago

@Aericio no problem for the moment with latest build

pranavbhuv commented 6 years ago

close issue ? piggy is back xD

Aericio commented 6 years ago

@QuiverlyRivalry I made him come back >:)

DaPigGuy commented 6 years ago

;-;

DaPigGuy commented 6 years ago

Issue has been reproduced.