winstxnhdw / lc-hax

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

[Bug]: Unable to interact in `Phantom` and blocking credits crashes the game #87

Closed yujispin990 closed 9 months ago

yujispin990 commented 9 months ago

What happened?

Ok so, on phantom, i cannot grab anything, infinite grab does not allow interaction with some stuff like the ship lever or the terminal, /block commands are not found.

Current Commit Hash

3a1a64d

Injector

If you selected "Others" above, please specify the injector you are using.

No response

Log output

No response

Acknowledgement

yujispin990 commented 9 months ago

those are the things i found so far, i am actually testing it right now.

winstxnhdw commented 9 months ago

My bad, I've added the block command.

yujispin990 commented 9 months ago

My bad, I've added the block command.

Woah that was fast thank you! may i ask what about the grab not letting me interact with things.

winstxnhdw commented 9 months ago

Is it only in Phantom or outside as well?

yujispin990 commented 9 months ago

on phantom i could not grab anything and when im not in phantom i can grab stuff like the clipboard from the ship really far away but i cant interact with the terminal or the ship's lever. Let me update and test it again.

winstxnhdw commented 9 months ago

That's really strange :/ I'll have to take a look at it tomorrow. I don't have access to the game right now. For now, you can use /start or /end to use the lever and /fixcamera to use the Terminal.

yujispin990 commented 9 months ago

Alrighty, Thank you for the fast response @winstxnhdw <3

winstxnhdw commented 9 months ago

No need to close it unless we get it fixed.

yujispin990 commented 9 months ago

No need to close it unless we get it fixed.

Ah i see, Thank you so much!

winstxnhdw commented 9 months ago

Nevermind, I think I found the issue. I've pushed a fix. Please pull latest and test it again.

yujispin990 commented 9 months ago

Nevermind, I think I found the issue. I've pushed a fix. Please pull latest and test it again.

Oh no i forgot to tell you as well, i still get "hands full" even with the one handed patch. I will update now to test the grab first.

winstxnhdw commented 9 months ago

Okay, I have pushed a fix for that as well.

yujispin990 commented 9 months ago

Ok nice! the grab is fixed! but i still cannot grab anything when in phantom.

yujispin990 commented 9 months ago

Okay, I have pushed a fix for that as well.

Alrighty ill test it now.

winstxnhdw commented 9 months ago

i still cannot grab anything when in phantom.

Could you test if you can interact with the ship lever while in Phantom?

yujispin990 commented 9 months ago

i still cannot grab anything when in phantom.

Could you test if you can interact with the ship lever while in Phantom?

Ok, ill do it right now.

winstxnhdw commented 9 months ago

@yujispin990 could you help me verify if what @joep26020 is saying is true? He's usually not on the latest version.

winstxnhdw commented 9 months ago

Can you look up at the sky and tell me if it goes away as well?

yujispin990 commented 9 months ago

@yujispin990 could you help me verify if what @joep26020 is saying is true? He's usually not on the latest version.

Nope, no problem with that at all, also i've tested one handed patch and it works perfectly! as for the Phantom grab, i cannot interact with the ship lever or anything else.

winstxnhdw commented 9 months ago

Okay, thank you @yujispin990!

yujispin990 commented 9 months ago

i have no floating icon on mine.

yujispin990 commented 9 months ago

Okay, thank you @yujispin990!

No, Thank you for staying up this late to work on this, i do apologize for being a nuisance.

yujispin990 commented 9 months ago

I found a funny "bug?" though, if you block credits and try to add money with /money, the game instantly crash xd, there is no need to fix this. Just thought i should tell you.

winstxnhdw commented 9 months ago

That's useful information. I'll push a fix for it.

winstxnhdw commented 9 months ago

Nevermind, thinking about it. It shouldn't even crash. It might be a sign of a bug. Can you try selling items with it on. I am afraid it might also crash your game. Or whenever someone else uses /money.

yujispin990 commented 9 months ago

That's useful information. I'll push a fix for it.

Alrighty then! Again i can't thank you enough for staying up this late to fix all these things.

yujispin990 commented 9 months ago

Nevermind, thinking about it. It shouldn't even crash. It might be a sign of a bug. Can you try selling items with it on. I am afraid it might also crash your game. Or whenever someone else uses /money.

Ok ill do it right now.

winstxnhdw commented 9 months ago

Wait, before you do that can you pull latest. I have pushed a preliminary fix. I think it was calling itself recursively and creating a stack overflow. Try turning it on and doing /money 1 again.

yujispin990 commented 9 months ago

Oh i tested by selling a shotgun and it didn't block the credit, its still gets added in. I will update to the latest right now.

yujispin990 commented 9 months ago

Wait, before you do that can you pull latest. I have pushed a preliminary fix. I think it was calling itself recursively and creating a stack overflow. Try turning it on and doing /money 1 again.

I've updated and tested with /money 1, it still gets added in and in addition to that when i used /money 100 it crashed instantly.

winstxnhdw commented 9 months ago

I rebased earlier, so you might have to pull again for the true latest.

winstxnhdw commented 9 months ago

Okay, I am going to stop here. I am making a lot of stupid mistakes right now. I'll continue tomorrow.

yujispin990 commented 9 months ago

I rebased earlier, so you might have to pull again for the true latest.

Ill try it right now.

yujispin990 commented 9 months ago

Okay, I am going to stop here. I am making a lot of stupid mistakes right now. I'll continue tomorrow.

Ah, no worries my dude, take your time and thank you again for spending time on this.

yujispin990 commented 9 months ago

Ok just tested the latest one, i used /money 1 after blocking credits, it instantly crashes, but its ok, please have some rest, continue anytime you would like, honestly if it this much hassle it might be better to just remove it completely. I'm sorry for even suggesting this.

winstxnhdw commented 9 months ago

/block credits is now fixed. It will even inform you if someone has tried to modify the credits.

winstxnhdw commented 9 months ago

You can now grab in Phantom!