Files
WT-Offline/patches/exe/battle/allow-local-host-player-respawn/patch.jsonc
T

25 lines
882 B
JSON

// Let the LocalMP host's player spawn in versus modes (GM_DOMINATION and others): the UnitRespawnRequest
// (0xf02f) branch of Unit::onEvent takes the spawn path at 0x1044f03 for every game mode (0x1044ecc jb -> jmp).
// Why the exe: the client keeps the spawn path only for GM_SINGLE_MISSION and GM_DYNAMIC; the versus modes'
// branch belongs to the dedicated server, which the build drops, and nothing outside the function decides it.
// Without it: after the "To Battle!" countdown the player falls back to vehicle selection.
{
"id": "battle/allow-local-host-player-respawn",
"title": "Let the LocalMP host's player spawn in versus modes",
"features": [
"K-出生点数 / 重生"
],
"requires": [],
"verified_on": [
"2.61.0.37"
],
"edit": {
"offset": 49,
"asm": [
"jmp 0x37"
],
"bytes": "eb35",
"expect_original": "7235"
}
}