Closed xxFLORII closed 4 years ago
Duplicate of #73
I found a method, its very unstable but it works: PlayerNetwork.php
public function notify(int $timestamp) : void{
if ($this->session instanceof MyCustomPlayer) {
if ($this->session->getOS() /*returns the device-os, you can find them at 'LoginPacket::$clientData["DeviceOS"]'*/ == 11) {
if ($this->current !== null && $timestamp !== $this->current->timestamp) {
$this->processCurrent(true);
}
} else {
if ($this->current !== null && $timestamp === $this->current->timestamp) {
$this->processCurrent(true);
}
}
}
}
PlayStation4 players don't get a Menu sent by InvMenu