FreeThinker Posted May 17, 2019 Share Posted May 17, 2019 (edited) @garwel Could you please add support for Edit: I made it easy by creating a pull request for you Edited May 17, 2019 by FreeThinker Quote Link to comment Share on other sites More sharing options...
garwel Posted May 17, 2019 Author Share Posted May 17, 2019 @FreeThinker Great, I integrated your PRs and will release them with the next version. Thanks! Quote Link to comment Share on other sites More sharing options...
woodbyte Posted May 18, 2019 Share Posted May 18, 2019 (edited) Quick followup to the radiation issue I reported earlier: you should disregard it entirely for the time being. It might be an actual bug, but more likely it was due to a random computation error caused by an unstable overclock. I recently noticed increased system instability after adding more RAM (no BSODs, just more application crashes). I had stress-tested it with Prime95 for a number of hours, but forgot to run a non-AVX workload. This was a mistake, as these newer gen intel CPUs can vary voltage input based on the type of instruction, and indeed after disabling AVX in Prime95 it started reporting rounding errors after about 30min of stress-testing. This is now fixed with a slight voltage increase. I will of course keep running the mod with debug mode enabled and let you know if the issue crops up again. But for now, sorry for the likely false report and thanks again for this amazing mod! Edited May 18, 2019 by woodbyte Quote Link to comment Share on other sites More sharing options...
gamerscircle Posted May 19, 2019 Share Posted May 19, 2019 Is there a reason why KH doesn't show on the stock tool bar? I can use the "toolbar" mod and it will be accessible. Quote Link to comment Share on other sites More sharing options...
Nightside Posted May 20, 2019 Share Posted May 20, 2019 5 hours ago, gamerscircle said: Is there a reason why KH doesn't show on the stock tool bar? I can use the "toolbar" mod and it will be accessible. It shows up on my game. Quote Link to comment Share on other sites More sharing options...
garwel Posted May 20, 2019 Author Share Posted May 20, 2019 9 hours ago, gamerscircle said: Is there a reason why KH doesn't show on the stock tool bar? I can use the "toolbar" mod and it will be accessible. Check your in-game settings for Kerbal Health (accessed via Difficulty Settings). Quote Link to comment Share on other sites More sharing options...
gamerscircle Posted May 20, 2019 Share Posted May 20, 2019 5 hours ago, garwel said: Check your in-game settings for Kerbal Health (accessed via Difficulty Settings). Thank you, I had the "Use Blizzys" checked Quote Link to comment Share on other sites More sharing options...
Waxing_Kibbous Posted May 20, 2019 Share Posted May 20, 2019 I like the cut of this mod's jib, has anyone tried this with Snacks! and/or Missing History? I really like the idea that science and funds continue to be an important resource in the later game. Quote Link to comment Share on other sites More sharing options...
Daniel Prates Posted May 25, 2019 Share Posted May 25, 2019 Hello @garwel, can you clear a few things for me? 1. One of my engineers on a long duration orbital station stay became a tourist. Other crewmembers are fine, the station is deaigned so they can stay there forever. I was "fastforwarding" so maybe he caught a sickness and I didnt see it, so ok. The thing is: when I access the menu, he does not appear anymore, so I cant inspect his modifyers! 2. The wiki mentions scientists and "medics" being able to boost recuperation. "Medic"? 3. Parts that generate special recuperation, like the cupola: the kerbal has to be 'inside' them for the effect to take place? Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 25, 2019 Share Posted May 25, 2019 Anybody know if this is compatible with Crew R&R. ? CrewR&R sends kerbals on vacation after returning from a mission. Internally it does this by changing the kerbal type to an invalid number ProtoCrewMember.RosterStatus VACATION = (ProtoCrewMember.RosterStatus)9001; I guess it all comes down to whether this mod changes the roster status for available crew. anybody know? Quote Link to comment Share on other sites More sharing options...
cakepie Posted May 26, 2019 Share Posted May 26, 2019 5 hours ago, linuxgurugamer said: Anybody know if this is compatible with Crew R&R. ? CrewR&R sends kerbals on vacation after returning from a mission. Internally it does this by changing the kerbal type to an invalid number ProtoCrewMember.RosterStatus VACATION = (ProtoCrewMember.RosterStatus)9001; I guess it all comes down to whether this mod changes the roster status for available crew. anybody know? @wile1411 actually pointed this behavior of Crew R&R out to me when we were discussing about building a framework for modifying kerbal skills -- which is now in development as Kerbal Status Effects. I do have some ideas for a shared framework for mods that want to introduce other non-stock RosterStatus to do so without stepping on each others toes, but that'd be a different mod I think. For example besides crew R&R's "vacation" maybe Kerbal Health can have "hospitalized" or some mod may impose a "quarantine" duration upon returning to Kerbin from spaceflight -- and they can be set in some ordering/priority or allowed/disallowed to run concurrently. Anyway to address the question at hand AFAIK currently Kerbal Health only reads PCM.RosterStatus and does not set it at any point (obv @garwel would know better, so please correct me if I'm mistaken ). Quote Link to comment Share on other sites More sharing options...
garwel Posted May 26, 2019 Author Share Posted May 26, 2019 7 hours ago, Daniel Prates said: Hello @garwel, can you clear a few things for me? 1. One of my engineers on a long duration orbital station stay became a tourist. Other crewmembers are fine, the station is deaigned so they can stay there forever. I was "fastforwarding" so maybe he caught a sickness and I didnt see it, so ok. The thing is: when I access the menu, he does not appear anymore, so I cant inspect his modifyers! Can you attach the persistent.sfs file? If the kerbal is alive and not marked as missing, they should still be on the list. Did you receive messages from Kerbal Health about accidents, low health and that kerbal going "exhausted"? 7 hours ago, Daniel Prates said: 2. The wiki mentions scientists and "medics" being able to boost recuperation. "Medic"? Medic is a profession added by USI MKS mod (and maybe some others too). 7 hours ago, Daniel Prates said: 3. Parts that generate special recuperation, like the cupola: the kerbal has to be 'inside' them for the effect to take place? No, they affect the entire crew up to a certain cap. For cupola, it is 2 crew members. It means that if you have 4 kerbals on board, they will get 0.5% recuperation instead of 1% and so on. The only exception (IIRC) is medical labs from various mods that only affect crew inside of them. 6 hours ago, linuxgurugamer said: Anybody know if this is compatible with Crew R&R. ? CrewR&R sends kerbals on vacation after returning from a mission. Internally it does this by changing the kerbal type to an invalid number ProtoCrewMember.RosterStatus VACATION = (ProtoCrewMember.RosterStatus)9001; I guess it all comes down to whether this mod changes the roster status for available crew. anybody know? I haven't tested it, so I don't really know. As far as I remember, I don't change RosterStatus anywhere, but it is used by the mod extensively. I always assumed it had one of the four stock values (Available, Assigned, Dead, Missing), so a non-standard value can have unexpected effects such as kerbals' health being reset, they disappearing from the lists, NREs etc. We'd need a volunteer to test these two mods together Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 26, 2019 Share Posted May 26, 2019 5 hours ago, garwel said: I haven't tested it, so I don't really know. As far as I remember, I don't change RosterStatus anywhere, but it is used by the mod extensively. I always assumed it had one of the four stock values (Available, Assigned, Dead, Missing), so a non-standard value can have unexpected effects such as kerbals' health being reset, they disappearing from the lists, NREs etc. We'd need a volunteer to test these two mods together So I guess the next question is how is it used? The enum has the stock values: Available Assigned Dead Missing And Crew R&R adds: Vacation = 9001 but obviously the game doesn't know about this Quote Link to comment Share on other sites More sharing options...
Daniel Prates Posted May 26, 2019 Share Posted May 26, 2019 (edited) 7 hours ago, garwel said: Can you attach the persistent.sfs file? If the kerbal is alive and not marked as missing, they should still be on the list. Did you receive messages from Kerbal Health about accidents, low health and that kerbal going "exhausted"? I restarted the game and he was there again - albeit, permanently transformed into a tourist. I guess excessive timewarp must have created some data witchcraft. I went ahead and corrected the persistent.cfg to restore him to his engineering skills. As for the rest, tks! PS: maybe this tie in to what linnuxGG was talking about. My timewarp bugginess reported above did change a config in my savegame persistent file. Edited May 26, 2019 by Daniel Prates Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 26, 2019 Share Posted May 26, 2019 (edited) @garwel I took a quick look at the code. The only place that I see an issue is in KerbalhealthStatus.cs, there is a case statement at line 84 which returns the LocationString based on the kerbal's status. It doesn't appear that it would be a problem, you have a check for a null vessel. However, adding one line would fix the problem: case (ProtoCrewMember.RosterStatus)9001: return "Vacation"; This is a quick fix, I suppose a better one would be for me to make this a public field in Crew R&R so you could just reference it, this would be protection against any possible changes in the future. Let me know. Edit: If you would use Crew R&R as a reference during the compile, it won't be an issue at runtime since the only thing you would be grabbing would be the compiled constant. If you don't like that, I can expose it via Reflection so you could get it that way. Reflection is a few more lines of code, but other than that, not a big deal Edited May 26, 2019 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
garwel Posted June 5, 2019 Author Share Posted June 5, 2019 @linuxgurugamer Thank you for checking it for me. I also found some other cases where it could be a problem (the most serious one is that kerbals on vacation would be considered non-trackable and have their health data reset). I'm going to include it in the next release, but someone should do the testing. On another note, I'm going to slightly modify default health factors in the next Kerbal Health release. Microgravity will draw 1 HP per day instead of 0.5; being at KSC will restore 4 HP per day instead of 5. The game will get a little bit harder, but it will also make centrifuges more sensible. Current games should not be affected by it unless you manually change the settings. Quote Link to comment Share on other sites More sharing options...
Daniel Prates Posted June 5, 2019 Share Posted June 5, 2019 2 hours ago, garwel said: The game will get a little bit harder That is why we use KH. Any chance you could consider a healing factor, or a health bonus, having the presence of a scientist? I gather, if a lab counts as a "med bay" of sorts, maybe the scientist could count as having some paramedic skills. Would add another layer to long mission planning. Quote Link to comment Share on other sites More sharing options...
garwel Posted June 5, 2019 Author Share Posted June 5, 2019 3 hours ago, Daniel Prates said: Any chance you could consider a healing factor, or a health bonus, having the presence of a scientist? I gather, if a lab counts as a "med bay" of sorts, maybe the scientist could count as having some paramedic skills. Would add another layer to long mission planning. IIRC, it can be done via the conditions mechanism. Check out the wiki to see how to edit or add conditions and logic to them. Quote Link to comment Share on other sites More sharing options...
Norcalplanner Posted June 24, 2019 Share Posted June 24, 2019 Just a quick note to say that I'm using this in my new JNSQ career and loving it. My first manned mission to Minmus nearly ended in disaster, simply because I forgot to put an antenna with sufficient range on the craft. While the landing was successful, the craft had to hightail it home to keep Gusemone Kerman alive and functioning. Here's a screenshot right before reentry: Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted June 28, 2019 Share Posted June 28, 2019 (edited) @garwel I made another pull request which adds a centrifuge. When will you make a new release? Edited June 28, 2019 by FreeThinker Quote Link to comment Share on other sites More sharing options...
garwel Posted June 28, 2019 Author Share Posted June 28, 2019 5 hours ago, FreeThinker said: @garwel I made another pull request which adds a centrifuge. When will you make a new release? I see it, thanks! TBH, I'm waiting for Kopernicus to be updated for KSP 1.7.2, so that I can test my current mod set. If KSP 1.7.3 is released before it happens, I think I won't wait and just publish the update. So hopefully pretty soon. Quote Link to comment Share on other sites More sharing options...
garwel Posted July 14, 2019 Author Share Posted July 14, 2019 Kerbal Health 1.3.6 Compiled for KSP 1.7.3 Added: Support for Crew R&R, Sin Phi Heavy Industries and new KSP-IE parts Added: Messages look a bit nicer now Changed: Microgravity factor increased from 0.5 to 1; KSC factor reduced from 5 to 4; these only affect new games on harder difficulty settings Changed: Assigned factor is now active in Easy mode by default (only affects new games) Fixed: Low health alarm now follows your settings for unwarping time Fixed: No more misleading "version update" message on new game start Download here Quote Link to comment Share on other sites More sharing options...
Tabris Posted July 15, 2019 Share Posted July 15, 2019 (edited) I'm Getting some serious Log Spam with the current version. Logs are Here also the kerbal health window is throwing InvalidOperationException when trying to open it in flight opened an issue on github https://github.com/GarwelGarwel/KerbalHealth/issues/89 Edited July 15, 2019 by Tabris extra info Quote Link to comment Share on other sites More sharing options...
garwel Posted July 15, 2019 Author Share Posted July 15, 2019 Thanks, I'll take a look. Could you share the persistent.sfs too? Quote Link to comment Share on other sites More sharing options...
Tabris Posted July 15, 2019 Share Posted July 15, 2019 7 hours ago, garwel said: Thanks, I'll take a look. Could you share the persistent.sfs too? Done. same link as above Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.