Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing input locks allows control of uncontrolled ships! #21

Closed
Goufalite opened this issue May 30, 2021 · 6 comments
Closed

Clearing input locks allows control of uncontrolled ships! #21

Goufalite opened this issue May 30, 2021 · 6 comments

Comments

@Goufalite
Copy link

Quick video to show the problem : https://www.youtube.com/watch?v=wGUjs1P-4oU

Steps :

  • Clean install of KSP 1.11.2 and it's addons MH and BG
  • Install Toolbar Continued from CKAN which will install CTB as a dependency
  • Create a new career save
  • Alt+F12 all technologies, and facilities

Test 1:

  • Build a ship not supposed to be controlled (no kerbal, no probe)
    Expected : the ship is not controllable
    Obtained : the ship IS controllable, can rotate if it has a reaction wheel and electricity, can turn if it's a rover wheel

Test 2 :

  • launch a mk1 pod with a kerbal
  • EVA the kerbal and switch to the pod
    Expected and obtained : the pod is uncontrollable
  • Click on "Clear input locks"
    Expected : the pod is uncontrollable
    Obtained : the pod is controllable and SAS can be activated although it doesn't have a SAS module
  • Switch to the kerbal and back to the pod
    Expected and obtained : the pod is uncontrollable
  • Click on "Clear input locks"
    Expected : the pod is uncontrollable
    Obtained : the pod is controllable and SAS can be activated although it doesn't have a SAS module
  • Switch to the kerbal and back to the pod

After removing all mods, the problem doesn't appear

The impact is that we can control ships without paying attention which could lead to happily resolved situations. Also CTB and Toolbar controller and a dependency of a LOT of mods, especially non gameplay mods such as station keeping.

Ready to give more info if wanted ;)

@fipachu
Copy link

fipachu commented Jun 3, 2021

Can confirm, is annoying.

@linuxgurugamer
Copy link
Owner

Have you tried clearing the input locks manually, without using CTB? and if so, does it happen then?

@Goufalite
Copy link
Author

Goufalite commented Jun 4, 2021

Does manually doing this is Debug Toolbar => Command lock? (I'm playing French so wording might not be the same). Here's what happens :

Test 1 (wheel without control)
Upon scene load no control (expected), but when manually unlocking, SAS/control is possible. Which is different than above (with CTB the craft is controllable directly on scene load).

Test 2 (command pod)
Same as above (need to click on unlock to unlock the controls)

So yeah, Clearing input locks works as "intended"/stock, but the control on scene load is what's different

@linuxgurugamer
Copy link
Owner

Ok, I've confirmed the problem. This is the result of an old fix for a bug in KSP which has been fixed.

Please try this beta, this only contains the dll
ClickThroughBlockerBeta.zip

Your instructions were very clear, thank you for doing the extra effort.

Assuming it works for you, could you also try it on a game which is fairly advanced? ie: many flying vessels, big ship, lots of mods, etc. This is a timing issue, I need to be sure it works as intended. Specifically, I'd be concerned about vessels which SHOULD have control but dont

@Goufalite
Copy link
Author

On it!

Works well on the initial vanilla testbench. I'm including it in my 40-mods career mode run.

@linuxgurugamer
Copy link
Owner

Released, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants