Networking Overhaul: Modern packets, buffers, handshake, dispatch & security hardening

See Readme
This commit is contained in:
rtw1x1
2026-02-08 07:35:02 +00:00
parent 0cc595bf09
commit 60ee35e921
142 changed files with 5703 additions and 14494 deletions

View File

@@ -1,10 +1,10 @@
#include "stdafx.h"
#include "stdafx.h"
#include "dungeon.h"
#include "char.h"
#include "char_manager.h"
#include "party.h"
#include "affect.h"
#include "packet.h"
#include "packet_structs.h"
#include "desc.h"
#include "config.h"
#include "regen.h"
@@ -88,11 +88,11 @@ struct FSendDestPosition
{
FSendDestPosition(long x, long y)
{
p1.bHeader = HEADER_GC_DUNGEON;
p1.subheader = DUNGEON_SUBHEADER_GC_DESTINATION_POSITION;
p1.header = GC::DUNGEON;
p1.subheader = DungeonSub::GC::DESTINATION_POSITION;
p2.x = x;
p2.y = y;
p1.size = sizeof(p1)+sizeof(p2);
p1.length = sizeof(p1)+sizeof(p2);
}
void operator()(LPCHARACTER ch)