Jump to content

[1.11.x] Earn Your Stripes 4.1 (01/03/2021) - Allowing Kerbals to earn an Orange Suit since 2017


severedsolo

Recommended Posts

  On 1/22/2021 at 11:12 PM, SpacedInvader said:

I'm curious if anyone has tried this in 1.11 yet? Its a cool idea and I'd like to use it, but one of my core mods (MKS) will be minimum 1.11 going forward so I can't roll back to an older version of the game.

Expand  

Removing and earning veteran status works fine in 1.11. I'm also using KerbalRenamer, so I cannot say for sure if randomizing Kerbals works. Just starting a new game with Earn Your Stripes should answer that question, though.

Link to comment
Share on other sites

  On 1/23/2021 at 12:17 PM, hermano said:

Removing and earning veteran status works fine in 1.11. I'm also using KerbalRenamer, so I cannot say for sure if randomizing Kerbals works. Just starting a new game with Earn Your Stripes should answer that question, though.

Expand  

Sounds like that's about the scope of the mod so it works well I'd say? I've installed it and will do my own testing.

Thanks

Link to comment
Share on other sites

  On 1/23/2021 at 10:40 PM, SpacedInvader said:

Sounds like that's about the scope of the mod so it works well I'd say? I've installed it and will do my own testing.

Thanks

Expand  

FWIW this mod has broken on an update once in 4 years, and that was due to a Unity upgrade (which usually break mods). It's also fairly popular, and nobody has screamed at me, so my working assumption is that it's fine until told otherwise.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

Hiring back a dismissed kerbanaut (same name) results in exceptions:

[ERR 20:13:41.529] Exception handling event OnApplicantHired in class EarnYourStripes:System.ArgumentException: An item with the same key has already been added. Key: Ceri Kerman
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at EarnYourStripes.EarnYourStripes.OnCrewHire (ProtoCrewMember p, System.Int32 numberOfEmployees) [0x00020] in <fb7693575ef84126a7b0413b6cf42436>:0 
  at EventData`2[T,U].Fire (T data0, U data1) [0x000b0] in <2afc64dea36946459d4707808bdac511>:0 

[EXC 20:13:41.533] ArgumentException: An item with the same key has already been added. Key: Ceri Kerman
	System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
	System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
	EarnYourStripes.EarnYourStripes.OnCrewHire (ProtoCrewMember p, System.Int32 numberOfEmployees) (at <fb7693575ef84126a7b0413b6cf42436>:0)
	EventData`2[T,U].Fire (T data0, U data1) (at <2afc64dea36946459d4707808bdac511>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	EventData`2:Fire(ProtoCrewMember, Int32)
	KerbalRoster:HireApplicant(ProtoCrewMember)
	KSP.UI.Screens.AstronautComplex:HireRecruit(UIList, UIList, UIListItem)
	KSP.UI.Screens.AstronautComplex:Vbutton(ButtonTypes, CrewListItem)
	UnityEngine.Events.UnityEvent`2:Invoke(ButtonTypes, CrewListItem)
	KSP.UI.CrewListItem:<Awake>b__28_0()
	UnityEngine.Events.UnityEvent:Invoke()
	KSP.UI.UIStateButton:<Awake>b__24_0()
	UnityEngine.EventSystems.EventSystem:Update()

 

Link to comment
Share on other sites

  • 1 month later...
  On 5/9/2021 at 8:51 AM, Errol said:

The strip honours is working for me in the astronaut complex, but not the flight scene. Any ideas what I might have done wrong with the installation?

Expand  

I could do with a little more information. Is it turning Kerbals who already were stripped back? (that would be a bug), is it not stripping Rescue Kerbals (kinda a bug but I'd understand why that's happening).

A log and the name of the Kerbal(s) who are having issues would be handy.

Link to comment
Share on other sites

So I've been doing some more testing. For context, I haven't really played ksp in years, so I'm still learning about all the changes in stock and my fav mods. 

Started with a fresh ksp 1.11.2 install, new career save game, and tried checking to see if jeb and friends get orange suits as expected; they do. Then I add in only earn your stripes and flight tracker.  Now no matter what settings I use in the difficulty settings, it seems like jeb and friends or the rando big four get vateran status stripped. I tried every combination of the 2 sliders for default and veteran suit I could think of, and even turning the strip veteran status options off. They always get white suits.

Last night I was trying earn your stripes with about 150 other mods, and seems like it was failing to strip veteran status.

EDIT: So I jsut noticed the post from a couple pages back that says that EYS doesn't work on eva suits anymore. So I tried doing some flights to earn veterancy for a kerbal; jeb in this case, and his white suit in the astronaught complex did turn orange....so I guess this mod is working as expected and I was mistaken. I also learned about the coat hangers in the astronaught complex in this thread, didn't even know about that. I don't mind manually switching the EVA suits when someone gets promoted, that is fine.

Here's a log from today:
 

  Reveal hidden contents

 

Edited by Errol
Link to comment
Share on other sites

  • 1 month later...
  On 2/16/2019 at 9:48 PM, severedsolo said:

Hows this:

unknown.png

Over 1,000 hours it will only be accurate to within 1k hours, due to truncating issues in the Astronaut Complex, but I think it looks pretty swish.

Expand  

Would it be possible to add these details to the crew selection screens in the VAB and SPH? It'd be handy to see them when selecting crew for a mission.

Link to comment
Share on other sites

  On 6/17/2021 at 6:50 AM, WelshSteW said:

I think I've done it. It's the first time I've raised an issue on Github, so if I've ballsed it up, please let me know :)

Expand  

I got an email notification that you'd raised an issue so should be good. Thanks - I tend to go through the issues on Github when doing a release, so you've got much less chance of me forgetting about it when its on Git :)

Link to comment
Share on other sites

  • 1 month later...
  On 8/12/2021 at 6:48 PM, Space_Coyote said:

With Flight Tracker being updated (as of 12 August, 2021,) is Earn your Stripes now 1.12.2 compatible? If so then expect a download...

 

Space_Coyote

Expand  

It should be (in truth it always was, I just hadn't bothered to update the .version file yet). I've got a small update in the works, but nothing to stop it working right now.

Link to comment
Share on other sites

  • 2 months later...

Great mod! If this were to be installed mid-save, is there a method to manually edit the persistent file to apply mission count and flight times to the crew? I had Final frontier was installed from the beginning so I figure I can use that info.

Link to comment
Share on other sites

  On 11/2/2021 at 1:34 AM, cxg2827 said:

Great mod! If this were to be installed mid-save, is there a method to manually edit the persistent file to apply mission count and flight times to the crew? I had Final frontier was installed from the beginning so I figure I can use that info.

Expand  

Indeed there is.

The actual saving is done by Flight Tracker - if you search your persistence file for "FlightTrackerScenario" you should find it.

Note: A kerbal will have to go on a flight before they will be added to the tracker. It's been a while since I wrote it but I think rolling them out to the launchpad and recovering will be enough to create the entry, you may need to actually have them take off and land for it to count though.

Once they have created entries, you'll need to close KSP/unload your save otherwise it will just save over it if you try editing while your save is open.

Entries should be self explanatory, it's worth noting that "TimeLogged" is in seconds though.

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...