9G_TEAM-LethalSnapReborn icon

LethalSnapReborn

Polaroid camera: photograph monsters, rarer = more money. Rebuilt for LC v81 (Netcode 1.12). Based on LethalSnap by SweetOnion & team.

CHANGELOG

Changelog

  • 1.0.1 — THE v81 fix (root cause found & confirmed against Unity's NGO 1.12.0 sources):
    • Lethal Company v81 ships Netcode for GameObjects 1.12, which dispatches RPCs from NetworkBehaviour.__rpc_func_table[GetType()][hash] — a per-type table populated only by each behaviour's virtual __initializeRpcs() override. The legacy static NetworkManager.__rpc_func_table still exists in 1.12 (so old-style registration succeeds silently) but is never read anymore — hence the persistent KeyNotFoundException no matter how the legacy registration was invoked.
    • Added generated-equivalent __initializeRpcs() overrides to PolaroidItem (6 RPCs) and PictureItem (4 RPCs), each calling __registerRpc(hash, handler, name) with the new NetworkBehaviour.RpcReceiveHandler delegate and chaining base.__initializeRpcs() so GrabbableObject's own RPCs keep registering. This is exactly what a current UnityNetcodePatcher emits at build time.
  • 1.0.0 (LethalSnap Reborn):
    • New standalone identity (GUID/assembly/harmony id/config/RPC channel ids) — cannot conflict with or be shadowed by an old LethalSnap install.
    • Static-cctor + module-init RPC registration (legacy table, kept as harmless compat), idempotent registration, fragile reflection init removed from Awake (audio + Harmony patches always load), PlayOneShot hardened.
    • Gameplay, balance, assets and save format identical to LethalSnap 1.5.7.