CptDristyler-ScaledFallDamageV81 icon

ScaledFallDamageV81

Unofficial rebuild. Scales fall damage with carried weight. v81 multiplayer config-sync NullReferenceException fixed by Cpt.Dristyler. Original by windblownleaves.

CHANGELOG

Changelog

Entries below are for this unofficial v81 rebuild by Cpt.Dristyler. Original mod by windblownleaves — the upstream release history is not duplicated here.

1.0.6 — v81 rebuild by Cpt.Dristyler

  • Fixed the multiplayer config-sync crash on Lethal Company v81. The synced Config class held BepInEx ConfigEntry<T> fields, which are not [Serializable]. BinaryFormatter in SyncedInstance.SerializeToBytes threw a SerializationException, the method returned null, and the host's OnRequestSync then hit a NullReferenceException on array.Length every time a client requested the config — config never synced and the log spammed errors on each client join. The ConfigEntry fields are now [NonSerialized]; plain serializable value mirrors are synced instead, and gameplay patches read those mirrors (correct on both host and clients).
  • Recompiled from a decompiled source against current LethalCompany.GameLibs.Steam (game v81). GUID windblownleaves.scaledfalldamage unchanged — configs stay compatible.