#Host Fixes

1 messages · Page 1 of 1 (latest)

unique basalt
#

I patched a bunch of server RPCs that some people use to break public lobbies.
For example:

  • Sending the wrong SteamID to the server to prevent getting kicked.
  • Turning ship unlockables on their sides.
  • Spamming chat as another player.
  • Doing melee damage to another player across the map.
  • One-shotting people with melee damage.
  • Faking server messages.
  • Using Text Tags to break the chat.
  • Force ending the game while they are dead or too far from the lever.
  • Grabbing items from a distance further than the hosts grab distance.
  • Voting to leave early multiple times to force the ship to leave.

Fixed a lobby crash when someone calls SyncShipUnlockablesServerRpc (usually on join) when on a moon with light switches separate from the ship. It could be called by normal clients at the wrong time if they join the game right as you pull the lever.

There is also an option to log melee PvP damage and also an option disable PvP in the ship to help prevent hard griefing.
You can also log signal translator messages so you can see what client sent the message.

I use it with Lethal Admin so I can kick/ban the correct player based on their player number, not just their name.

https://thunderstore.io/c/lethal-company/p/CharlesE2/HostFixes/
https://github.com/Charlese2/HostFixes

GitHub

Fixes for hosting a Lethal Company Lobby. Contribute to Charlese2/HostFixes development by creating an account on GitHub.

hushed shale
#

?modder 110641717849370624

viral saffronBOT
#

dynoSuccess Added role Modder to charlese2

#

Yay! @unique basalt you've been assigned the modder role. Head to #role-picker to select which type of modding you're interested and active in.

echo panther
#

Any ideas why this error just happen in a specific profile?

#

[Error : Unity Log] InvalidOperationException: Sequence contains no matching element
Stack trace:
System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) (at <dab7f68612224ba3ae40f651d44f9d4c>:IL_0011)
HostFixes.Plugin+<>c.<TerminalAwakeWait>b__67_3 (CompatibleNoun item) (at ./Plugin.cs:174)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Func2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer1[T] comparer) (at <dab7f68612224ba3ae40f651d44f9d4c>:IL_0096)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at <dab7f68612224ba3ae40f651d44f9d4c>:IL_0000)
HostFixes.Plugin+<TerminalAwakeWait>d__67.MoveNext () (at ./Plugin.cs:169)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e27997765c1848b09d8073e5d642717a>:IL_0026)