Skip to content

Updated for v73, also a couple fixes.#190

Open
pacoito123 wants to merge 6 commits intoIAmBatby:mainfrom
pacoito123:v73
Open

Updated for v73, also a couple fixes.#190
pacoito123 wants to merge 6 commits intoIAmBatby:mainfrom
pacoito123:v73

Conversation

@pacoito123
Copy link
Collaborator

Features

  • Updated mod for Lethal Company version 73.

Fixes

  • Fixed bundle of the currently-routed moon unloading immediately after reloading the save file.

Should probably be moved to its own branch since it can't be automatically merged, and the changes are minor.

(Also in one of the commits I mention Netcode being backwards-compatible with v72, this is in fact NOT the case and I was deceived by misinformation!)

- Updated game assemblies to v73.
- Updated Netcode patching for Unity 2022.3.62f2 and NGO 1.12.0 versions.
  - NetcodePatcher version 4.4.1+ is needed to recompile the project.
- Added PrivateAssets flag to some package references.
- Singleton classes NetworkBundleManager and LethalLevelLoaderNetworkManager are now destroyed upon creating a new instance (after a lobby reload), which then becomes the 'main' one.
  - Avoids old instances persisting and having their Initialize() method called on every lobby reload.
  - Not sure if the way I did it is the best way to go about it, but it's a possible solution.
- Fixed tangential issue where the currently-routed moon's bundle unloads immediately after reloading the save file.
  - The bundle that was last loaded now remains loaded all throughout the lobby reload process, unless specifically loading a save file (or joining a lobby) that's routed to a different moon.
  - Avoids having to unload/reload the current moon's bundle when simply reloading the lobby, but it's likely a pretty negligible performance improvement.
  - Tested in LAN and bundles seemed to load/unload accordingly across various edge cases!
- I was under the impression things just wouldn't be backwards-compatible at all but I was wrong, and I'm not really using the new RPCs any differently so might as well keep compatibility with v72 and below.
- Fixed ExtendedUnlockableItems being registered more than once.
  - Only needs to be done once, not every lobby reload (like other Terminal things).
  - I'd talked about this issue months ago but forgor...
- Fixed ExtendedUnlockableItem terminal data not actually being created...
  - ...and ExtendedBuyableVehicle terminal data being created twice.
  - Tactical blunder; true buffoonery.
- Fixed that one AND sign that was meant to be an OR sign.
@pacoito123 pacoito123 closed this Nov 8, 2025
@pacoito123 pacoito123 deleted the v73 branch November 8, 2025 10:17
@pacoito123 pacoito123 restored the v73 branch November 10, 2025 03:16
@pacoito123
Copy link
Collaborator Author

(Did not mean to close the PR, whoops)

@pacoito123 pacoito123 reopened this Nov 10, 2025
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