chore(battle): snapshot the LocalMP rework baseline

Records the uncommitted battle-session work exactly as it was left
(local service matchmaking, settlement, chat, native LocalMP hooks,
battle gui/exe patches) so the following review and rework commits
show every correction as a diff against this state.

This commit is not reviewed and is known to be incomplete: in-game
testing reported wrong settlement rewards, single-country teams,
missing random/fixed supplement slots, misattributed hit messages and
other regressions. Do not merge this branch before the rework lands.
This commit is contained in:
N0VAN0M4LY committed 2026-11-28 03:15:47 +08:00
1 parent 5c9204c031
commit b260d2899e
97 files changed
+7676 -396

No files matched your search

+4 -1
View File
@@ -37,7 +37,10 @@ static int install(void)
g_ws2 = GetModuleHandleW(L"ws2_32.dll");
if (g_ws2 == NULL || MH_Initialize() != MH_OK)
return 0;
return install_resolver_hooks() && install_connection_hooks();
if (!install_resolver_hooks() || !install_connection_hooks())
return 0;
install_local_mp_hooks();
return 1;
}
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)