fixed received cnt queue not getting cleared

This commit is contained in:
GameHerobrine 2026-10-27 14:48:31 +03:00
parent 339febd589
commit 3978b95843

View file

@ -222,7 +222,7 @@ class Player{
$this->chatMessagesQueue = new RakNetPacket(RakNetInfo::DATA_PACKET_0);
$this->chatMessagesQueue->data = [];
//$this->server->schedule(20 * 60, [$this, "clearQueue"], [], true);
$this->server->schedule(20 * 60, [$this, "clearQueue"], [], true);
$this->server->interface->maxACKsAllowed["{$this->ip}:{$this->port}"] = 0;
$this->evid[] = $this->server->event("server.close", [$this, "close"]);
console("[DEBUG] New Session started with $ip:$port. MTU {$this->MTU}, Client ID {$this->clientID}", true, true, 2);