8e4d4b6ea3702507ee4714836fde2faceb7c6920
The local service now settles vehicle repair after a battle and charges hangar repairs at the price the client shows. - New dataset vehicle-repair (wpcost.blk repairCost<Mode>, repairCostPerMin<Mode>, modifications' repairCostCoef<Mode>) and RepairRules, which follow the client's own formulas: full cost = repairCost<Mode> x (1 + coefficients of the owned modifications) (aces.exe 2.61.0.37 0x10517b0, 0x964900); current cost = max(1, (1 - hp) x full cost) in the vehicle's lastGameMode (getAircraftRepairCost 0x90e0b0). - The price table now carries aircrafts/<vehicle>/repair/<mode>/cost, where the client looks the full repair cost up; it read 0 before. - After a battle each life costs the official lifetime share: destroyed = repairCostPerMin x minutes started, at most the full cost; leaving the vehicle (or the battle) early = full cost; surviving = nothing; destroyed by an ally = nothing. The cost is written as hp, lastGameMode and time on the hangar entry, so the client's own repair cost matches it. - Automatic repair (autoRepairAircrafts, on by default) pays for the damaged vehicles the player can afford; premium accounts with automatic repair and ammunition purchase get the expenses beyond the battle's earnings back. The battle log gets aircrafts hp, autoRepairWasOn, container.aircraftsRepaired and wpExpensesCompensation; the debriefing gets the ExpensesCompensation row. - cln_prepare_aircraft, cln_repair_all and cln_repair_all_in_slots carry no price; they now charge the current repair cost instead of repairing for free. 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%