132 Commits
Author SHA1 Message Date
Flechazo 045f7ac193 chore(all): release client 0.2.19 and server 0.2.6 for game 2.38.11
release notes / releases (push) Successful in 2s
2026-11-12 17:40:20 +08:00
Flechazo bae82a859b feat(client): register plugins dynamically and add BetterExperience with audio and inventory fixes 2026-11-12 17:40:19 +08:00
Flechazo 7da29e7bee refactor(all): localize source comparison and release messages 2026-11-12 17:39:25 +08:00
Flechazo dec353c3a2 feat(server): complete draws, presets, rewards and unlocks with localized diagnostics 2026-11-12 17:39:20 +08:00
Flechazo d2d92d3961 fix(server): share mode-specific formation validation, preserve partial saves and resolve airship talents 2026-10-26 00:11:08 +08:00
Flechazo bf6c24a236 feat(all): match PvP opponents using contextual skill ratings and battle reports 2026-10-25 23:18:07 +08:00
Flechazo d1711697c1 fix(server): include fishing ticket schedules in charge information 2026-10-25 23:04:58 +08:00
Flechazo 08cd490861 fix(server): return native no-opponent errors from PvP matching 2026-10-25 22:23:53 +08:00
Flechazo ac6c5526c2 fix(server): accept signed furniture rotation and interaction in room saves 2026-10-25 21:48:06 +08:00
Flechazo 8123ddf321 fix(server): keep live game sessions active during long battles 2026-10-25 20:59:35 +08:00
Flechazo 339b2dcaee fix(client): derive loaded plugin reporting from the managed registry
Pass managed plugin IDs and DLL names through launcher runtime settings. Report real versions only from loaded managed assemblies, excluding third-party and failed plugins.
2026-10-25 19:20:52 +08:00
Flechazo e8f0ed8e7d fix(server): price room expansions by owned room count
Allow any valid unowned grid cell and use the next owned-room count for its price. Verify exact charges, retries, rejected purchases, and persistence.
2026-10-25 18:20:05 +08:00
Flechazo b62dc26a37 fix(client): validate dev launches against server compatibility requirements 2026-10-25 18:10:39 +08:00
Flechazo 3ca98d774d fix(client): support new plugin updates and prepare manual client 0.2.15
Validate plugin identifiers without a fixed list and accept installed versions above declared minima. Cover future launcher and plugin downloads and installation.

Withdraw the canceled 0.2.14 announcement, retain server 0.2.3, and sign manual client metadata without publishing a new update.
2026-10-25 18:05:54 +08:00
Flechazo 2b5a06a647 chore(server): remove unused puzzle test helpers 2026-10-25 17:42:23 +08:00
Flechazo ed2b24ef2c feat(all): save preset first-turn actions and apply them in battle 2026-10-25 17:42:23 +08:00
Flechazo e06d68aaaf fix(all): restore room placement, inventory counts and saved layouts 2026-10-25 17:42:22 +08:00
Flechazo 3b39718d76 fix(server): restore tower clear package eligibility 2026-10-25 17:42:22 +08:00
Flechazo dbfd30d089 fix(all): preserve equipment health ratios and release updated server and client
release notes / releases (push) Successful in 2s
2026-10-25 14:39:25 +08:00
Flechazo 0550a85c01 fix(plugin): restore mapped members for item refresh and story recovery 2026-10-25 14:03:58 +08:00
Flechazo e59e87c882 fix(server): accept portrait ID card orientation from the profile panel 2026-10-25 14:03:57 +08:00
Flechazo 59ce3ce74b fix(server): restore quest chains, rewards and progress across game cards 2026-10-25 14:03:57 +08:00
Flechazo 2493edd566 feat(server): add unlimited item stacks, farm quests and castle battle fixes
Replace the console's unlimited bag capacity with an owner-scoped unlimited item stacks switch that merges and splits stacks on the next request, trims overflow when switched off and flags Notify field 1000; update permissions, the console UI and its five languages, and ADMIN_CONSOLE.md.

Serve the farm's Life quest chain so its tutorial completes and life quests pay rewards; support bulk food purchase, cooking and eating with buff lifetimes, cross-chunk object moves, building cost limits and crop stage timing.

Settle Evil Castle field battles with borrowed supporters or no costume index, validate costume ownership, resume Pride boss floors before rewards, pay only new tower victories and exclude unfinished runs from floor rewards; load pack 3003 research despite unlisted scenes.

Attach context to sentinel errors across domains, storage and protocol code; drop the unlimited-inventory and quest battle integration tests superseded by this work.
2026-10-24 23:27:20 +08:00
Flechazo 2d2678e0b5 fix(server): correct life rewards and expand operator item grants
Use native millisecond timestamps for life timers and preserve resource variants on regeneration.
Return reward deltas so gathering and crafting caches match persisted balances; log exact material shortages.
Expose all life materials, crops, recipes, furnishings and Local Points in the operator catalog.
Credit mail through the owning life economy and prevent duplicate claims, with localized categories and regressions.
2026-10-24 01:23:14 +08:00
Flechazo 9db4e8356c fix(server): limit administrator mail to their own accounts
Require an explicit mail permission for administrators and enforce recipient ownership on the server.
Keep owner access to all players and align the console controls and five-language permission descriptions.
2026-10-24 01:23:13 +08:00
Flechazo 1239a8dadc fix(client): align development resources and improve update downloads
Use repository versions, fingerprints and game paths for development launches.
Report server response details for failed downloads and compatibility requests.
Publish flat launcher archives and require independently signed changelogs before announcements.
2026-10-24 01:22:50 +08:00
Flechazo 91a5e1fb26 feat(all): adapt gameplay and account state to 2.37.13
Update game mappings, resource versions, schedules, seeds and plugin targets for 2.37.13.
Use global instance identities for inventory, equipment, story characters and borrowed supporters.
Unify mission conditions and progression across battles, equipment, events, fishing and account state.
Complete pack purchase, reward, exploration, replay and introduction flows; reconcile starter rewards and profile unlocks.
Correct gacha discounts, sequential shop packages, restaurant and dating progression.
Restore friend presence, virtual-square realtime rooms, arena costume costs and guild raid settlement.
2026-10-24 01:22:48 +08:00
Flechazo 6f00e1a53e feat(all): apply signed client database migrations before launch
Serve signed, versioned migration plans encrypted for the requesting client.
Validate identity and schema, restrict SQL, serialize database access and record applied migrations.
Run migrations before normal and secondary-instance launches; signing remains an independent local operation.
2026-10-24 01:22:05 +08:00
Flechazo c1b8aa6cfa feat(server): add durable shared instance ID allocation
Lease committed SQLite ID ranges for account-wide object identities.
Expose allocation through command contexts and in-memory state for gameplay and tests.
2026-10-24 01:21:15 +08:00
Flechazo 92bdf2e421 perf(all): bypass build bootstrap for help and unknown tasks
Read the shared task catalog and help text directly in both wrappers.
Cache Windows build tools by source fingerprints and avoid replacing active executables.
2026-10-24 01:21:15 +08:00
Flechazo 2cd9b30263 feat(all): improve downloads, mod loading and story battle recovery
Show localized download progress and improve resource transfer handling.
Unify plugin builds, caching, installation and releases; include BrownDustX acceleration.
Fix exhausted story combat parties and inn placement handling.
Release client 0.2.4 with signed multilingual update metadata.
2026-10-19 22:06:31 +08:00
Flechazo 6da2d9b89c feat(all): add server gameplay systems, one-step launcher installation, clearer update logs and shared file utilities
Server:
- Add castle and total war battles, IB battles, roguelike runs with castle and roguelike rankings, cafeteria and dating, life content, spine interactions and recordings, popularity rankings, gacha history and selection draws, map exploration, quest previews and completion, passes, rhythm events, quick battles, achievement progress, resource items, prestige illustrations and community notices.
- Report structured request errors from the gateway, validate avatars, and extend settlement evidence and existing domain handlers.
- Let bd2-host.sh deploy from a source directory or a prebuilt image and update the deployment docs and Docker ignore list.

Launcher:
- Prepare a new installation directly from the launcher (download, BepInEx, catalog, patch, plugins) through a shared preparation package also used by bd2client prepare.
- Launching and preparing now wait for a running background update instead of failing with "Another update operation is in progress"; manual update checks wait as well, and launch downloads no longer use the 12-second resource-policy timeout.
- Log what each update check found, every downloaded file, the server requirement, the game resource decision and installed plugins; skip warnings caused by closing the launcher.

Shared:
- Move file hashing and atomic replacement into common/util and use it from the build, release, launcher and server code.
2026-10-19 00:04:02 +08:00
Flechazo 55273e6305 feat(client): add one-click prepare, stop showing updating while checking, and bundle third-party notices for BepInEx 2026-10-18 22:50:39 +08:00
Flechazo 27bde103be fix(server): require at least five minutes of maintenance countdown
Idle game clients only poll the server every three minutes, so a shorter
countdown could reach players only after maintenance had started. Schedule
now accepts 0 (start now) or 5 minutes to 24 hours, updates.json validates
its default countdown the same way, and the console explains the rule in
every language.
2026-10-17 00:01:39 +08:00
Flechazo 1b08616183 fix(server): deliver maintenance warnings to idle clients and keep the console readable while restarting
Idle game clients only poll the plaintext /ServerNowTime every three
minutes, and that bootstrap reply carried no Notify, so a scheduled
maintenance reached them only through a later gameplay request, often at
the very end. The bootstrap reply now carries the same server-wide Notify
(maintenance start and notice sequence) as game responses.

While the server drains and restarts, the console's text formatting API is
unreachable, so error and status text failed with "Text formatting failed".
text.js now renders the %[n]s translations locally when the API cannot be
reached, and the updates view shows a translated restarting notice and keeps
polling during maintenance.
2026-10-16 23:34:40 +08:00
Flechazo 47e88b52ad refactor(server): replace the Docker update helpers with one host deployment script
Add tools/server/bd2-host.sh with setup, install, deploy, handoff, rollback
and status commands so manual deploys and server-requested updates share one
source check, image build, container switch and readiness check, with the
image chosen only through .env. It reads host settings from
/etc/bd2/host.conf, generates its systemd units instead of patching them,
and copies a default Compose template on first install. Remove the separate
bd2-docker-update script and units, ship bd2-host.sh and compose.yaml in the
server package, and document one-click Docker deployment in the README.
2026-10-16 23:29:10 +08:00
Flechazo 04296dc409 fix(all): use explicit configuration and repair update status
Remove redundant environment overrides, unify plugin configuration, and fix cross-drive downloads.

Track completed update checks and bundled schedule identities. Restore the previous GameData contract for update verification.
2026-10-16 23:09:15 +08:00
Flechazo c877cbb65a fix(server): unify update console branches 2026-10-16 22:25:18 +08:00
Flechazo 17a467043a fix(all): repair update application, notices and development startup
Add schedules as a branch of the existing signed update flow and support same-version GameData updates with fingerprint-checked handoffs.

Fix development plugin caching, cancellation handling, plugin compatibility reporting and notice navigation.
2026-10-16 22:04:32 +08:00
Flechazo e96232b779 feat(all): complete gameplay systems and add signed updates
Complete equipment, item storage, roster, battle recovery, PvP, recommendations, statues and fishing flows.

Add localized launcher and console interfaces, signed releases and announcements, verified resource updates and required-update prompts.

Publish gameplay notes for client and server 0.2.0.
2026-10-15 23:12:59 +08:00
Flechazo 00f1092940 fix(server): suspend field timers during UI pauses
Persist session pause intervals and extend limited monster deadlines by the returned seconds.
Preserve weekly resets, reuse resume replies on retries, and clear abandoned pauses on login and pack entry.
2026-10-14 21:35:23 +08:00
Flechazo 804fabb47d feat(server): add console administrators with per-section configuration permissions
Replace console members with owner-appointed administrators whose permissions are checked on every request; default administrators may send mail and view players, inventory overrides are grantable, and appointing administrators and the server overview stay owner-only.
Add section-level read and write access to the generic configuration API: restricted editors see only readable sections, cannot change read-only ones, and keep hidden sections unchanged on save.
2026-10-14 01:02:11 +08:00
Flechazo c6250e62af feat(server): add built-in web console and generic configuration API
Serve an /admin/ console with game-account sign-in, owner and member roles, single-use owner links, schema-driven configuration editing, direct mail and inventory overrides.
Turn common/config into documents with schemas, located problems, advice, locks and revision-checked atomic writes; migrate game, authentication, resources and dev-tools settings onto it, default them to DATA_DIR/config and expose them through configapi.
Port the direct-mail item catalog to Go, write mail through the spool reader's own validation and document the console.
2026-10-14 00:48:18 +08:00
Flechazo a35f949391 fix(server): standardize guest names and record successful game logins
Keep UIDs numeric and assign Guest_<UID> only to newly created players.
Update account login timestamps after successful game entry, without counting authentication, failed logins or ordinary gameplay requests.
2026-10-14 00:43:51 +08:00
Flechazo f06cd97b01 feat(server): complete arcade gameplay, rewards and shared rankings
Implement PackMan and complete Survival, Sichuan, Rhythm, Hopscotch and field games, including Action missions and Defense rewards.
Correct cumulative daily rewards, timed records and ghost replays; persist player progress and publish shared rankings through the outbox.
2026-10-14 00:05:50 +08:00
Flechazo d5fdb2f9bc fix(all): preserve cinema gate continuations during story checkpoints
Run native cinema completion before timeline teardown and serialize checkpoint updates.
Add field-transition and saved-position diagnostics for quest navigation.
2026-10-14 00:04:22 +08:00
Flechazo fe67072b7d refactor(all): share core services and streamline launcher workflows
Centralize configuration, logging, database decryption and resource metadata.
Use task dependencies for development, SDK and release builds; move source tools and game downloads to Go with ordered client preparation.
Rename the client to BD2 Launcher, add native icons, and update packaging and SDK checks.
2026-10-14 00:04:21 +08:00
Flechazo 3e7aa33cf4 feat(all): complete social gameplay and streamline client workflows
- Complete friend likes and gifts, supporter rentals, room gameplay, public profiles and rankings.
- Reconcile historical achievements and titles without repeating claims; correct progress counters.
- Fix chapter checkpoints, field reward restoration and map exploration statistics.
- Isolate inventory overrides by account and expose authenticated game UID lookup.
- Add AI translation options, bounded caching and usage diagnostics; fix live toggles, fonts and popup layout.
- Cache unified plugin builds, SDK preparation, version sources and reobfuscation; archive Unity logs and use native C# text formatting.
- Add Python game/resource downloads with automatic Client Studio setup; remove local mail tooling from version control.
2026-10-13 12:36:34 +08:00
Flechazo 8d5d7dfb76 feat(all): Big Bang
- Support the October 8 official update with current game data, schedules and seeds.
- Add profiles, friends, guilds, PvP, realtime chat, fishing and multiplayer modes.
- Persist shared rewards and settlements with transactional delivery and recovery.
- Fix activity rewards, mission periods, monster-hunt ranking and replay, and field progression.
- Improve login, network connectivity, session recovery and unfinished story restoration.
- Add configurable AI chat translation and server-authoritative text moderation.
- Add Minecraft-style SDK text components with five-language JSON catalogs.
- Support isolated second clients and update build, resource, capture and source-analysis tools and docs.
2026-10-11 23:39:11 +08:00
Flechazo d46863b3f1 feat(all): implement SkyWay progression, battles and dispatch; fix field reward position ordering 2026-10-08 19:55:29 +08:00