InsulinShock
Members-
Posts
3 -
Joined
-
Last visited
Reputation
0 NeutralProfile Information
-
About me
Curious George
-
Realism Overhaul Staging Issue
InsulinShock replied to JT2227's topic in KSP1 Technical Support (PC, modded installs)
Hello, I think I can add some information into this issue. I have been working on a mod in a clean install, no mods added. The bug appears to be in the kerbal API related to the staging. The error message: "[Error]: System.NullReferenceException: Object reference not set to an instance of an object at Staging.ActivateNextStage () [0x00000] in <filename unknown>:0" is thrown by the call "Staging.ActivateNextStage();". I tried alternative ways to trigger a stage using: "FlightGlobals.ActiveVessel.ActionGroups.ToggleGroup(KSPActionGroup.Stage);" and "FlightGlobals.ActiveVessel.ActionGroups.SetGroup(KSPActionGroup.Stage, true);" which did not throw errors but also did not trigger a stage. The same calls to the lights and landinggear KSPActionGroups successfully toggled the lights and the landing gear. Also, deconstructing the parts to stage ownership: Debug.Log("Current stage:" + FlightGlobals.ActiveVessel.currentStage); foreach (Part part in FlightGlobals.ActiveVessel.parts) { Debug.Log("PartName: " + part.partInfo.title + " - Stage: " + part.inverseStage.ToString()); } When called on the stock ship "Kerbal 1", the current stage at the start of flight is 7, and the nose-cones of the solid boosters belong to stage 6. However, the stage sequence only lists stage 5 to 0 on the GUI. I have done my build and run in KSP v1.1.2.1260 in both x86 and 64bit. I tried using the Stock Bug Fix Modules: It was unable to resolve this bug. To the awesome devs at Squad, I hope this information helps. Cheers, InsulinShock -
It's not a vanilla install of Matlab... the Instrument Control Toolbox is also needed.
-
Hi. The interface is just an internal port. Any program that can access tcpip ports, which should include Octave, Python, C++, C#, Java, Matlab, LabView, should be able to interface with the program. When it was written, I just chose to use Matlab because I use it all the time.