diff --git a/src/SendCommands.cc b/src/SendCommands.cc index 7d88d348..bf4f446d 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -382,6 +382,9 @@ void send_function_call( } else { crypt.encrypt(data.data(), data.size()); } + + w.write(data); + data = move(w.str()); } } diff --git a/src/Version.cc b/src/Version.cc index f6c52bed..e1a53c90 100644 --- a/src/Version.cc +++ b/src/Version.cc @@ -64,7 +64,8 @@ uint16_t flags_for_version(GameVersion version, int64_t sub_version) { case 0x40: // GC Ep3 trial return Client::Flag::NO_D6_AFTER_LOBBY | - Client::Flag::IS_EPISODE_3; + Client::Flag::IS_EPISODE_3 | + Client::Flag::ENCRYPTED_SEND_FUNCTION_CALL; case 0x42: // GC Ep3 JP return Client::Flag::NO_D6_AFTER_LOBBY | Client::Flag::IS_EPISODE_3 |