// Let the LocalMP host launch a UCAV (the light tank recon drone and the strike UCAV) from its vehicle. // Why the exe: ucavLaunch returns at once when g_multiplayer->isHost is set, because on a dedicated // server the launch is handled by server code that the client build does not contain; a LocalMP host // is that server. Nothing outside the function decides it. // Without it: pressing the drone key on a LocalMP host does nothing. { "id": "battle/allow-local-host-ucav-launch", "title": "Let a LocalMP host launch UCAVs", "features": [ "K-Scouting" ], "requires": [], "variants": [ // Masked signature of ucavLaunch from its prologue to the g_multiplayer->isHost early return, 0x35 // bytes; the rip-relative load of g_multiplayer and the branch targets are wildcards. // 2.61.0.37: unique hit at 0x101ccd0, edited instruction (jne to the return) at +51 (0x101cd03). { "written_for": "2.61.0.37", "locate": { "method": "signature", "section": ".text", "pattern": "41 57 41 56 41 55 41 54 56 57 55 53 48 81 ec 18 02 00 00 0f 29 bc 24 00 02 00 00 0f 29 b4 24 f0 01 00 00 48 8b 05 ?? ?? ?? ?? 48 85 c0 74 ?? 80 78 60 00 75 ??" }, "edit": { "offset": 51, "asm": [ "nop", "nop" ], "bytes": "90 90", "expect_original": "75 3a" } } ] }