You are viewing a potentially older version of this package. View all versions.
Trepidrock-SeedRescue-1.1.0 icon

SeedRescue

Fixes stuck moon loads: continues when a player's load confirmation is lost, or returns to orbit and lands again with a new seed. Host terminal command 'reseed'. Rework of SeedRecoveryFix by BloodDraco.

Date uploaded 2 weeks ago
Version 1.1.0
Download link Trepidrock-SeedRescue-1.1.0.zip
Downloads 146
Dependency string Trepidrock-SeedRescue-1.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Seed Rescue

Heavy modpacks sometimes get stuck while landing ("Waiting for all players to load", the ship never lands). This mod gets the lobby out of that state without kicking anyone to the main menu: it brings the ship back to orbit, picks a new seed and lands again.

Two kinds of stuck loads

  1. A player's confirmation is lost. The host finished generating the moon but keeps waiting for a player who already finished too (their "I'm done" message never arrived). The usual sign: it loads instantly when that player leaves. Seed Rescue continues without that confirmation. You land normally and the day is kept.
  2. The seed itself is bad. The host never finishes generating. Seed Rescue returns to orbit, rolls a new seed and lands again. This one counts as a finished day.

Terminal command (host only)

Command What it does
reseed Smart fix: continue without missing confirmations if that is the problem, otherwise new seed
reseed status Shows whether the host finished and which players it is still waiting for
reseed new Skip straight to orbit + new seed + land again
reseed orbit Back to orbit with a new seed; you pull the lever yourselves
  • In orbit, reseed simply rerolls the seed.
  • If the ship already landed, it does nothing.
  • Clients who type it are told that only the host can use it.

Automatic watchdog (host only)

  • When the host has finished its dungeon but is still waiting for other players after PlayerConfirmTimeoutSeconds (default 60 s), it continues without them.
  • If the ship has not landed LandingTimeoutSeconds (default 120 s) after the lever pull, it first tries to continue (if anyone is missing), and if that does not help within 45 s, it reseeds.
  • After AutoRetries failed reseeds it only returns to orbit, so it can't loop forever.

How the reseed works (case 2)

  1. Runs the vanilla "ship leaves" sequence on every client (the same as pulling the lever).
  2. If the leave animation doesn't finish (the ship is frozen mid-landing), it unloads the moon directly.
  3. Waits until everyone is back in orbit, then rolls a new seed.
  4. Lands again, except on deadline day.

⚠️ Returning to orbit counts as a finished day, just like leaving with the lever. Continuing (case 1) does not.

If a player is so desynced that the moon never unloads, the mod reports it in chat after OrbitTimeoutSeconds. Restarting the lobby is the only fix at that point.

Configuration

BepInEx/config/trepidrock.seedrescue.cfg

Section Setting Default Description
Watchdog AutoRecovery true Enable the automatic watchdog
Watchdog LandingTimeoutSeconds 120 Seconds from lever pull until the ship must have landed
Watchdog AutoRetries 1 Retries with re-landing before only returning to orbit
Watchdog ForceContinueStuckPlayers true Continue without lost confirmations before trying a reseed
Watchdog PlayerConfirmTimeoutSeconds 60 Wait after the host finished before continuing without the others
Reseed TerminalCommand reseed Terminal command word
Reseed AutoLand true Land again automatically after a reseed
Reseed RelandDelaySeconds 6 Wait in orbit before landing again
Reseed LeaveFallbackSeconds 12 Force the moon unload if the leave animation hangs
Reseed OrbitTimeoutSeconds 120 Maximum wait to get back to orbit

Only the host needs the mod to recover a lobby. Installing it on every client is harmless.

Compatibility

  • Built against Lethal Company v81.
  • Do not install it together with SeedRecoveryFix: BepInEx will refuse to load this mod if the original is present.

Credits

Based on the original idea of SeedRecoveryFix by BloodDraco: a host-side watchdog that recovers stuck seed loads without kicking players to the menu. All credit for the concept goes to them.

Seed Rescue by Trepidrock rewrites the recovery so it follows the game's real return-to-orbit flow, and adds the terminal command.

CHANGELOG

1.1.0

  • New: force continue. If the host already finished generating the moon but is still waiting for a player whose "finished" confirmation never arrived, the load continues without it (the day is kept). Triggered automatically 60 s after the host finishes (PlayerConfirmTimeoutSeconds), or with the reseed command.
  • New terminal options: reseed status (who the host is waiting for) and reseed new (skip straight to a new seed).
  • The full reseed is now the last resort, used only if continuing does not help.

1.0.1

  • Fixed: the watchdog and the reseed command never ran. Lethal Company destroys the BepInEx manager object, which the mod was attached to. The watchdog now ticks from StartOfRound.Update and the reseed runs on its own persistent object.
  • Default LandingTimeoutSeconds lowered from 180 to 120.
  • Safety reset if a reseed routine dies halfway (e.g. the lobby closes during it).

1.0.0

  • First release of Seed Rescue. Rework of SeedRecoveryFix 1.4.0 by BloodDraco.
  • New reseed / reseed orbit terminal command (host only).
  • Watchdog now based on game state (lever pulled → ship landed) instead of log messages.
  • Recovery uses the vanilla ship-leave flow, with a fallback when the ship is frozen mid-landing.
  • New seed is rolled once the ship is really back in orbit, then it lands again automatically.
  • Chat status messages fixed for current game versions.