Lethal Company
Install with App

Details

Latest version
1.1.0
Last Updated
First Uploaded
Downloads
232
Likes
0
Size
80KB
Dependants

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.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.