-
Notifications
You must be signed in to change notification settings - Fork 102
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
Stage, RCS, SAS and Action Button/Lock Stuck On #646
Comments
I'm debugging this locally and it appears that my first guess was wrong, each time through the Update method, it is hitting this block of code:
I'll continue debugging to see if I can get more info. |
Adding a ReleaseLocks() call after the foreach loop seems to fix the issue, and still allows ships to become uncontrollable if they lose connection. But I have a feeling that isn't the right solution here. Sadly I don't know enough about the Remote Tech mod to guess what the "right" solution is. Please let me know if there is anything more I can do to help diagnose this! |
I just updated from 1.7.0 to build-develop-554. 1.7.0 had this issue, but it appears to be resolved in build-develop-554. |
That's great to know. Thanks for the information, I'll try develop-554 later today. |
I just tested it, I was able to launch normally with develop-554, huzzah! The Stage Lock Light is still stuck on, but at least my staging commands seem to be working again at least. Thanks for the info, jarrett. |
I'm still seeing these symptoms in 1.7.1 on KSP 1.1.3 |
Howdy! Fix is planned for RT 2.0 major release. |
(this bug is also reported in the issue #1) Given that, I decide to exclude the stage-lock indicator from RemoteTech's |
…g of RT locks not removed upon scene exit
I found out why the current state of the stage-lock indicator is set up in a particular way. When the staging command triggered by pressing I am going to leave this issue open for current and future RT developers for records. |
Two ideas:
|
Yes, it is possible to replace KSP's stock However, I am not sure if this change is trivial or significant. Third-party mods could subclass and replace the |
Just wanted to have those ideas recorded someplace relevant for the future, in case someone decides it's too anoying. |
OS: Windows 10 Home x64 Logs: Installed Mods Persistent save (optional): |
Hello!
I have encountered an issue while using Remote Tech in which I am unable to launch unmanned vehicles. The stage lock light is stuck on and won't disengage, despite the fact that I have a connection, enough energy to power my probe core, and fuel available. Pressing alt + L also does nothing, and time acceleration is at 1x.
Upon opening the debug menu with alt + F12, I saw the following locks in my Input Lock stack:
RTLockStaging
RTLockSAS
RTLockRCS
RTLockActions
Screenshot below:
Screenshot (note that I said in the image caption that it fixed my problem. It removed the locks the first time I did it, but after reloading and trying it again, the locks no longer get removed by clicking the Clear Locks button.)
Leaving the launch pad and returning to the Space Center while in this state seems to leave the locks in the Input Lock stack:
Screenshot
I believe the issue may be caused by line 109 in RTCore.cs - if
vs
is non-null
, butvs.FlightComputer
isnull
, orvs.FlightComputer.InputAllowed
isfalse
, then theReleaseLocks
method never gets called.Sadly I'm not quite sure what action I took ingame that may have triggered this scenario, but I have a feeling that something I did caused my game data to get into a configuration such that the Update method in RTCore.cs is not releasing locks properly. I was able to use probes normally for about a dozen unmanned missions before this began happening. Reinstalling Remote Tech did not help.
I cancelled all my contracts and aborted all my missions except for the one on the launchpad to see if that would help, but still no luck.
Please let me know if there is anything more I can do to help.
PS - Thanks for maintaining the mod! Bugs like this can be a bummer, but Remote Tech is still one of my favorite KSP mods! =D
The text was updated successfully, but these errors were encountered: