linuxgurugamer 17,813 Posted March 24, 2017 Share Posted March 24, 2017 (edited) Continuing @AliceTheGorgon's work, I bring you EVA Fuel Continued. Original thread here: http://forum.kerbalspaceprogram.com/index.php?/topic/138474-122- Important note! Do not use on KSP 1.1.0! Weird things will happen, and it won't work! It requires at least KSP 1.1.1! About: This is an update of Vendan's mod of the same name. Like the original, Kerbals will now use Monopropellant for EVA fuel, instead of getting unlimited free fuel. The Kerbals take 5 units with them when they leave the ship, and return any leftover fuel back to the ship when they re-enter.New to this updated version: Rescue contract ships will give Kerbals 1 unit of fuel to reach safety, instead of leaving them totally stranded. Kerbal Inventory System's EVA tanks will also use Monopropellant to refill. (Props to IgorZ for the help.) The fuel type and fuel conversion ratio is configurable. (Much thanks to Shinsaka.) Changes from previous Added log.cs (easier internal logging) Saves data to a file Adds mission limited fuel Moved all settings into KSP settings page Deleted EvaFuelSettings class License & source code: The license is still MIT, like Vendan's original. The code is now at: https://github.com/linuxgurugamer/EvaFuel Downloads:https://spacedock.info/mod/1274CKAN: The version for KSP 1.2.2 is live on CKAN. Edited April 3, 2018 by linuxgurugamer Quote Link to post Share on other sites
dtoxic 109 Posted March 26, 2017 Share Posted March 26, 2017 Hey linux here is something for you. i cant pinpoint what causes it, and i don't see any errors in game, just the message appears when entering/exiting a vessel. Spoiler [ERR 14:46:21.037] Exception handling event onVesselSwitching in class EvaFuelManager:System.TypeLoadException: Could not load type 'System.Func`2' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at EventData`2[Vessel,Vessel].Fire (.Vessel data0, .Vessel data1) [0x00000] in <filename unknown>:0 Quote Link to post Share on other sites
dtoxic 109 Posted March 29, 2017 Share Posted March 29, 2017 @linuxgurugamer i don't want to be a pain in the behind just wanted to divert your attention to this Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 29, 2017 Author Share Posted March 29, 2017 On 3/26/2017 at 11:08 AM, dtoxic said: Hey linux here is something for you. i cant pinpoint what causes it, and i don't see any errors in game, just the message appears when entering/exiting a vessel. Hide contents [ERR 14:46:21.037] Exception handling event onVesselSwitching in class EvaFuelManager:System.TypeLoadException: Could not load type 'System.Func`2' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at EventData`2[Vessel,Vessel].Fire (.Vessel data0, .Vessel data1) [0x00000] in <filename unknown>:0 1 hour ago, dtoxic said: @linuxgurugamer i don't want to be a pain in the behind just wanted to divert your attention to this Thanks, always helpful to ping me when you post. I don't know what's going on (yet), but will figure it out. Is this every time you enter/exit? Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 30, 2017 Author Share Posted March 30, 2017 New release, 1.4.3.1: Fixed isse with onVesselSwitching, function wasn't being removed from event Fixed issue with multiple fucntions being called for onCrewOnEVA Quote Link to post Share on other sites
dtoxic 109 Posted March 30, 2017 Share Posted March 30, 2017 15 minutes ago, linuxgurugamer said: New release, 1.4.3.1: Fixed isse with onVesselSwitching, function wasn't being removed from event Fixed issue with multiple fucntions being called for onCrewOnEVA hey sorry i was not at home, was this the problem? Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 30, 2017 Author Share Posted March 30, 2017 1 hour ago, dtoxic said: hey sorry i was not at home, was this the problem? Yes Quote Link to post Share on other sites
danielboro 98 Posted March 30, 2017 Share Posted March 30, 2017 will this read the old configs? Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 30, 2017 Author Share Posted March 30, 2017 1 hour ago, danielboro said: will this read the old configs? Old configs from where? The original version? It should, but no guarantees. Quote Link to post Share on other sites
dtoxic 109 Posted March 30, 2017 Share Posted March 30, 2017 8 hours ago, linuxgurugamer said: Yes can confirm, errors are gone! thx linux :), on a side note may i know what the problem was? Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 30, 2017 Author Share Posted March 30, 2017 Functions were being added to events, but not removed, so nonexistent functions were being called when you were switching Quote Link to post Share on other sites
dtoxic 109 Posted March 30, 2017 Share Posted March 30, 2017 @linuxgurugamer i think you have introduced now a new problem, the monoprop is not taken from the vessel in other word's it like stock now, i just noticed it. Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 30, 2017 Author Share Posted March 30, 2017 15 minutes ago, dtoxic said: @linuxgurugamer i think you have introduced now a new problem, the monoprop is not taken from the vessel in other word's it like stock now, i just noticed it. Make sure you don't have the option set which limits the eva fuel for the entire mission Also,do you have EVA Enhancements installed? If so, check it as well for the same option Quote Link to post Share on other sites
dtoxic 109 Posted March 30, 2017 Share Posted March 30, 2017 (edited) hmmm let me check,will get back to you is this ok? i belive it is. i don't have eva Enhancements. Spoiler Edited March 30, 2017 by dtoxic Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 30, 2017 Author Share Posted March 30, 2017 Looks OK. Thanks for checking, I'll look into it Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 31, 2017 Author Share Posted March 31, 2017 I've confirmed the problem, working on a fix Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 31, 2017 Author Share Posted March 31, 2017 I'll have a fix out in the morning Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted March 31, 2017 Author Share Posted March 31, 2017 It's taken a bit longer to fix than I thought. I just finished, but haven't had time to do a full test. I hope to get it out by tomorrow eve at the latest. Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted April 1, 2017 Author Share Posted April 1, 2017 New Release, 1.4.3.2: Fixed build environment (was building for .net 4) Fixed EVA fuel not being used Fixed EVA fuels being preserved when entering vessel which doesn't have storage Please test and let me know if you see any problems Quote Link to post Share on other sites
dtoxic 109 Posted April 1, 2017 Share Posted April 1, 2017 6 hours ago, linuxgurugamer said: New Release, 1.4.3.2: Fixed build environment (was building for .net 4) Fixed EVA fuel not being used Fixed EVA fuels being preserved when entering vessel which doesn't have storage Please test and let me know if you see any problems It works, thx man! Quote Link to post Share on other sites
GenryRar 5 Posted April 21, 2017 Share Posted April 21, 2017 @linuxgurugamer thx for supporting this mod! Is it possible to add ability for changing, what propellant this mod uses? For now it not compatible with RO.. Quote Link to post Share on other sites
danielboro 98 Posted April 21, 2017 Share Posted April 21, 2017 (edited) @GenryRar look for a .cfg file if this version uses the same cfg as the EvaFuel mod you can set the fuel ther or chack the game mod options it could have been moved to ther edit: i had a look in settings cant chainge it ther but it writs what you are using edit 2: get the old version from https://github.com/AliceTheGorgon/EvaFuel/releases and use the setting .cfg from ther. see if it works Edited April 21, 2017 by danielboro Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted April 21, 2017 Author Share Posted April 21, 2017 (edited) 57 minutes ago, GenryRar said: @linuxgurugamer thx for supporting this mod! Is it possible to add ability for changing, what propellant this mod uses? For now it not compatible with RO.. Not too difficult. The only issue will be to find the correct propellants, I may just show a list of all resources in game. For now, you can edit the save file, look for the string EvaPropellantName and change the value to what you want. I've added this as an enhancement request, but it will probably wait until after 1.3 drops Edited April 21, 2017 by linuxgurugamer Quote Link to post Share on other sites
GenryRar 5 Posted April 21, 2017 Share Posted April 21, 2017 5 hours ago, linuxgurugamer said: Not too difficult. The only issue will be to find the correct propellants, I may just show a list of all resources in game. For now, you can edit the save file, look for the string EvaPropellantName and change the value to what you want. I've added this as an enhancement request, but it will probably wait until after 1.3 drops It works, thx! I also need to change 'ShipPropellantName' to same fuel type, without it kerbals take propellant "from air". I think, best solution is "just show a list of all resources". It add best compatibility for future mods too. Only one problem for now - RO allow us to change, what type of propellant we use for rcs (in VAB and SPH). So every time we build new ship we need to adjust settings for EvaFuel... 6 hours ago, danielboro said: @GenryRar look for a .cfg file if this version uses the same cfg as the EvaFuel mod you can set the fuel ther or chack the game mod options it could have been moved to ther edit: i had a look in settings cant chainge it ther but it writs what you are using edit 2: get the old version from https://github.com/AliceTheGorgon/EvaFuel/releases and use the setting .cfg from ther. see if it works also thx for help! Quote Link to post Share on other sites
linuxgurugamer 17,813 Posted April 21, 2017 Author Share Posted April 21, 2017 Each ship can use different propellant for RCS? Quote Link to post Share on other sites
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.