From aa76631073e982b59061d850d846dc6908d25e2a Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sun, 8 Oct 2023 17:57:40 -0700 Subject: [PATCH] update some comments --- TODO.md | 1 - src/CommandFormats.hh | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index dfc4af71..79599a44 100644 --- a/TODO.md +++ b/TODO.md @@ -12,7 +12,6 @@ - Check for RCE potential in 6x6B-6x6E commands - Build an exception-handling abstraction in ChatCommands that shows formatted error messages in all cases - Make reloading happen on separate threads so compression doesn't block active clients -- Try DCv2/PC crossplay - Implement decrypt/encrypt actions for VMS files - Fix Word Select mapping across versions diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 2e0d7544..e06f6e6e 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -4549,11 +4549,11 @@ struct G_Unknown_6x6F { // and instead rearranged a bunch of things. // The format appears to be the same for all pre-BB PSO versions, although // Episode 3 does not send this command at all since the relevant data is sent -// tothe joining player in the 64 command instead. +// to the joining player in the 64 command instead. struct G_SyncPlayerDispAndInventory_DC_PC_V3_6x70 { - G_ExtendedHeader header; // Offsets in this struct are relative to the overall command header + /* 0004 */ G_ExtendedHeader header; /* 000C */ le_uint16_t client_id; /* 000E */ le_uint16_t unknown_a1; // [1] and [3] in this array (and maybe [2] also) appear to be le_floats; @@ -4583,6 +4583,7 @@ struct G_SyncPlayerDispAndInventory_DC_PC_V3_6x70 { parray items; } __packed__ inventory; /* 0494 */ le_uint32_t unknown_a15; + /* 0498 */ } __packed__; // 6x71: Unknown (used while loading into game)