f6cdab7ec7783ba7ce5cf44fab1f40dc681cb8e1
Clearing missionSupportUnitRef as soon as the support unit died kept the player from getting the vehicle back: the unit update (2.61.0.37 0xfd1450, 0xfd2f01 / 0xfd25a7) recognises the player's dead support unit by that reference (unit +0x88 == MPlayer +0xb58) and only then calls setControlledUnit(mp, 0) (0x598a70) to return control. In game the camera stayed on the wreck until the player respawned. Remember the player and the dead unit's entity id at the death, and clear the reference after setControlledUnit has run for that player (new hook, LMP_SIG_SET_CONTROLLED_UNIT, 2.61.0.37 hit 0x598a70), as long as it still names that unit. Checked with the native build and check-offsets; not yet verified in game.
WTOfflineProject
《战争雷霆》离线版。目标客户端版本:Steam 2.61.0.37。
做法和 SPT 一样:客户端的所有联网请求改到本机,由本地服务模拟 Gaijin 的服务器。
本仓库不包含任何游戏文件。构建时从一个游戏文件夹读取原版文件。
| 目录 | 内容 |
|---|---|
packages/ |
TypeScript(npm workspace):BLK 编解码、数据包读写、exe 补丁应用、构建流程、本地服务,以后还有启动器 |
tools/ |
Python 开发端工具:数据包读写、exe 补丁引擎(特征码生成、汇编核对) |
exe-patches/ |
exe 补丁定义 |
Description
WTOffline is a single-player offline project for the Windows client of War Thunder.
12 MiB
0 Stars
1 Watchers
0 Forks
Releases
2
WTOffline Launcher 0.1.2
Latest
Languages
TypeScript
82.1%
C
6%
Squirrel
3.3%
Python
3.1%
CSS
2.5%
Other
2.9%