winstxnhdw / lc-hax

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

[Question]: can we add a few host features? #320

Closed xAstroBoy closed 5 months ago

xAstroBoy commented 5 months ago

just curious, because we could have a /spawn enemy command, along with a bunch of host features.

winstxnhdw commented 5 months ago

no. if it’s a small feature, we can add it as a debug command.

xAstroBoy commented 5 months ago

no. if it’s a small feature, we can add it as a debug command.

I might have a idea for a way to workaround the host check and still send the host rpcs which would work

winstxnhdw commented 5 months ago

Sure, but I doubt it’s possible.

xAstroBoy commented 5 months ago

Sure, but I doubt it’s possible.

How so? I dont see any server check that is from the method, spoofing a server rpc as the host with harmony should be fairly easy

winstxnhdw commented 5 months ago

See #237

You are likely going to waste your time like me.

xAstroBoy commented 5 months ago

See #237

You are likely going to waste your time like me.

did you try harmony patching? I spoof the host , LocalID, as the method requests and then restore them back once called.

winstxnhdw commented 5 months ago

Of course. How else would I do it.

winstxnhdw commented 5 months ago

You can give it a try though. If you manage to do it, it’ll be a great breakthrough and the first in the world LOL

xAstroBoy commented 5 months ago

You can give it a try though. If you manage to do it, it’ll be a great breakthrough and the first in the world LOL

i did copy the RPC command and remove the host checks, is sending them to the server, but yeah is a waste of time :C, but it would be nice if we can add a couple host features such as /spawn

winstxnhdw commented 5 months ago

I am adamant that they should stay as debug commands and never more. I want the exposed features to be consistent without surprises.

winstxnhdw commented 5 months ago

At the end of the day, you can always load this mod with game master and have the features you want. The debug commands should also not have any consistent performance penalty.

xAstroBoy commented 5 months ago

except for a annoying extra message that gets printed every single time you use a debug command.

winstxnhdw commented 5 months ago

It's the same as you printing out that it is a host-only command, so I don't see a problem there.