Recent Posts

Pages: [1] 2 3 ... 10
1
C# Suggestions / Re: Suggestions Thread for v2.4.0
« Last post by Steve Walmsley on Today at 09:36:44 AM »
On the Movement Orders tab of the Naval Organization window, the "Delete Template" button and the "Delete" (fleet) button are right next to each other.
This positioning, despite the subsequent confirmation dialog, leads to me occasionally deleting a fleet when I intend to delete a template.

I think mistakes would be less likely if the second button were labeled "Delete Fleet."

That button is used to delete whatever you have selected - Fleet, Ship, Squadron, Naval Admin Command, Sub-fleet or Shipping Line. I probably should modify the button label though when you click on different things.
2
How can I calculate Aphelion and Perihelion from the values in FCT_SystemBody?

                    sb.Perihelion = sb.OrbitalDistance * (1 - sb.Eccentricity);
                    sb.Aphelion = sb.OrbitalDistance * (1 + sb.Eccentricity);
                    sb.SemiMinorAxis = sb.OrbitalDistance * Math.Sqrt(1 - (sb.Eccentricity * sb.Eccentricity));
3
How can I calculate Aphelion and Perihelion from the values in FCT_SystemBody?
4
Huh. It may be that C# works differently than I expected, but the docs don’t indicate that the OrderBy method modifies the underlying list.

It's not the OrderBy, it is the Except that precedes it.
5
Spoilers / Re: Chance of recovering tech
« Last post by Steve Walmsley on Today at 09:04:05 AM »

What is the chance of recovering compressed fuel tech from ruins and what installation is it linked to? I'm assuming you can still do so as I haven't had this many ruins in a long time - I'm playing a ruin rich game at the moment and have recovered thousands of installations but have yet to uncover any tech from recovering them.


Welchbloke

Each installation type has a specific chance of also giving tech of an appropriate type. For example, if you recover a mine, there is a 1 in 300 chance of improving mining tech. The exception is research labs, which have a 1 in 5 chance of returning a random tech. However, this is limited to the tech level of the ruin race. So if you have manage to roll for the mining tech for example and you already have equal to or better tech than the ruin race, you won't get anything.

So in the context of the original question - Would recovering a fuel refinery have a small chance of recovering compressed fuel tech?

Fuel production tech. I don't think compressed is still in the game.
6
C# Suggestions / Re: Suggestions Thread for v2.4.0
« Last post by skoormit on Today at 05:06:45 AM »
On the Movement Orders tab of the Naval Organization window, the "Delete Template" button and the "Delete" (fleet) button are right next to each other.
This positioning, despite the subsequent confirmation dialog, leads to me occasionally deleting a fleet when I intend to delete a template.

I think mistakes would be less likely if the second button were labeled "Delete Fleet."
7
C# Bug Reports / Re: v2.5.1 Bugs Thread
« Last post by pedter on Yesterday at 11:41:54 PM »
A civilian cargo vessel has taken orders to carry a genetic modification centre but is unable to do so because its cargo hold is already full. It is now generating auto-turn-pausing interrupts because it cannot load. Presumably the underlying logic should not have allowed this so I'll file it as a bug. SM mode did not allow me to remove its orders nor empty its cargo so I have had to delete the vessel entirely instead.

Standard info dump:
- Conventional start
- Real stars
- US decimal and time formats (I have not reconfigured for UK standards)
- Approximately 85 years into the campaign
- Campaign started and running on v2.5.1 (no mods or DB edits ever)
8
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by db48x on Yesterday at 04:47:58 PM »
I think I copied the code after fixing it.

Ah, that explains it. Fair enough.

I need a temporary list because I don't want to modify the KnownSystems list.

Huh. It may be that C# works differently than I expected, but the docs don’t indicate that the OrderBy method modifies the underlying list.
9
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by Droll on Yesterday at 03:16:20 PM »
I think I copied the code after fixing it.

Code duplication detected, billions must die.  ;D
10
Spoilers / Re: Chance of recovering tech
« Last post by Droll on Yesterday at 03:14:52 PM »

What is the chance of recovering compressed fuel tech from ruins and what installation is it linked to? I'm assuming you can still do so as I haven't had this many ruins in a long time - I'm playing a ruin rich game at the moment and have recovered thousands of installations but have yet to uncover any tech from recovering them.


Welchbloke

Each installation type has a specific chance of also giving tech of an appropriate type. For example, if you recover a mine, there is a 1 in 300 chance of improving mining tech. The exception is research labs, which have a 1 in 5 chance of returning a random tech. However, this is limited to the tech level of the ruin race. So if you have manage to roll for the mining tech for example and you already have equal to or better tech than the ruin race, you won't get anything.

So in the context of the original question - Would recovering a fuel refinery have a small chance of recovering compressed fuel tech?
Pages: [1] 2 3 ... 10
SMF spam blocked by CleanTalk