Jump to content

Questions about updating an addon


Recommended Posts

There is an addon I miss enough to use it as a stepping stone towards learning Mono.  I got some of the errors fixed, but am not sure how to deal with these remaining errors.

All of these errors result from changes in the API:  something was somewhere and now it's not.  I have found a number of API sites, but no translation tables which make it easy to see what moved when.

Here are the actual messages:

    ProbeControlRoom.cs(189,21): error CS1061: Type `FlightEVA' does not contain a definition for `DisableInterface' and no extension method `DisableInterface' of type `FlightEVA' could be found. Are you missing an assembly reference?
    ProbeControlRoom.cs(194,32): error CS1061: Type `Vessel' does not contain a definition for `SetActiveInternalPart' and no extension method `SetActiveInternalPart' of type `Vessel' could be found. Are you missing an assembly reference?
    ProbeControlRoomUI.cs(66,21): error CS0117: `GameSettings' does not contain a definition for `UI_SIZE'

If someone has a Rosetta stone for old API calls where I can find these answers for myself, that'd be best.  Alternatively, if you guys can tell me where these three are from, I can at least move forward with learning more about KSP's mod ecosystem.  Thanks in advance!

Jack.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...