kRPC v0.5.0
Client libraries:
Changes
Server
- Support for KSP 1.8+
- Update to protobuf v3.9.1
- Update to ModuleManager 4.2.2
- Fix bug with streams where a stream update is not sent initially after a stream is created, if the stream value is null (#515)
SpaceCenter service
- Update to work with KSP 1.8+
- Add to SpaceCenter: * LaunchSites * CanRevertToLaunch * RevertToLaunch * TransferCrew * CreateKerbal * GetKerbal * LoadSpaceCenter * MapFilter * Screenshot
- Add crew and flagUrl parameters to SpaceCenter.LaunchVessel
- Add support for more vessel types
- Add LaunchSite
- Add CelestialBody.IsStar and CelestialBody.HasSolidSurface
- Add custom axes to Control class
- Add Part.FlagURL
- Add Part.AvailableSeats
- Add Part.Glow
- Add Part.AutoStrutMode
- Add support for resource drain parts
- Add support for stock robotic parts
- Add Parachute.Cut
- Add support for docking port rotation
- Add support for Light blinking
- Add support for wheel steering angle limit and response time
- Fix ParachuteState.Active state and clean up real chute vs. stock parachute logic
- Add support for stock alarms (AlarmManager and Alarm classes)
- Use raycast to measure surface height more precisely in CelestialBody.SurfaceHeight (#524)
- Fix null reference exception when checking active vessel (#528, #530)
- Fix null reference exception when waiting for active vessel change (#516, #529)
- Add RCS.ThrustLimit and RCS.AvailableThrust (#519)
- Add Control.StageLock (#541)
- Fix launch checks and automatic vessel recovery in SpaceCenter.LaunchVessel
- Fix setting camera target to an unloaded vessel (#536)
- Fix Control.Legs and Control.Wheels not deploying/retracting legs/wheels correctly (#509, #261)
- Allow legs/wheels can be individually deployed/retracted using Leg.Deployed and Wheel.Deployed (#509, #261)
- Allow lights to be individually turned on and off (#261)
- Fix Engine and RCS fuel calculations only being done when they are enabled (#514, #254)
- Add support for parts that contain multiple experiments (#533) * Part.Experiment now throws an exception if the part has more than one experiment * Add Part.Experiments which returns a list of experiments in the part * Update Parts.Experiments to return all experiments contained in the parts
- Add Experiment.Name and Experiment.Title
- Fix Fairing.Jettison and Fairing.Jettisoned for parts from the ProceduralFairings mod (#549)
- Fix Engine.SpecificImpulse returning 0 for Realism Overhaul engines that are active but not throttled up (#548)
- Fix compatibility with DMagic science experiments mod (#550)
- Fix available torque calculations for RCS (#552, #354)
- Fix RCS.MaxThrust returning incorrect values
- Fix SimulateAerodynamicForceAt (#587)
- Fix RCS.GetTorqueVectors not considering if each direction is enabled (#591)
- Add RCS.AvailableForce and Vessel.AvailableRCSForce (#597)
Drawing service
- Add Drawing.AddDirectionFromCoM
- Change Drawing.AddDirection to start the line at the origin of the reference frame (#518)
InfernalRobotics service
- Update to work with Infernal Robotics Next v3.1.9
- Drop support for original Infernal Robotics mod
- Remove Servo.MoveNextPreset and Servo.MovePrevPreset as they no longer exist in the mod
KerbalAlarmClock service
- Update API wrapper to work with KerbalAlarmClock v3.13.0.0
C# client
- Update to protobuf v3.22.0
- Drop support for net35
C++ client
- Update to protobuf v3.22.0
- Update to ASIO 1.24.0
- Fix include path to ASIO header in CMake build scripts
- Fix CMake build scripts not building a static library with MSVC on Windows
C-nano client
- Update to protobuf 22.0
- Update to nanopb 0.4.7
- Rename KRPC_COMMS_CUSTOM to KRPC_COMMUNICATION_CUSTOM
Java client
- Update to protobuf v3.22.0
Lua client
- Update to protobuf v3.22.0