KaylinOwO / Project-Apparatus

A Lethal Company cheat based on Infinite Company
94 stars 43 forks source link

[Bug]: Turrents not working #110

Closed JuanCalle1606 closed 4 months ago

JuanCalle1606 commented 5 months ago

Describe the bug

When i host a game turrents dont work.

I got this spammed on console all the time causing a lot of lag:

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: ProjectApparatus.Turret_CheckForPlayersInLineOfSight_Patch.Prefix (GameNetcodeStuff.PlayerControllerB& __result) (at :0) (wrapper dynamic-method) Turret.DMD(Turret,single,bool) Turret.Update () (at :0)

Steps To Reproduce

  1. Inject
  2. Host a game
  3. Stay in front of a turrent, it dont activate

Expected Behavior

Turrents works and dont get lag because of error spam.

Additional context

No response

TheGreenBandit commented 5 months ago

Will fix, also need to fix thumper going after u in untargetable and mouthdog detecting noise.

TheGreenBandit commented 4 months ago

Solved @Toaaa