winstxnhdw / lc-hax

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.
78 stars 25 forks source link

More improvements #288

Closed xAstroBoy closed 5 months ago

xAstroBoy commented 5 months ago

Fixes: Fix Hoarding Bug not dropping items on death. Remove redundant Enemy List Remove Grabbable search as we switch to harmony Instance list. Fix ESP not showing mimics

Improvements: Use harmony for grabbable objects / networked objects / Masked spawns.

Closes #287

winstxnhdw commented 5 months ago

Nice work but I’ve got a few question that I want to address slowly. I am sick right now so this will take a while.

Why’d you remove the Enemies helper? We should keep it because it can act as a common reference to the enemies list in case we change things in the future. If you are worried about performance, I am sure the compiler will inline this.

xAstroBoy commented 5 months ago

Nice work but I’ve got a few question that I want to address slowly. I am sick right now so this will take a while.

Why’d you remove the Enemies helper? We should keep it because it can act as a common reference to the enemies list in case we change things in the future. If you are worried about performance, I am sure the compiler will inline this.

i did not remove Enemy Helper, just moved it to the patch, because there's no reason to keep a duplicate list that is a proxy of EnemyListener?

winstxnhdw commented 5 months ago

There are two reasons:

winstxnhdw commented 5 months ago

Since this is inactive, I'll just make the requested changes.

xAstroBoy commented 5 months ago

Since this is inactive, I'll just make the requested changes.

im working on making more enchancements, possibly figure and improve godmode and anti-kick, so far i modified the mask command

winstxnhdw commented 5 months ago

Doesn't spawning more than 1 mask make them unable to attack?

xAstroBoy commented 5 months ago

Doesn't spawning more than 1 mask make them unable to attack?

nope, i got chased by 100 masks, you can pull a decent troll out of it

winstxnhdw commented 5 months ago

Were you host?

xAstroBoy commented 5 months ago

Were you host?

yup, but i tested on a public one where i was not the host and with 40 maskeds giving chaos

winstxnhdw commented 5 months ago

They can attack?

xAstroBoy commented 5 months ago

They can attack?

yes, they chased players

winstxnhdw commented 5 months ago

Yeah, that's the usual but they can't perform their grab attack.

xAstroBoy commented 5 months ago

Yeah, that's the usual but they can't perform their grab attack.

is more to mess with them than attacking a instance

xAstroBoy commented 5 months ago

Reverted ESP changes as it was just EnemyAI and MaskedEnemies having their two different Start() and Destroy() which hooking them and appending them to the Helper.ActiveEnemies fixed it.