Coder Social home page Coder Social logo

yan01h / autoknifeattack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 33 KB

A mod for Lethal Company that attacks with the knife in perfect intervals

Home Page: https://thunderstore.io/c/lethal-company/p/HydratedDragon/AutoKnifeAttack/

License: MIT License

C# 93.50% Batchfile 6.50%
lethal-company-mod bepinex bepinex-plugin mod

autoknifeattack's Introduction

AutoKnifeAttack

A mod for Lethal Company that attacks with the knife in perfect intervals while holding down attack so no hits are wasted.

How to use

  1. Pick up knife
  2. Hold down left mouse or whatever button you attack with

Installation (Manual)

  1. Download BepInEx and install it
  2. Download this mod on Thunderstore or build it yourself
  3. Place the AutoKnifeAttack.dll in the Lethal Company\BepInEx\plugins folder
  4. Run the game!

Found a bug?

Use this repository to report bugs. Create a new issue in the Issues section and add the bug label!

Changelog

All changes can be found here!

autoknifeattack's People

Contributors

yan01h avatar

Watchers

 avatar

Forkers

xastroboy

autoknifeattack's Issues

Other players appear to auto-swing knives when you are using this mod

Title. If you are holding down the attack button with a knife, you will see all other players holding knives automatically swing them with you. I don't think that these swings are actually registered, since they aren't initiated by the owner of the knife, but I didn't do any further testing to validate whether or not this was the case

To fix this, there needs to be some sort of check to make sure ItemActivatePostfix is running on the local player before checking items, inputs, cooldowns, etc.

You could check PlayerControllerB.IsOwner or compare against GameNetworkManager.Instance.localPlayerController to accomplish the above.

Thank you for investigating this issue. :)

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.