Code Monkey home page Code Monkey logo

cryotanks's People

Contributors

aodh4n avatar blackliner avatar blowfishpro avatar chrisadderley avatar danfarnsy avatar dlrk2 avatar gordon-dry avatar hebarusan avatar hsjasperism avatar jsolson avatar kerbas-ad-astra avatar khalendros avatar louisb3 avatar madman2003 avatar piezpiedpy avatar scialytic avatar sooll3 avatar starstrider42 avatar threepounds avatar tinygrox avatar tomasbrod avatar v1adimir-v avatar wyzard256 avatar yalov avatar zorg2044 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryotanks's Issues

Resource duplication in editor with parts in symmetry

When changing the tank type of a tank in symmetry, all of the other tanks connected in symmetry won't have the original resource removed. The duplicated resource disappears when using certain buttons in the editor (including launch).

Tested on version 1.11.1 with no mods other then CryoTanks and dependencies, also occurs in 1.10.1 and presumably 1.11.2.

Screenshots:
https://imgur.com/a/pOVwANL

Getting the previous Error of cyrotank boiloff.

I have been getting this for a while and i noticed this was a previous problem. I get massive spam of this error. Can a game get unstabled over time? Would a reinstall help?

NullReferenceException: Object reference not set to an instance of an object
SimpleBoiloff.ModuleCryoTank.Update () (at <249ca1d9eb3c4f67a8d3a27f87ab9164>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Cryo tanks suck up all EC

Yesterday I saw the following behaviour: cryo consumption was 2 EC/s, solar generator produced 1.5 EC/s. EC Level dropped to zero, I lost vessel control, so no chance to disable cooling and regain control.

2 possible solutions:

  • always make cooling deactivateable regardless of vessel control
  • only use EC up to a given threshold, like ion engines do now

I can PR the second suggestion, don't know if the first one is possible.

Rebalance incomplete

I see you've updated the tank types and tank switcher patches to have your ZBO tanks weight the same as lifter tanks (0.25 kg per 10 units LH2), but the dry masses of the tanks themselves are still the same values -- so (for example) the HI-M-10 has 3200 units of volume and should weigh 0.8 tons in its LH2 variant (which it does in the B9PartSwitcher module), but its "mass" variable is still 1 ton, so it weighs 0.2 tons too much in all variants. Likewise for your other LH2 tanks.

I'd make a pull request with the fixes, but I see you haven't committed the rebalanced tank type and tank switcher patches to this repo yet, so I don't want to risk stepping on any files.

cryogenic contents not boiling off?

Hello! I'm loving the mod, but I've encountered an issue recently. I'm not sure whether it's from the cryo tanks themselves, or something else. I've uploaded my log file, and something from the exception detection mod. Is there anything else you would need from me?

edu.log
Player.log

Wrong Normals on YD-37-k07 Tank

I observe some messed up normals (I guess, it effects highlight and lighting) on just this one tank with only the isohedral modes. https://imgur.com/a/IxY9Sob . I'm hoping it's just an easy mistake on the asset, but if it's some weird mod interaction I can upload more logs. Thanks!

Alternate fuel tank textures

Rework all hydrogen tanks to have an alternate white/faceted texture

  • hydrogen-10-1
  • hydrogen-375-1
  • hydrogen-375-2
  • hydrogen-375-3
  • hydrogen-25-1
  • hydrogen-25-2
  • hydrogen-25-3
  • hydrogen-125-1
  • hydrogen-125-2
  • hydrogen-radial-125-1
  • hydrogen-radial-25-1
  • hydrogen-radial-375-1

RO Config?

Is there any config to make this mod compatible with RO?

3.75 m and 5 m hydrogen tanks have gaps for compact/bare variants

image

Specifically, the 3.75 m tanks have gaps (as shown) for compact and bare variants. The 5 m tank does not have a similar gap for compact variant (it lines up just fine), but it does for the bare variant. It looks like a model issue where the inner rings aren't consistently vertically aligned with the outer rings.

Tanks with multiple cryo fuels get double counted

If multiple resources in a tank are cryo fuels the EC cost for each will count the entire contents of the tank. For example if adding fusion fuels to regular zbo tanks, the combined deuterium/helium3 switch costs twice as much to cool than the single ones or the hydrogen.

Far future goes around this by setting a global cost but this doesnt work if fuels have different cooling costs. You cant do a LOx/LH2 config for example, which seems quite a breaking bug.

I havent tested the actual boiloff, just the EC cost

KSP.log error, Texture * not found

There are ERRors in the KSP Log with CryoTanks, because the *.mu files are mentioning *.tga files that do not exist.

Example:
KSP.log entry:
[LOG 20:14:26.336] Load(Model): CryoTanks/Parts/HydrogenTanks/hydrogen-10/hydrogen-10-1
[ERR 20:14:26.356] Texture 'CryoTanks/Parts/HydrogenTanks/hydrogen-10/hydrogen-10-n' not found!

hydrogen-10-1.mu file asks for hydrogen-10-n.tga (last line if opened with NP++, after _BurnColor)

Boiloff not happening in background

I tested in a fresh 1.10 install with just the near future mods. Teleporting a ship into orbit and timewarping 200 days in the space center. After returning to the ship no boiloff has occured. Timewarping while focused on the ship works normally. I tested in 1.7 and 1.9 and it happens there too.
Screenshot from 2020-10-28 12-46-01
Screenshot from 2020-10-28 12-47-42
Screenshot from 2020-10-28 12-48-15

Current MM Patch "too aggressive"

I know ckan isnt supported but this isnt a ckan issue. I installed some other near future mods through ckan, cryo tanks popped up as recommended and I added it as well, its metadata description (I assume set through your git/version files, if not Ill take this to ckan if they fill it out) states "A set of fuel tanks containing liquid hydrogen, with active cryo-cooling." Making it seem like it was additional hydrogen tanks which is always a win for me. The only issue I had is the MM patch included overwrites all tanks that can contain lf/ox with your versions. This superseded IFS and other mods patching CRP fuels in on pretty much every tank in the game (including some other mods tanks designed to work with CRP ). The specific patch currently included using B9 partswitch to patch into every lf/o tank does make sense in a stock/near future only install, but not when other mods are included that use other fuels. Maybe make it an optional patch for all lf/o tanks and include only patch near future tanks that can contain cryo fuels(with b9 being used as the texture switcher it makes sense) as standard?

Tank Types are not available with SimpleFuelSwitch installed

It seems that having both this and SimpleFuelSwitch by @KSPSnark installed results in the option to change tank types for Stock being hidden/disabled and NF tanks not having the cryo fuels as options. I only noticed because I initially didn't have this mod and used the other mod to hold only liquid fuel for nuclear engines.

I don't think anything needs to be fixed as this mod makes the fuel switcher redundant anyways, but it could be helpful for others to add conflict between the two to the CKAN metadata.

image

5m Class Fuel Tanks

New fuel tanks in all sizes and stylings, including frame-less radial variants.

  • XL Size (double largest 3.75m tank)
    • Foil
      • Inline
      • Frame-less
    • Iso
      • Inline
      • Frame-less
  • Full Size (largest 3.75m tank)
    • Foil
      • Inline
      • Frame-less
    • Iso
      • Inline
      • Frame-less
  • Half Size
    • Foil
      • Inline
      • Frame-less
    • Iso
      • Inline
      • Frame-less
  • Quarter Size
    • Foil
      • Inline
      • Frame-less
    • Iso
      • Inline
      • Frame-less

HB-8 attachment structure

HB-8 tank attachment structure is not playing nice with cylindrical hosts. Some top-down mirror-symmetrical structure would fit nicer than radially symmetrical frame.

CryoTanks incompatible with some Restock tanks

CryoTanks don't correctly apply to Restock tanks. It seems to be a load order issue for the patch: :FOR[zzz_CryoTanks] loads before the :AFTER[zzz_Kerbalism] tag that Restock targets for some of the problematic tanks. However even changing to :LAST[zzz_CryoTanks] doesn't fix the patch (in fact, for some reason it creates double ModularFuelTank modules), so I'm certain that there's more to it than that.

Tanks that I know have the issue:

  • The FL-06-018 expansion line (Oscar-A through Oscar-D)
  • NOT the FL-06-018 Oscar-B itself
  • FS-06-009
  • FS-12-050
  • FS-18-220

image
image

Create 'Flat' Orbital Tankage

Needs some work, but create some orbital tanks that are flatter than the current techniques allow.

Potential scope, likely to change:

  • 5m Half Size
  • 5m Quarter Size
  • 5m Eighth Size
  • 3.75m Quarter Size
  • 2.5m Qaurter Size
  • 1.25m Quarter Size

Fix On/Off toggles for cryogenic tanks in the VAB

From @Stratickus

Feature Request: Ability to Enable/Disable Cooling for Cryo tanks in VAB/Editor.

Would allow for minimizing EC drain for 1st stage tanks where boiloff is usually not a concern. This would be beneficial as it would persist across saved craft files. As it stands it must be done prior to launch or inflight.

Half-spherical stack tanks

This may apply not only to cryo stuff, but half-spherical tanks could serve as handy additional storage and stylish endcaps.

Error spam in log since 0.4.7 update

[EXC 08:47:23.724] InvalidOperationException: Operation is not valid due to the current state of the object
	System.Linq.Enumerable.Single[UrlConfig] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback)
	System.Linq.Enumerable.Single[UrlConfig] (IEnumerable`1 source, System.Func`2 predicate)
	SimpleBoiloff.ModuleCryoTank.Start ()
[EXC 08:47:23.732] NullReferenceException: Object reference not set to an instance of an object
	SimpleBoiloff.ModuleCryoTank.Update ()
[EXC 08:47:23.738] NullReferenceException: Object reference not set to an instance of an object
	SimpleBoiloff.ModuleCryoTank.Update ()

Followed by the last error a few thousand times.
KSP - Cryotanks.zip

NRE Spam in VAB

NREs are spammed to the log when a ZBO tank is toggled to have no boiloff-managed resources (eg, Oxidizer only) in the VAB.

Split out Power Monitor from SimpleBoiloff

  • Remove the CryoMonitor component and replace with a hardlink to the Power Monitor component from the FFT project.
  • Refactor the Boiloff module to use the PowerMonitor component

Stock Methane Tank Options Not Showing

I am not getting any options to turn stock tanks into methane tanks. Hydrogen works just fine but not methane. KSP ver 1.10.1 with Near Future, REstock, Kerbalism and Kiwi Tech Tree among other mods installed that shouldn't conflict.

Rework fuel tanks for alternate frame-less model

Rework all inline fuel tanks to have an alternate, slightly shorter frame-less model.

  • hydrogen-10-1
  • hydrogen-375-1
  • hydrogen-375-2
  • hydrogen-375-3
  • hydrogen-25-1
  • hydrogen-25-2
  • hydrogen-25-3
  • hydrogen-125-1
  • hydrogen-125-2

Dont Patch Parts that have Module WBIOmniStorage

The MM patches currently do not patch fuel tanks parts that already define a switcher, such as IFS, firespitter, or WBIConvertableStorage.

This exclusion should also include parts with Module WBIOmniStorage, as these work like WBIConvertibleStorage (just a newer type of storage that Angel-125 is using nowadays).

Example where the CryoTanks patch conflicts with a part that has WBIOmniStorage is in Angel-125's mod MOLE, part wbiShieldedTank.

LMOx tank mass balance point?

Looking at the LMOx tank mass:
https://github.com/ChrisAdderley/CryoTanks/blob/63468f03eda5e23c6368ef1d57f899fcf72bb927/GameData/CryoTanks/Patches/CryoTanksFuelTankTypes.cfg#L112
This tank mass is 1/11th the fuel mass (increased from ~1/14th by commit b451ae9). If that's intended to represent advanced super-lightweight tank technology, that's great, but the pure LM tank has the usual 1/8th mass figure. To get the LMOx tank to that balance point, the mass should be 0.000490377. (Unless I'm using the wrong mass figures or something -- I'm using 0.005 t/unit for Ox, 0.00042561 t/unit for LM).

BUG negative mass caused in a part

It was recently brought to my attention that the CryoTanksFuelTankSwitcher.cfg is causing a negative dry mass in a part from MKS when in Liquid Hydrogen configuration. This causes all sorts of problems and explosions.
Some info on the part in question: in stock, it has a dry mass of .25 tons and holds 315 units of Liquid Fuel and 385 units of Oxidizer

also on the Cryogenic Engines forum page for moar visibility

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.