unresolved3169/Turanic

Network error Utils Binary error and server freezes

DropboyHU opened this issue · 2 comments

Issue description

How do fix this?

Warning: unpack(): Type V: not enough input, need 4, have 0 in phar:///Turanic_1.2.9.phar/src/pocketmine/utils/Binary.php on line 250

CRITICAL > TypeError: "Argument 1 passed to pocketmine\utils\Binary::signInt() must be of the type integer, null given, called in phar:///Turanic_1.2.9.phar/src/pocketmine/utils/Binary.php on line 250" (EXCEPTION) in "/src/pocketmine/utils/Binary" at line 50

Steps to reproduce the issue

OS and versions

  • Turanic: latest (#1668)
  • PHP: 7.0.2
  • Server OS: Ubuntu Linux 18.04 LTS
  • Game version: 1.2.9

Crashdump, backtrace, memory dumps, plugins list or other files

Use php > 7.0.15

Utils fixed.
but freeze is after disconnect all players:
17.01 19:48:01 [Disconnect] User Querly17 has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User KokoOfficial001 has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User Querly17 has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User WolfurielN has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User Cat666E has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User Querly17 has disconnected, reason: timeout
17.01 19:48:01 [Disconnect] User Cat666E has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User Domonkosgamer has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User WolfurielN has disconnected, reason: client disconnect
17.01 19:48:01 [Disconnect] User HeyyItzLevii has disconnected, reason: client disconnect

no error now, no crash, nothing.