Vehicle research points now follow rank.blk: the predecessor bonus
(expBonusPercentForChildForMode), the rank difference penalty
(expPenaltyPercentForHigherRank / LowerRank) and the Vehicle Research
Bonus (ExpNewNationBonus, five battles per nation and type per UTC day).
Modifications keep the research points before these terms.
The settlement records each vehicle's breakdown in the session log's
container.researchPoints, which the stock debriefing explains in its
research rows. The debriefing patch now selects the battle's logs by
room id, since a LocalMP host is in no matching room and the stock
current-room check cannot match them.
The LocalMP host has no battle server, and the previous bridge filled the
gap by computing money in the client: the native ledger wrote invented
amounts into SessionStatsNet, the spawn patch derived reward rates from
warpoints.blk, and the settlement patch summed and rescaled the result.
Rewards came out as zero or several orders of magnitude too high.
Now the client reports facts and the local service prices them.
Native (wto_ws.dll):
- local_mp_ledger.c is removed together with its SessionStatsNet
offsets and four signatures (43 -> 39).
- local_mp_awards.c raises the HUD script event wtoLocalMpExpEvent for
every combat event of the local player (event code, victim expClass
and name, player or AI victim, friendly, naval damage). The DataBlock
helpers and the HUD event queue are resolved from call sites inside
GameSaveData::addScoreMessage, which already has a signature.
GUI patches:
- record-local-battle-awards records events and lives in nestdb and
raises the stock InBattleReward banner from launch-time parameters.
- report-local-battle-settlement sends only facts and rebuilds the
debriefing from the settled table; failures show the stock error box.
- use-settled-debriefing-stats makes gatherDebriefingResult read that
table instead of the empty stat_get_exp().
- pass-spawn-modifications-blk no longer computes economy factors.
Local service:
- battle-economy dataset reads every reward factor from wpcost.blk,
warpoints.blk and rank.blk; tuning/battle-economy.jsonc holds the
mission score per event with its source (official values where
published, otherwise marked).
- battle-economy.ts is the single pricing function, shared by the
banner parameters and the settlement; battle-rewards.ts adds battle
time, timed award, win/defeat bonus, activity, premium account,
talisman, skill bonus and free research points; the debriefing table
has the stat_get_exp() layout and travels in EULT_SESSION_RESULT.
- Crews earn skill points from the battle's research points.
- A battle left before it ends counts as a defeat.
Verified: npm run typecheck, check-gui (35 patches), check-patches,
check-offsets, native build. Not yet run in game.
Records the uncommitted battle-session work exactly as it was left
(local service matchmaking, settlement, chat, native LocalMP hooks,
battle gui/exe patches) so the following review and rework commits
show every correction as a diff against this state.
This commit is not reviewed and is known to be incomplete: in-game
testing reported wrong settlement rewards, single-country teams,
missing random/fixed supplement slots, misattributed hit messages and
other regressions. Do not merge this branch before the rework lands.
Save carts per account and settle each order in one profile update. Add featured packs, a screenshot and video gallery, and premium artwork from the game files.
Persist the actual grant in the purchase log and open one native receipt per unread entry. Keep pending receipts during log trimming and resume them when the price table becomes available.
Verified TypeScript types, GUI patch application, and Quirrel syntax.
Add catalogue filters, item detail views, and purchase and resale
actions. Resolve images from the player's asset pack, public image
URLs, or local game data. Add a utility for creating the optional
local asset pack.
Type checking and JavaScript syntax checks passed. Embedded browser
appearance and in-game behavior still need acceptance.
Save revisions to custom weapon presets and return the full profile.
Keep an empty top-level weaponPresets block after the final deletion
so the client clears its cached presets. Treat the tier-zero
allowPremDecals modification as researchable.
Type checking passed. In-game acceptance is pending.
Extract weapon prerequisites, default equipment states, and exclusive
groups. Grant eligible zero-cost modifications in dependency order and
initialize newly unlocked consumables and weapon presets at capacity.
When automatic restocking is enabled, replenish existing stock subject
to the Silver Lions balance. Enforce purchase prerequisites and
exclusive equipment groups.
Type checking, patch checks, and local data extraction and restocking
checks passed. In-game acceptance is pending.
Use the native embedded browser and pass the game language through
auto_local. Share web assets and extract vehicle icons, flags, and
localized names from the installed client.
Load and validate per-domain JSONC tuning and merge local overrides
by field. Use official store USD prices for GJN products, keep GJN
balances in integer cents, and split the native and web store
handlers by protocol. Multi-vehicle packs are still listed as single
vehicles at this point.
Type checking, patch checks, and configuration loading passed.
In-game acceptance is pending.
Read squadron action parameters from the request headers and persist
squadron state on profile refresh. Use floating-point trophy weights
to match the client probability display and assign unique log IDs
when opening multiple chests.
Tighten shop, marketplace, squadron, and cloud settings validation.
Move PBBD and inventory encoding into the protocol modules and share
CSV reading. Update the research and acceptance instructions.
Type checking and all eight executable patch checks passed.
In-game acceptance is pending.
Split inventory definition generation by category and select chest
contents deterministically. Move squadron queries, membership, and
lifecycle into focused modules and enforce role permissions.
Serve store and marketplace pages as static files with shared web
helpers. Share profile field readers and keep response encoding in
the protocol modules. Restrict cloud settings to registered blocks.
Type checking and the save CLI ran successfully. In-game acceptance
is pending.
Store and activate boosters, personal discounts, wagers, and universal
spares. Apply active personal discounts when pricing vehicle purchases.
Return the server time and default fields for every showcase type.
Add developer commands for inspecting game logs, strings, references,
callers, and disassembly.
Load unlock prices from unlocks.blk and expose them in Common/unlocks.
Support purchasing unlocks and saving showcases, and count qualified
crews for the ace showcase.
Read charRequestBlk action parameters from HTTP headers and apply this
to cln_get_users_terse_info.
Write modStatus in modsResearch so the client recognizes purchasable
modifications. Persist ownership and initial equipment state for free
modifications and quantities for free weapon presets.
Persist preset inventory in the weapon records and handle cln_buy_weapon
using the maximum quantity extracted from the game data.
Support spending crew skill points, buying skill point packs, and
purchasing expert and ace qualifications. Charge for training a crew on
an unfamiliar vehicle and expose the skill pack prices.
Include modification, weapon, and spare vehicle prices, omitting zero
prices. Recalculate modification research and ranks and handle research
target selection, purchases, bulk purchases, and equipment toggles.
Recompute unlocked ranks, prerequisites, and unit states before serving
profiles. Add research target selection, research conversion, vehicle
and slot purchases, and the price table. Support editing convertible RP
and restrict hidden vehicle visibility to eligible entries.
The client still displays zero purchase prices pending price table
integration.
Set initial Silver Lions and Golden Eagles balances and add a save
editing command. Open rank I for each nation and branch and migrate
older saves to format 3. Reveal eligible hidden vehicles while keeping
split air-defense launchers out of the tech tree.
Document the currency, rank, and unit status fields observed in the offline client.
Derive reserve vehicles from the stock economy data. Grant all reserves
and mark the basic takeoff and landing tutorials complete in new saves.
Apply the same grants through the format 2 migration.
Use shared crew slot rules for first-run selection, presets, training,
assignment, and removal.
Save the selected country, starting crew, and unlocks when the client
submits its first-run selection. Use the stock unlock and crew formats.
Enable the existing option to skip the basic tutorial.
The client reached the hangar. Tutorial verification is pending.
Add matching frame and message handling, per-connection session
encryption, and loopback traffic dispatch. Serve the decorative content
manifest and empty indices to remove startup download waits.
Resolve character requests to their explicit account ID, include the
nickname in profile replies, and redact matching traffic logs.