menu
#57 themestl\inanticheat\utils\MathUtils::ping2ticks(): Argument #1 ($ping) must be of type int, null given, called in phar:///home/anmine/servers/s7/plugins/InAnticheat.phar/src/themestl/inanticheat/check/movement/FlyingCheck.php on line 101

Submitted by PocketMine-MP 5.7.1+dev

General information

Version: 5.7.1+dev
Git commit: cf45d0c9
Plugin involvement: Direct
Report date: 2023-12-23 14:13:09 +0000 UTC
Server uptime: 0 days 1 hours 9 minutes 59 seconds

System Information

PHP version: 8.2.9
JIT status: Not available
Operating system: linux
System banner: Linux ananasmine.ru 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64

Error information

Warning: the InAnticheat plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: themestl\inanticheat\utils\MathUtils::ping2ticks(): Argument #1 ($ping) must be of type int, null given, called in phar:///home/anmine/servers/s7/plugins/InAnticheat.phar/src/themestl/inanticheat/check/movement/FlyingCheck.php on line 101
File: plugins/InAnticheat.phar/src/themestl/inanticheat/utils/MathUtils
Line: #27
Type: TypeError
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
        $vector->y *= -(1 + $player->getSize()->getHeight()) * $length;
$vector->z *= -(1 + $player->getSize()->getWidth()) * $length;

return $vector;
}


public const TICK_MS = 50;

public static function ping2ticks(int $ping): int
{
return (int)ceil($ping / self::TICK_MS);
}

public const CONNECTION_BEST = 0;//0-50
public const CONNECTION_GOOD = 50;//50-150
public const CONNECTION_BAD = 150;//150-200+
public const CONNECTION_WORST = 200;//200+
}
#0 plugins/InAnticheat.phar/src/themestl/inanticheat/check/movement/FlyingCheck(101): themestl\inanticheat\utils\MathUtils::ping2ticks(null)
#1 pmsrc/src/event/RegisteredListener(61): themestl\inanticheat\check\movement\FlyingCheck->handlePlayerMoveEvent(object pocketmine\event\player\PlayerMoveEvent#1330695)
#2 pmsrc/src/event/Event(63): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerMoveEvent#1330695)
#3 pmsrc/src/player/Player(1343): pocketmine\event\Event->call()
#4 pmsrc/src/player/Player(1436): pocketmine\player\Player->processMostRecentMovements()
#5 pmsrc/src/world/World(1070): pocketmine\player\Player->onUpdate(int 18473)
#6 pmsrc/src/world/World(990): pocketmine\world\World->actuallyDoTick(int 18473)
#7 pmsrc/src/world/WorldManager(351): pocketmine\world\World->doTick(int 18473)
#8 pmsrc/src/Server(1882): pocketmine\world\WorldManager->tick(int 18473)
#9 pmsrc/src/Server(1764): pocketmine\Server->tick()
#10 pmsrc/src/Server(1096): pocketmine\Server->tickProcessor()
#11 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#3, object pocketmine\utils\MainLogger#6, string[24] /home/anmine/servers/s7/, string[32] /home/anmine/servers/s7/plugins/)
#12 pmsrc/src/PocketMine(357): pocketmine\server()
#13 pmsrc(11): require(string[61] phar:///home/anmine/servers/s7/InCore.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show