RynthCore as of 2026-10-05 evening (internal 0a2043e): release 2026.10.5.20 - own dat reader, plugin manifests, UI/login hooks with Loot Editor drag-and-drop, server-message stream (API v78), raise attributes and skills (API v79), nameplate sizing and overlay opacity, engine reload held while a plugin is fighting, StatusAgent character sheet, world map and travel for DrakRemote

This commit is contained in:
Tom Bohar 2026-10-05 14:59:43 -04:00
commit 913a2a00b6
110 changed files with 12560 additions and 1151 deletions

View file

@ -15,6 +15,8 @@ namespace RynthCore.Engine.Compatibility;
/// We read the function address, install a MinHook detour, call through to the
/// original on every receive, then hand the buffer to RawPacketParser for
/// opcode extraction. The hook is purely read-only and never modifies traffic.
/// It also feeds Net.ServerMessageStream (API v78), which copies fragment datagrams
/// for reassembly on the plugin pump while a plugin wants server messages.
/// </summary>
internal static class RawPacketHooks
{
@ -82,6 +84,11 @@ internal static class RawPacketHooks
// This guard prevents any parser bug from crashing the client.
try
{
// v78 server-message stream: a volatile check, and while a plugin wants
// messages, one copy into a ring for the pump (never blocks, never allocates).
// A MSG_PEEK (0x2) read leaves the datagram queued; the real read copies it.
if ((flags & 0x2) == 0)
Net.ServerMessageStream.OnDatagram((byte*)buf, bytesRead);
RawPacketParser.Parse((byte*)buf, bytesRead);
}
catch