Recent Posts

Pages: [1] 2 3 ... 10
1
C# Mechanics / Re: v2.6.0 Changes Discussion Thread
« Last post by Garfunkel on Today at 07:28:08 AM »
Yes, exactly that. You don't have two billion unemployed on Earth at the start of a conventional start.
2
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by db48x on Today at 12:49:23 AM »
Yes, you are correct.

Here is the relevant code:
 
Code: [Select]

PossibleSystems = KnownSystems.Values.Except(CurrentSystems).OrderBy(x => Math.Pow(x.X - StartSystem.RealSystem.X, 2.0) + Math.Pow(x.Y - StartSystem.RealSystem.Y, 2.0) + Math.Pow(x.Z - StartSystem.RealSystem.Z, 2.0)).ToList();


The + should be -, as you stated above. Its been like this since C# launched and you are the first person to figure it out :)

I think correcting it is better than leaving as is, as it will be easier to understand what is happening.

Am I missing something? That looks like the right distance formula to me, with minus signs in the correct place.

As an aside, are you sure that you need to call ToList() there? OrderBy returns an IOrderedEnumerable, which you can directly enumerate over with a foreach loop. Calling ToList() will allocate a new List and copy the (sorted) elements into it. Then after the loop the List will be thrown away. Seems like wasted effort, but I have only a passing acquaintance with C# and could be wrong.
3
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by pedter on Yesterday at 11:36:19 PM »
Does water do anything special for the planet, to have some?

Hydro extent (or lack thereof) contributes to colony cost if not above 20% and liquid: https://aurora2.pentarch.org/index.php?topic=8495.msg101987#msg101987

Above 75% hydro extent the population capacity of the body starts to suffer: https://aurora2.pentarch.org/index.php?topic=8495.msg100078#msg100078
4
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by vorpal+5 on Yesterday at 11:27:16 PM »
Does water do anything special for the planet, to have some?
5
C# Bug Reports / Re: v2.5.1 Bugs Thread
« Last post by pedter on Yesterday at 09:24:36 PM »
I've hit three total error functions recently (though not at the same time) while running time with no specific window or identifiable context:

2.5.1 Function #2788: Object reference not set to an instance of an object.
2.5.1 Function #1531: Object reference not set to an instance of an object. (This occurred two different times)

#1531 may have something to do with an NPR generating a free colony with the default free 100 population and 1 naval command after being wiped out. I've been playing whack-a-mole with this NPR trying to wipe it out completely and have been generating quite a few free naval commands as a result; the logic there may warrant a look for more than just the function error. For #2788 I truly have no ideas unfortunately.

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

Editing in: I've now received #1531 nine more times with even less context than the first two times. I'm still getting them after deleting my 'blocker' colonies that seemed to prevent the NPR from generating a free starting pop of 100 on the same body. The NPR also still has no colonies in the DB so perhaps the wiped-out NPR is not relevant after all.

Editing in a second time: I've hit a different error after rebooting Aurora; #1531 seems to have quieted with the reboot, but this one is new. It came after a tremendous amount of 5-second death but provided me with no context for its existence outside of the error text itself:

2.5.1 Function #3656: The given key was not present in the dictionary.
6
C# Mechanics / Re: v2.6.0 Changes Discussion Thread
« Last post by Hazard on Yesterday at 08:20:25 PM »
Population that is in excess of required manufacturing personnel numbers is generally considered to be gainfully employed, just not in trans-newtonian industries relevant to the game.
7
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by paolot on Yesterday at 07:02:38 PM »
Quote
To move a surface mine, you need 25kt of cargo hold ...

True. But you can use civilian shipping lines to move installations and colonists between colonies.
Apart starting Infrastructures and Colonists, and very few mines or AMs, I let civilians do so, while my cargo ships get minerals from bodies: when there are many mines or AMs on a location, I find the minerals flow towards the industry planets is higher using cargo ships than mass drivers.
8
C# Suggestions / Re: My Take on Government
« Last post by Aloriel on Yesterday at 12:09:13 PM »
I found the government simulator spreadsheet lacking in various ways. For one, it has no way of understanding the in game situation. If a hostile alien species is attacking our forces, there is no way the senate would disallow research on weaponry or construction of new warships. Unless it's been updated to include such things in the year or so since I tried it out, it still has issues like that.

It's part of why I'd like to see some sort of additions to Aurora. In the very least, I'd really like to see government departments similar to the OP's idea that actually have impact.
9
C# Mechanics / Re: v2.6.0 Changes Discussion Thread
« Last post by Kelewan on Yesterday at 10:34:55 AM »
I like the idea of "Colonization Pressure", but I think there is a factor missing.
Aurora does consider the security and environmental effects, but not being able to find a work and
to earn a living has been a major factor for migration around to world.

I would therefore suggest that either:
- a high unemployment rate increases the colonization pressure, or
- the number of unemployed workers could increase the maximum number of colonists

10
General Discussion / Re: Questions Not Worth Their Own Thread: C# Edition
« Last post by skoormit on Yesterday at 10:28:59 AM »
for a system to be eligible for CMC spawning, it must have at least one colony with a population of at least 10M.
does this only count surface population? or does Ark module population count?
Pages: [1] 2 3 ... 10
SMF spam blocked by CleanTalk