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

Fairings doesn't jettison. #549

Closed
kpa23 opened this issue Sep 24, 2019 · 1 comment
Closed

Fairings doesn't jettison. #549

kpa23 opened this issue Sep 24, 2019 · 1 comment
Labels
bug Something isn't working service:space-center
Milestone

Comments

@kpa23
Copy link

kpa23 commented Sep 24, 2019

ksp 1.6.1 + RO
Strange behaviour with fairings. They all have jettisoned flag set to True. and .jettison() method doesn't work. In-game clicking on "Jettison fairing" works ok.

TestRocket1.zip

import krpc

conn = krpc.connect(name='Test Fairings. RO mods')
vessel = conn.space_center.active_vessel
for _ in range(2):
    fairings = [part for part in vessel.parts.with_tag('deployFairing')]
    for fairing in fairings:
        try:
            print("Fairings ", fairing.fairing.part.name, fairing.fairing.jettisoned)
            fairing.fairing.jettison()
        except:
            print("Error")
@djungelorm djungelorm added bug Something isn't working service:space-center labels Sep 24, 2019
@djungelorm djungelorm added this to the 0.4.9 milestone Sep 24, 2019
@djungelorm
Copy link
Member

This appears to be a compatibility issue with ProceduralFairings. They changed the name of the jettison event from "Jettison" to "Jettison Fairing". I've updated kRPC to work with either event name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:space-center
Projects
None yet
Development

No branches or pull requests

2 participants