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

Lobby ID/Steam ID: Display & Clipboard Copy/Paste #343

Closed D1GQ closed 4 months ago

D1GQ commented 5 months ago

Lobby ID/Steam ID: Display & Clipboard Copy/Paste

Added a few changes evolving around Lobby ID, the biggest changes is the fact that you can copy and paste into the current Lobby ID, this is very useful because the lobby ID is actually the host Steam ID no matter what, so if you have someones Steam ID by copying it or just having it, you can forcefully join their game even if it's private.

Changes

winstxnhdw commented 5 months ago

I like the idea, but not the way we are doing it here.

D1GQ commented 5 months ago

I like the idea, but not the way we are doing it here.

What's the problem?

winstxnhdw commented 5 months ago

It sucks that so much complexity is being added despite how simple the concept and how mature the codebase already is.

I don’t even know if this is a better idea but I think we should just read directly from the Windows clipboard. If the Windows clipboard contains a valid Steam ID, performing the rejoin bind will connect to that room.

winstxnhdw commented 5 months ago

It’s crazy how we need 46 line additions, 2 more binds and 1 entirely new mod to achieve something this simple.

D1GQ commented 5 months ago

That would definitely be better, but I won't have to time to work on all of that.

winstxnhdw commented 5 months ago

I think if both of us don’t have time to work on this, it’s best to leave it as a feature request in Discussion and maybe we can implement it at a later date.

D1GQ commented 5 months ago

Sounds good, I'll see what I can do tho, we'll I'm going to bed.

D1GQ commented 5 months ago

Just thought about it I pretty much already have that functionality with the F3 implementation in the issues I might just make it where when you click F3 it uses Steem ID form your clipboard.

xAstroBoy commented 5 months ago

@D1GQ i wonder if we can improve anti-kick with a few more fixes because when you join it says Player 0- how many players are in that lobby, which im sure we can fix and feed the names back there somewhere in the code.

winstxnhdw commented 5 months ago

I doubt. The names information is provided from the host. If you take a look at the Anti-Kick patch, you can see that I am already attempting to fix it by forwarding the player names to the client RPC, yet it still doesn’t work.

xAstroBoy commented 5 months ago

I doubt. The names information is provided from the host. If you take a look at the Anti-Kick patch, you can see that I am already attempting to fix it by forwarding the player names to the client RPC, yet it still doesn’t work.

then update the player names themself without the RPC?

winstxnhdw commented 5 months ago

I am saying I don’t think we even have those information.

D1GQ commented 5 months ago

Yeah I have no idea how to bypass that.

D1GQ commented 5 months ago

So do you want me to make any changes?

winstxnhdw commented 5 months ago

I don’t think we’ll move forward with this method as stated above. Give me some time to think this through.

D1GQ commented 5 months ago

Ok, I'll keep this branch open for a while so if anyone's out there interested using it.