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

SeedRescue

Get out of stuck moon loads: host terminal command 'reseed' plus an automatic watchdog that returns to orbit and lands again with a new seed. Rework of SeedRecoveryFix by BloodDraco.

Date uploaded 3 weeks ago
Version 1.0.0
Download link Trepidrock-SeedRescue-1.0.0.zip
Downloads 100
Dependency string Trepidrock-SeedRescue-1.0.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.

Terminal command (host only)

Command What it does
reseed Back to orbit, new seed, land again automatically
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 pulls the lever, a timer starts. If the ship has not landed after LandingTimeoutSeconds (default 180 s), the same reseed runs automatically. After AutoRetries failed attempts it only returns to orbit, so it can't loop forever.

How the reseed works

  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.

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 180 Seconds from lever pull until the ship must have landed
Watchdog AutoRetries 1 Retries with re-landing before only returning to orbit
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.