You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pocketmine/binaryutils is now used for binary I/O instead of inbuilt classes. raklib\Binary has been removed.
Connecting clients with incompatible protocol versions will now be disconnected correctly. RakLibServer now accepts a protocol version override in the constructor.
RakLibServer now accepts a maximum MTU size constructor parameter.
RakLibServer autostart constructor parameter has been removed.
Address handling has been cleaned up in preparation for IPv6 support (adds an InternetAddress class in raklib\utils namespace).
Exceptions on bad packets will now only spam the logger in debug mode.
EncapsulatedPacket
Separated thread-copy encoding and RakNet protocol encoding. This is now both faster and easier to read.
The internal parameters have been removed from fromBinary() and toBinary().
fromInternalBinary() and toInternalBinary() functions have been added.
OpenConnectionRequest1
Fixed bug in encode method supplying incorrect arguments to str_pad().
ServerInstance interface
Typehints have been applied to PHP 7.2 standards.
UDPServerSocket
Constructor now requires InternetAddress instead of ThreadedLogger, string, int.
Exceptions will now be thrown on failure to open sockets, instead of using die().