Project

General

Profile

Bug #18118

ProtoCrewMember.ChangeName(string) no longer works

Added by severedsolo about 1 year ago. Updated about 1 year ago.

Status:
Moot
Priority:
Low
Assignee:
Category:
Plugins/Add-Ons
Target version:
-
Start date:
03/19/2018
% Done:

0%

Version:
Platform:
Windows
Expansion:
Core Game
Language:
English (US)
Votes:
Arrow u r green
Arrow d r red

Description

As above. My mod NameGenerator: https://forum.kerbalspaceprogram.com/index.php?/topic/171777-131-name-generator-101-generating-custom-kerbal-names-since-2018-12032018/ uses this method to change Kerbals names. In 1.4.1 this function no longer works and kerbals keep their default names.

Confirmed working fine on 1.3.1, but I did notice that the 1.4.1 compiled version throws a "MissingMethod" exception in 1.3.1 which suggests something changed in the background.

History

#1 Updated by JPLRepo about 1 year ago

  • Assignee set to JPLRepo

Change the GameEvent you are using...
From
GameEvents.onKerbalAdded.Add(onKerbalAdded);
to
GameEvents.onKerbalAddComplete.Add(onKerbalAdded);

try that.

#2 Updated by JPLRepo about 1 year ago

  • Status changed from New to Needs Clarification

#3 Updated by severedsolo about 1 year ago

  • Status changed from Needs Clarification to Moot

Yup that seems to have fixed it. I guess that makes it my bug not yours. Cheers for your help JP

Also available in: Atom PDF