// LocalMP construction and chat host (native/wto-net/src/local_mp_actions.c): both teams' countries // and the AI vehicle pool, and an MPChat host that delivers the player's messages. // Without it: each side has a single country, and chat messages are not delivered. { "module": "local_mp_actions", "features": [ "K-AI opponents and teammates", "K-Chat and radio" ], "requires": [ "local_mp_core" ], "sites": { // Multiplayer::initMPChat. // 2.61.0.37: 0x5bd6a0 "mp_init_chat": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "signature", "pattern": "41 57 41 56 41 54 56 57 53 48 83 ec 48 48 89 d7 48 89 ce 48 8b 05 ?? ?? ?? ?? 48 85 c0 74 ?? c6 00 01 48 8b 9e 00 02 00 00" } } ] }, // Multiplayer MPChat pointer. // 2.61.0.37: 0x5bd732 (mov rbx, qword ptr [rsi + 0x1f0]; test rbx, rbx; je 0x5bd7e0) "mp_chat": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "within", "in": "mp_init_chat", "pattern": "48 8b 9e ?? ?? ?? ?? 48 85 db 0f 84 ?? ?? ?? ??", "captures": { "mp_chat": { "offset": 3, "type": "u32" } } } } ] }, // BotSystem setup (refers to "botDeviationLimits"). // 2.61.0.37: 0x11af3f0 "bot_system_setup": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "string_ref", "string": "botDeviationLimits", "target": "function" } } ] }, // Multiplayer country vectors of both teams. // 2.61.0.37: 0x11afd9f (mov rbx, qword ptr [r10 + 0x150]; mov r14, qword ptr [r10 + 0x170]) "mp_team_countries": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "within", "in": "bot_system_setup", "pattern": "49 8b 9a ?? ?? ?? ?? 4d 8b b2 ?? ?? ?? ??", "captures": { "team1_countries": { "offset": 3, "type": "u32" }, "team2_countries": { "offset": 10, "type": "u32" } } } } ] } } }