GithubHelp home page GithubHelp logo

wray-lee / lc-hax Goto Github PK

View Code? Open in Web Editor NEW

This project forked from winstxnhdw/lc-hax

0.0 0.0 0.0 5.22 MB

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

C# 99.72% Batchfile 0.28%

lc-hax's Introduction

lc-hax

version-check.yml main.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.

Executing a command which forcefully inverse teleporting another player

Requirements

Installation

Important

Do ensure that you have used the --recursive flag when cloning the repository.

Recursively clone the repository.

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

Note

There is no feature in this mod that require host privileges.

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.

  • Infinite stamina
  • Infinite scan range
  • Infinite ammo
  • Infinite charge
  • Infinite grab distance
  • Infinite item usage
  • Grab through walls
  • Pocket any item
  • Instant interact
  • Build anywhere
  • No reload
  • No item usage cooldown
  • No lobby refresh delay
  • Always sane
  • Always lightweight
  • Always show HUD
  • Always show names
  • Always keep items on teleport
  • Stable Zap gun
  • Clear vision
  • Crosshair
  • ESP
  • Commands
  • Binds

Commands

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 player to player /tp <player> <player>
Teleport player to a location /tp <player> <x> <y> <z>
Teleports the player to hell /void <player>
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>
Lure enemies to player /hate <player>
Spawn masked enemy on player /mask <player>
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>
Kill with pumpkin /pumpkin <player> <duration=15>
Poison a player /poison <player> <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>
Block incoming credits /block credits
Block any radar targets /block radar
Become untargetable /block enemy
Place an unlockable /build <unlockable>
Change moons /visit <moon>
Stun enemies /stun <duration>
Pull the ship's horn /horn <duration>
Toggle stun on click /stunclick
End the game /end <player=-1>
Start the game /start
List all players /players
Grab all scraps /grab
Toggle the Beta badge /beta
Get coordinates /xyz
Toggle God mode /god
Immune to non-instakill /demigod
Toggle rapid item usage /rapid
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

Binds

Action Input
Trigger various objects M3
Follow player M3 + F
Interact at a distance M3 + E
Funny respawn mobs M3 + R
Toggle Phantom =
Teleport to Phantom +
Change spectator index
Change spectator index
Increase mouse sensitivity ]
Decrease mouse sensitivity [
Unpossess enemy Z
Toggle realistic movement X
Toggle possession noclip N
Toggle Anti-Kick \

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)

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 table.

Note

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

ID Name
0 ORANGE_SUIT
1 GREEN_SUIT
2 HAZARD_SUIT
3 PAJAMA_SUIT
4 COZY_LIGHTS
5 TELEPORTER
6 TELEVISION
7 CUPBOARD
8 FILE_CABINET
9 TOILET
10 SHOWER
11 LIGHT_SWITCH
12 RECORD_PLAYER
13 TABLE
14 ROMANTIC_TABLE
15 BUNKBEDS
16 TERMINAL
17 SIGNAL_TRANSMITTER
18 LOUD_HORN
19 INVERSE_TELEPORTER
20 JACK_O_LANTERN
21 WELCOME_MAT
22 GOLDFISH
23 PLUSHIE_PAJAMA_MAN

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 mechanics 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>();
}

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"

lc-hax's People

Contributors

winstxnhdw avatar ltyguy avatar armorfid avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.