From 148db03a9a790a34dc389543fe72a55a7b1a0a38 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Tue, 24 Jun 2025 20:53:33 -0700 Subject: [PATCH] fix copy-paste error in MoreSaveSlots patch --- src/CommandFormats.hh | 2 ++ src/ReceiveSubcommands.cc | 3 +-- .../BlueBurstExclusive/MoreSaveSlots.59NL.patch.s | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 75bee8d0..a9fee626 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -4607,6 +4607,8 @@ struct G_PlayerDied_6x4D { } __packed_ws__(G_PlayerDied_6x4D, 8); // 6x4E: Player is dead can be revived (protected on V3/V4) +// This command creates the particle effect that Reverser and Moon Atomizers +// can target. struct G_PlayerRevivable_6x4E { G_ClientIDHeader header; diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index a56abc17..9de683ee 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -4417,8 +4417,7 @@ static asio::awaitable on_buy_shop_item_bb(shared_ptr c, Subcomman if (l->log.should_log(phosg::LogLevel::L_INFO)) { auto s = c->require_server_state(); auto name = s->describe_item(c->version(), item); - l->log.info_f("Player {} purchased item {:08X} ({}) for {} meseta", - c->lobby_client_id, item.id, name, price); + l->log.info_f("Player {} purchased item {:08X} ({}) for {} meseta", c->lobby_client_id, item.id, name, price); c->print_inventory(); } co_return; diff --git a/system/client-functions/BlueBurstExclusive/MoreSaveSlots.59NL.patch.s b/system/client-functions/BlueBurstExclusive/MoreSaveSlots.59NL.patch.s index a358e110..abd1d2db 100644 --- a/system/client-functions/BlueBurstExclusive/MoreSaveSlots.59NL.patch.s +++ b/system/client-functions/BlueBurstExclusive/MoreSaveSlots.59NL.patch.s @@ -75,7 +75,7 @@ enable_scroll_start: mov dword [eax + ecx + 0x30], 0x425EA3D7 mov dword [eax + ecx + 0x34], 0x00000008 mov dword [eax + ecx + 0x38], 0x00000000 - mov dword [eax + ecx + 0x2C], 0x3F800000 + mov dword [eax + ecx + 0x3C], 0x00000000 or dword [eax + 0xF0], 1 # scroll_bar->flags |= 1 mov ecx, [eax + 0xEC] shl ecx, 4