Files
WT-Offline/patches/exe/battle/count-bots-as-active-players/patch.jsonc
T
N0VAN0M4LY f863b1022c Name patch feature tags in English
The features listed by every exe and GUI patch definition now use English
tags, so contributors can read them without knowing Chinese. Each tag keeps
its feature inventory section letter (A- to O-) and translates the inventory
row it stands for. Tags that named the same row in two languages are merged
(store, premium account, marketplace), and the external inventory tag on the
coupon redemption patch joins the coupons tag it describes: 32 tags become 28.

The three essential tags in the patcher and the launcher's feature labels in
both locales follow the rename.

Checked: check-patches, check-gui, root and launcher typecheck, launcher
build, a build-game-copy run into a temporary folder (12 exe and 35 GUI
patches ready, as before), and install:listFeatures in the launcher
returning 28 tags with the three essential ones flagged.
2026-11-29 11:25:44 +08:00

27 lines
924 B
JSON

// Count AI players in countActivePlayers, the player count that domination ticket bleed and the
// battle's player-count rules use.
// Why the exe: the stock count walks MPlayers with a filter that skips bots (MPlayer+0x1d8 bit 7,
// "isBot"), because online battles have human players only; in a LocalMP battle the AI players take
// the human players' places, so the filter would count the AI team as empty. The filter is an
// immediate in the function; nothing outside it can change it.
// Without it: the AI team counts as having no active players.
{
"id": "battle/count-bots-as-active-players",
"title": "Count AI players as active players in LocalMP battles",
"features": [
"K-Kill, assist and capture scoring"
],
"requires": [],
"verified_on": [
"2.61.0.37"
],
"edit": {
"offset": 24,
"asm": [
"or eax, 0x32"
],
"bytes": "83c832",
"expect_original": "83c83a"
}
}