From 7da0da66f11e455189adda389dd79337e0ae13d7 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Wed, 22 Jan 2025 00:41:17 -0800 Subject: [PATCH] refine some command formats --- src/CommandFormats.hh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 6fabd0b8..bdc3da93 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -1617,7 +1617,7 @@ struct S_ArrowUpdateEntry_88 { struct C_ConnectionInfo_DCNTE_8A { be_uint64_t hardware_id; le_uint32_t sub_version = 0x20; - le_uint32_t unknown_a1 = 0; + le_uint32_t unused = 0; pstring username; pstring password; pstring email_address; // From Sylverant documentation @@ -1708,9 +1708,9 @@ struct C_LoginV1_DC_PC_V3_90 { struct C_RegisterV1_DC_92 { be_uint64_t hardware_id; le_uint32_t sub_version; - uint8_t is_extended = 0; // TODO: This is a guess + uint8_t unused1 = 0; uint8_t language = 0; // TODO: This is a guess; verify it - parray unknown_a3; + parray unused2; pstring serial_number2; pstring access_key2; pstring email; // According to Sylverant documentation @@ -2415,9 +2415,10 @@ struct S_UpdateMediaHeader_Ep3_B9 { // 00 = unknown // 01 = Initialize Meseta subsystem (C->S; always has a value of 0) // 02 = Spend meseta (at e.g. lobby jukebox or Pinz's shop) (C->S) -// 03 = Spend meseta response (S->C; request_token must match the last token +// 03 = Successful transaction (S->C; request_token must match the last token // sent by client) -// 04 = unknown (C->S; request_token must match the last token sent by client) +// 04 = Insufficient meseta (S->C; request_token must match the last token sent +// by client) struct C_MesetaTransaction_Ep3_BA { le_uint32_t transaction_num = 0;