Skip to content
forked from winstxnhdw/lc-hax

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.

Notifications You must be signed in to change notification settings

Zephyr177/lc-hax

 
 

Repository files navigation

lc-hax

version-check.yml main.yml formatter.yml CodeQL dependabot.yml

A powerful, feature-rich and highly performant portable Windows CLI-only internal cheat for Lethal Company. This mod is compatible with MoreCompany.

Important

To aid in its speed of development, lc-hax has no concept of versioning aside from the Git commit history. We make no guarantees for any kind of backward compatiblity. Any feature can be removed or heavily modified to maximise user experience and overwrite poor early decisions.

User in Phantom mode

Requirements

Installation

Clone the repository.

Note

Cloning will download this project in your current working directory. You should not be downloading this project as a zip.

git clone --recursive https://github.com/winstxnhdw/lc-hax.git

You can now build and install the dependencies by executing requirements.bat.

.\requirements.bat

Usage

Execute launch.bat when you have launched the game to inject the assembly into the game process. Avoid doing this more than once per instance.

.\launch.bat

Features

lc-hax has an extensive list of features. Features are split into two distinct categories: mods and commands. Mods are features that are always active, while commands are features that are only active for a limited period of time when invoked.

The complete feature set includes the following.

  • Anti-kick
  • Auto-reconnect
  • Connection spoofing
  • Infinite stamina
  • Infinite scan range
  • Infinite ammo
  • Infinite charge
  • Infinite grab distance
  • Infinite item usage
  • Infinite item deposit
  • Grab through walls
  • Pocket any item
  • Instant interact
  • No reload
  • No item usage cooldown
  • No lobby refresh delay
  • No build constraints
  • No character limit
  • Always sane
  • Always lightweight
  • Always show HUD
  • Always keep items on teleport
  • Enemy possession with abilities
  • Notify teammate's death
  • Stable Zap gun
  • Clear vision
  • Crosshair
  • ESP
  • Commands
  • Binds

Commands

Note

No one can see the commands you send.

Action Command
Teleport outside entrance /exit
Teleport inside entrance /enter
Teleport to a player /tp <player>
Teleport to a location /tp <x> <y> <z>
Teleport back to ship /home <player?>
Teleport enemies to player /mob <player>
Inverse teleport a player /random <player>
Chibaku Tensei /ct <player>
Play noise on player /noise <player> <duration=30>
Bomb player /bomb <player>
Bombard player /bombard <player>
Lure enemies to player /hate <player>
Spawn masked enemy on player /mask <player?> <amount?>
Heal player /heal <player?>
Kill player /kill <player?>
Kill all players /kill --all
Kill all enemies /kill --enemy
Kill player with animation /fatality <player> <enemy>
Poison a player /poison <player> <damage> <delay> <duration>
Poison all players /poison --all <damage> <delay> <duration>
Spoof a server message /say <player> <message>
Transmit a signal /signal <message>
Modify shovel damage /shovel <force=1>
Give or take money /money <amount>
Add or remove experience /xp <amount>
Buy an item /buy <item> <quantity=1>
Deposit valuable item(s) /sell <quota?>
Grab scrap(s) /grab <item?>
Destroy held item /destroy
Destroy all items /destroy --all
Block incoming credits /block credit
Block any radar targets /block radar
Become untargetable /block enemy
Place an unlockable /build <unlockable>
Wear a suit /suit <suit>
Change moons /visit <moon>
Stun enemies /stun <duration>
Pull the ship's horn /horn <duration>
Toggle stun on click /stunclick
Toggle enemy hit on click /hitclick
End the game /end <player=-1>
Start the game /start
List all players /players
Toggle the Beta badge /beta
Get coordinates /xyz
Toggle God mode /god
Toggle rapid item usage /rapid
Eavesdrop on all players /hear
Respawn player /respawn
Fake player death /fakedeath
Unlock all doors /unlock
Lock all gates /lock
Open ship door /open
Close ship door /close
Trigger the garage doors /garage
Explode all jetpacks /explode
Explode all landmines /explode mine
Upset all turrets /berserk
Turn invisible to players /invis
Clear the chat for everyone /clear
Toggle ship lights /light
Copy lobby ID to clipboard /lobby

Privileged Commands

Important

All commands under here require host privileges.

These commands are only available when the user is in superuser mode.

Action Command
Set the timescale /timescale <scale>
Set the quota /quota <amount> <fulfilled?>
Spawn enem(ies) on player /spawn <enemy> <player> <amount?>

Special Commands

Action Command
Set the prefix for all commands !prefix <prefix>

Binds

Tip

You can connect to a specific lobby with Shift + F5 if your clipboard contains a valid Steam ID!

Action Input
Trigger various objects M3
Follow player M3 + F
Interact at a distance M3 + E
Funny respawn mobs M3 + R
Toggle ESP Pause
Toggle Phantom =
Teleport to Phantom +
Change spectator index
Change spectator index
Increase mouse sensitivity ]
Decrease mouse sensitivity [
Decrease light intensity F4
Increase light intensity F5
Unpossess enemy Z
Toggle possession NoClip N
Toggle Anti-Kick \
Disconnect from server Shift + F4
Connect to last joined server Shift + F5

TriggerMod

TriggerMod is a quality-of-life mod that allows you to trigger various objects in the game. It is activated by pointing at objects with M3. Currently, it can do the following.

  • Explode landmines
  • Explode unequipped jetpacks
  • Trigger turrets
  • Toggle gates
  • Unlock doors
  • Trigger Jeb's attack
  • Lure enemies to player
  • Follow a player's movements
  • Interact with objects from far
  • Possess enemies (only in Phantom)

Fatality

The fatality command allows you to kill a player with a custom animation. The list of supported enemies are:

  • Forest Giant
  • Jester
  • Masked
  • Baboon Hawk
  • Circuit Bee
  • Thumper
  • Eyeless Dog
  • Bracken
  • Nutcracker

Build

The arguments for the build command can be executed with either the unlockable index or name. The list of unlockables can be found in the following.

Note

Unintuitively, not all unlockables are buildable. Thus, the build command also doubles as a pseudo unlock function for unlockables.

  • Orange Suit
  • Green Suit
  • Hazard Suit
  • Pajama Suit
  • Cozy Lights
  • Teleporter
  • Television
  • Cupboard
  • File Cabinet
  • Toilet
  • Shower
  • Light Switch
  • Record Player
  • Table
  • Romantic Table
  • Bunkbeds
  • Terminal
  • Signal Transmitter
  • Loud Horn
  • Inverse Teleporter
  • Jack O' Lantern
  • Welcome Mat
  • Goldfish
  • Plushie Pajama Man
  • Purple Suit

Disabling Mods

You may permanently disable mods by removing the corresponding Mod class under the LoadHaxModules function from the following file. In the following example, we disable StaminaMod and you will return to the game's default stamina mechanic in your next injection.

static void LoadHaxModules() {
    DontDestroyOnLoad(Loader.HaxModules);

    Loader.AddHaxModules<SaneMod>();
    Loader.AddHaxModules<ChatMod>();
    Loader.AddHaxModules<StunMod>();
    Loader.AddHaxModules<ShovelMod>();
    Loader.AddHaxModules<WeightMod>();
    // Loader.AddHaxModules<StaminaMod>();
    Loader.AddHaxModules<PhantomMod>();
    Loader.AddHaxModules<TriggerMod>();
    Loader.AddHaxModules<ClearVisionMod>();
    Loader.AddHaxModules<NameInWeightMod>();
    Loader.AddHaxModules<BuildAnywhereMod>();
    Loader.AddHaxModules<FollowAnotherPlayerMod>();
}

Disabling Patches

There is usually little reason for you to disable patches as they are carefully chosen and come with sane defaults. However, if for whatever reason you wish to disable a patch, you may freely delete any of the corresponding files based on their names here.

Whitelisting SharpMonoInjectorCore

Despite being compiled from source locally, SharpMonoInjector is occasionally falsely identified as a virus by Windows Defender. If you believe you know what you are doing, you can run the following command in PowerShell with administrator privileges to whitelist the injector.

Important

Do ensure that you are currently in the lc-hax directory before executing the command.

Add-MpPreference -ExclusionPath $pwd, "$env:TEMP\.net\SharpMonoInjector"

Alternatives

If lc-hax is not your fancy, here are excellent alternatives that may suit your needs!

Credits

A big thanks to every contributor of this project and to Quesoteric for the title GIF.

About

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.8%
  • Batchfile 0.2%