From d2068ad99dc2ee8f0379b2876ea94240d9cdb249 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 1 Oct 2022 08:14:23 +0200 Subject: [PATCH] Disable local publisher cache It's not needed and seems like BO3's content streaming servers are down. Invalidating LPC here will result in them not being able to play anymore. Even if it's cause the server is down and not cause of this mod. --- src/client/component/demonware.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/component/demonware.cpp b/src/client/component/demonware.cpp index 0f1697ea..dd446cfc 100644 --- a/src/client/component/demonware.cpp +++ b/src/client/component/demonware.cpp @@ -486,7 +486,9 @@ namespace demonware utils::hook::copy_string(0x1430B93C8_g, "http://%s:%d/auth/"); utils::hook::set(0x141EC4B50_g, 0xC3D08948); // Skip publisher file signature stuff - utils::hook::call(0x141EC458C_g, get_ffotd_name); // Return unlocalized name + utils::hook::call(0x141EC458C_g, get_ffotd_name); // Return unlocalized ffotd name + utils::hook::set(0x141F04550_g, 0xC300000001B8); // Kill LPC_File_SafeWrite + utils::hook::set(0x141F03180_g, 0xC300000001B8); // Kill LPC_DeleteStale } void pre_destroy() override