Skip to content

fix: custom mod map resolution, mod-map locking, and stuck update status (v0.14.2) - #9

Merged
LokiRothbrook merged 28 commits into
mainfrom
dev
Aug 26, 2026
Merged

LokiRothbrook merged 28 commits into
mainfrom
dev

Conversation

@LokiRothbrook

Copy link
Copy Markdown
Owner

Bug-fix release — custom/mod map handling and two server-lifecycle edge cases.

Fixes

Custom mod maps not working
A server created (or switched) to a custom mod map now actually launches on that map. The launch arguments previously fell back to The Island, the server details page showed a garbled internal ID instead of the map's name, and custom maps didn't appear in the Settings map dropdown — all symptoms of the custom maps table never being merged into the rest of the app's map lookups. Fixed everywhere it was needed: launch args, backups, the scheduler, display labels, and the dropdown.

Map's required mod not enforced on an existing server
Changing a server's map in Settings now adds and locks the new map's required mod (can't be disabled/removed while that map is selected) and removes the previous map's mod — matching what already happened correctly during server creation.

Copying mods from another server could drop the current map's required mod
The creation wizard's "copy from server" step now merges the copied mod list instead of replacing it outright, so a mod map's required mod picked earlier in the wizard survives the copy.

Map mod display name and ordering
A map's required mod now shows the map's own name in the Mods tab instead of "Unknown Mod", and always sorts to the top of the installed mods list.

Servers stuck on "Updating…" after a stopped server's auto-update
A scheduled or startup-triggered auto-update on a stopped server would apply successfully but leave the status stuck on the update-in-progress spinner, requiring a manual Cancel + Reinstall. Status now resets correctly once the update finishes.

Version

0.14.2 (patch — fixes only, no new features)

Arron Ohnemus added 28 commits June 22, 2026 10:42
- Implemented `get_dir_size` command in `server.rs` to return the total on-disk size of a directory.
- Integrated the new command into the Tauri command set in `lib.rs`.
- Updated the `DeleteDialog` component to display the size of the cluster directory and allow users to choose whether to delete it.
- Modified the `deleteCluster` command to accept a parameter for deleting files.
- Enhanced the firewall management logic to ensure all relevant ports are accounted for when adding/removing firewall rules.
- Refactored server start parameters handling to streamline the process and ensure correct parameters are passed.
- Updated various components to reflect changes in server management and firewall handling.
…ionality

- Added a new "Mod Maps" entry in the sidebar navigation.
- Updated ServerActionMenu to remove legacy save folder name handling.
- Enhanced ServerCard to create save links after server updates.
- Modified BackupsTab to utilize base directory for backups and removed save folder name dependency.
- Updated OverviewTab to support importing save data from other stopped servers.
- Introduced a new dialog for importing saves, allowing users to select a source server.
- Created useAllMaps hook to merge built-in and custom maps for better map management.
- Implemented database migrations for custom mod maps and updated related database functions.
- Refactored server utility functions to remove legacy save folder name handling.
…lector

- Add create_mods_saves_link command to create platform-specific links for mod saves
- Refactor backup compression to support alternative root paths for multi-source backups
- Store mod SaveGames in backups under Mods/{map_path}/ structure
- Rewrite restore_server_backup to handle canonical locations and recreate symlinks
- Add map selector UI to Config tab for changing maps without reinstalling
- Update server's map_id in database when map changes
- Call create_mods_saves_link on server install, update, wizard completion, and map change
… and UX fixes

Add remap_import_paths command to rewrite all DB paths (app_settings,
servers, backups) when importing from a different base directory. Extend
ImportVerifyPanel with Amazon mod cert installation and firewall port
checking/opening. Add fallback path detection for SteamCMD and Proton-GE
when stored paths don't match the import location. Fix SteamCMD/Proton
tab switching to only lock during active download, preserve manually-added
Proton entries across rescans, add debounced validation to BackupDirStep,
and self-heal both save symlinks on server start
- Make --popover CSS variable theme-aware per preset (neon/abyss/toxic/storm)
- Replace all hardcoded dark backgrounds with var(--surface), var(--surface-elevated), and var(--popover)
- Remove hardcoded border-t and bg-muted/50 from DialogFooter globally
- Standardize page headers (icon size, text size, subtitle, accent color) on Mod Maps, Clusters, Notifications, Logs, Backups, and Settings pages
- Standardize all action buttons to use variant="outline" with purple accent styling
- Standardize all empty states to match the dashboard pattern (circular icon container, lg title, sm description, themed button)
- Add "Servers in Cluster" section and move Add Server button to cluster detail page header
- Resolve actual cluster directory path and add open folder button with themed tooltip
- Add Create Server button to Logs and Backups empty states via global wizard trigger
- Fix delete button hover effects by moving background into Tailwind classes to avoid inline style specificity conflicts
…uard, and nav fixes

- Register abort flag in update_cache Rust command so running ops are
  trackable via get_running_ops; enables close guard and nav reconnect
- Add get_running_ops command; extend CloseWarningManager to check both
  server installs and tool ops on close/tray-quit, showing a combined
  abort dialog
- Persist ASA cache install progress when navigating away and back;
  polling only runs in reconnect mode to avoid racing runCacheOp's own
  state management
- Pre-download button on Updates tab navigates to General tab and
  auto-scrolls to the cache row, auto-starting the install
- Disable and relabel the ASA update button while any cache op is
  running, mirroring the TopBar spinner label
- Replace boolean asaCacheUpdateInProgress store flag with
  asaCacheOpLabel (string | null) so TopBar shows the correct op name
  (Installing / Reinstalling / Verifying vs. Checking ASA updates)
- Reset tab scroll position to top on tab switch; skip reset when the
  pre-download navigation triggers its own scrollIntoView
- Fix CommandOutputPanel duplicate key error on remount caused by
  mutating the shared buffer array before setLines reads prev
feat(store): enhance AppState with Proton-GE operation tracking
- Removed rcon_password from server records and replaced all instances with admin_password for consistency.
- Updated backup and restore functions to use saveFolder derived from ARK_MAPS.
- Adjusted server management functions to ensure RCON commands utilize the new admin_password field.
- Enhanced the handling of custom mod sections in GameUserSettings.ini.
- Implemented database migrations to drop rcon_password and migrate existing data to the new structure.
- Updated relevant UI components to reflect changes in server configuration and management.
- Simplified state management in CronBuilder by removing unnecessary useEffect.
- Updated NotificationMatrix to include loadState in dependency array for useEffect.
- Refactored ServerCreationWizard to compute steps more efficiently and clamp step count based on changes.
- Introduced useOnMount hook to streamline component mount logic across various components.
- Enhanced useServerStats and useServerStatsHistory for better async handling and state management.
- Cleaned up unused variables and imports in multiple components.
- Improved readability and maintainability of code by restructuring logic and removing redundant state updates.
…creation wizard

- Deleted `Table` and `Tabs` components to reduce codebase size and complexity.
- Updated `ServerCreationWizard` to utilize React Query for fetching existing servers, improving data management and reducing redundant API calls.
- Enhanced conflict checking in `NetworkStep` with debouncing to optimize performance.
- Added confirmation prompts for background installation continuation and cancellation in `ServerCreationWizard`.
- Introduced `useSavedFlash` hook for managing temporary UI states.
- Refactored directory validation logic into a reusable `useDirValidation` hook for `BaseDirStep` and `BackupDirStep`.
- Removed deprecated database tables and functions related to server uptime sessions and player name mappings.
- Implemented a unified update process for all servers, enhancing the update workflow and user notifications.
…riables

feat: add reinstallServer function for consistent server reinstallation process

fix: handle startup_queued status in useServers hook to manage server startup queue

chore: update syncSchedulesToRust to unify restart warning configurations

refactor: enhance update-utils to manage auto-update automation and sync schedules
- Consolidated server stop and restart logic into dedicated functions for better code reuse and clarity.
- Implemented graceful stopping of servers with improved error handling and user notifications.
- Enhanced the dashboard to manage server actions concurrently, providing a smoother user experience.
- Updated server detail and settings pages to ensure consistent rendering and state management.
- Introduced a toggle for restarting servers after updates in the settings section.
- Improved handling of asynchronous operations to prevent UI blocking during server actions.
- Refactored event listeners to utilize a custom hook for better maintainability.
- Removed deprecated database table creation logic and cleaned up unused imports.
- Enhanced error handling in various components to provide clearer feedback to users.
- Updated `wipeServerSaves` command to include server ID for better tracking.
- Added new UI elements and logic in `OverviewTab` for handling server states like "update queued" and "startup queued".
- Improved server status updates with chained promises to ensure correct order of operations.
- Enhanced `ServerCreationWizard` to manage mod selections more effectively when changing maps.
- Fixed potential issues with server installation status not updating correctly during cancellation.
- Introduced loading states in `ImportVerifyPanel` to improve user experience during installations.
- Updated database migration to normalize notification timestamps for consistent sorting.
- Refactored `getServersCached` to utilize React Query cache for efficiency.
- Adjusted `update-utils` to check server status before applying updates, preventing overrides from queued states.
- Enhanced setup store to reset validation states when changing base directories.
- Introduced a new module for managing maps, merging built-in ARK_MAPS with user-defined custom maps from the database.
- Updated various components and hooks to utilize the new map management system, ensuring consistent access to both built-in and custom maps.
- Modified database queries to fetch custom map paths and integrated them into the backup and server management workflows.
- Enhanced the user interface to reflect changes in map selection and display, ensuring that custom maps are properly represented throughout the application.
- Improved performance by caching custom maps and ensuring they are loaded before use in various contexts.
@LokiRothbrook
LokiRothbrook merged commit 091136a into main Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant