Universe Generator

Home of discussions about Ultra Starfire (5th edition) and its predecessor Galactic Starfire (4th edition).

Moderators: SDS Members, SDS Owner

Forum rules
1. Nothing obscene.
2. No advertising or spamming.
3. No personal information. Mostly aimed at the posting of OTHER people's information.
4. No flame wars. We encourage debate, but it becomes a flame when insults fly and tempers flare.

Try to stick with the forum's topic. Threads that belong to another forum will be moved to that forum.

Re: Universe Generator

Postby Starfire on Sun 06 Feb 2011 10:10

Right, we might be considering Ice belts and Hot Belts. They are not presently in the game but this has serious implications for the Unusual Race rules. So we are trying to gather data.
Nerf rock, paper is fine. signed:Scissors.
User avatar
Starfire
Marvin Lamb
Marvin Lamb
 
Posts: 616
Joined: Tue 30 Jun 2009 19:59

Re: Universe Generator

Postby Malek on Mon 07 Feb 2011 15:41

Bug reports:

1) Trying to generate universe with NPr but without generating NPR governments results in this bug:

Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Universe.Classes.CNPRs.NPR.ToTxT()
   at Universe.Classes.CPlanets.PlanetT.ToTxT()
   at Universe.Classes.CStars.Star.ToTxT()
   at Universe.Classes.CStarSystems.StarSystem.ToTxT()
   at Universe.Classes.CUniverse.Universum.ToTxT()
   at Universe.Universe.StartGenerateClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Universe
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///d:/Downloads/Starfire/Universe%20Generator/Universe.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


2) Generating larger (somewhere from above 3000 systems I think, but it varies) can sometimes produce this error for me:
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
   at Universe.Classes.CUniverse.UniverseModifiers.FillSystemStats(StarSystem starSystem)
   at Universe.Classes.CUniverse.UniverseModifiers.CleanUp(Universum universe, GeneratingForm form)
   at Universe.Classes.CUniverse.Universum.CreateUniverse(GeneratingForm form)
   at Universe.Universe.StartGenerateClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Universe
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///d:/Downloads/Starfire/Universe%20Generator/Universe.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


3) Statistics don't seem to clear between generations, only on program exit (i.e. if I generate a galaxy, then press generate again statistics will be added from both. Doesn't seem to happen to all staistics - system types stats seem to be alright, but PPS and tidelocked moons for example clearly show signs of adding through generations)
Malek
Lieutenant Commander
Lieutenant Commander
 
Posts: 68
Joined: Tue 27 Apr 2010 17:34

Re: Universe Generator

Postby Elminster on Thu 10 Feb 2011 12:05

Starfire wrote:Right, we might be considering Ice belts and Hot Belts. They are not presently in the game but this has serious implications for the Unusual Race rules. So we are trying to gather data.

So, what numbers should I use for Hot and Cold Belts regarding Max PU?

Normal Ast are treated as O2(m?) environments.
For example: Ice Life can (barely) colonize normal Ast Belts, but they can't colonize O3 or O3m, while O1m is benign.

PS: In Table HH3.06.1c (REVISED 1-05-2006)
Line O2m, column Ice Life: The entry has only "Harsh". The limit is missing.
Looking at HH3.06.1b it should be 50+5.
In memory of Gary Gygax
In memory of Leonard Nimoy
In memory of Christopher Lee

In memory of Albert Einstein
E = MC^2 + 1d10
User avatar
Elminster
Fleet Admiral
Fleet Admiral
 
Posts: 1972
Joined: Tue 22 Jun 2010 00:54
Location: Ganderkesee, Germany

Re: Universe Generator

Postby krenshala on Thu 10 Feb 2011 12:53

Elminster wrote:
Starfire wrote:Right, we might be considering Ice belts and Hot Belts. They are not presently in the game but this has serious implications for the Unusual Race rules. So we are trying to gather data.

So, what numbers should I use for Hot and Cold Belts regarding Max PU?

Normal Ast are treated as O2(m?) environments.
For example: Ice Life can (barely) colonize normal Ast Belts, but they can't colonize O3 or O3m, while O1m is benign.

PS: In Table HH3.06.1c (REVISED 1-05-2006)
Line O2m, column Ice Life: The entry has only "Harsh". The limit is missing.
Looking at HH3.06.1b it should be 50+5.

For Frozen and Hot Belts, you could just list how many system hexes worth of belt exist. Since population is a function of how many system hexes the belt spans that number should give Marvin what he is looking for. Personally, I say to include that same number for normal (Barren) belts and HGT as well.
-- krenshala
None survive the harvest!

Yeah, I'm finally back (again)! Sometimes, life (and 9yo son's) don't leave you time to play SF and earn a paycheck. :/

No, really! Matt actually made me an admin here!
krenshala
SDS Member
SDS Member
 
Posts: 2500
Joined: Thu 02 Jul 2009 17:13
Location: Austin TX, NorAm, Sol III

Re: Universe Generator

Postby Cralis on Thu 10 Feb 2011 14:41

What Marvin needs to know is "how many" of each planet type there are. He uses the distribution in order to calculate the PU values. Krenshala appears to have a better grip on how he is doing it, so follow what he's saying (Unless Marvin asks for something different).
Image
User avatar
Cralis
SDS Member
SDS Member
 
Posts: 10197
Joined: Tue 30 Jun 2009 19:27
Location: Oregon, USA

Re: Universe Generator

Postby krenshala on Thu 10 Feb 2011 16:10

Cralis wrote:What Marvin needs to know is "how many" of each planet type there are. He uses the distribution in order to calculate the PU values. Krenshala appears to have a better grip on how he is doing it, so follow what he's saying (Unless Marvin asks for something different).

I don't know what PU per sH values Marvin will be using, but I know that the number of sH will allow him to get the info he needs. :)
-- krenshala
None survive the harvest!

Yeah, I'm finally back (again)! Sometimes, life (and 9yo son's) don't leave you time to play SF and earn a paycheck. :/

No, really! Matt actually made me an admin here!
krenshala
SDS Member
SDS Member
 
Posts: 2500
Joined: Thu 02 Jul 2009 17:13
Location: Austin TX, NorAm, Sol III

Re: Universe Generator

Postby Starfire on Sat 12 Feb 2011 13:14

Yes, larry is right. I may have to adjust the PU per sH. So I need the sH count.
Nerf rock, paper is fine. signed:Scissors.
User avatar
Starfire
Marvin Lamb
Marvin Lamb
 
Posts: 616
Joined: Tue 30 Jun 2009 19:59

Re: Universe Generator

Postby Elminster on Tue 15 Mar 2011 01:00

New Version of my Universe Generator. :D

Actual Version: 1.1.0

Version: 1.1.0
- Fixed the Statistics
- Fixed reported bugs
- Added option for different 'Orbital Radius'-determination
- Rearranged output files:
--+ NPRs got their own file, planets have an asterisk if NPR present
--+ Unnecessary informations removed
- NPRs racial stats have an asterisk if active
- System bodys no longer have percentages for richness (Unusual Lifeform compatibility)
- All system bodys have a HI (Unusual Lifeform compatibility)


You can find it at the Downloads Page.
In memory of Gary Gygax
In memory of Leonard Nimoy
In memory of Christopher Lee

In memory of Albert Einstein
E = MC^2 + 1d10
User avatar
Elminster
Fleet Admiral
Fleet Admiral
 
Posts: 1972
Joined: Tue 22 Jun 2010 00:54
Location: Ganderkesee, Germany

Re: Universe Generator

Postby Caplin on Tue 07 Mar 2017 16:54

Elminster et al,

Any chance we could get another link to this? I used to have a copy, but lost it when I moved computers.

Thanks :)
Imagination will often carry us to worlds that never were, but without it we go nowhere.
Caplin
Commander
Commander
 
Posts: 110
Joined: Sun 11 May 2014 22:16
Location: Washington State

Re: Universe Generator

Postby Cralis on Wed 08 Mar 2017 11:16

Oy! I didn't check the board last night and missed this... I can't do it while at work, but I will add it to the downloads forum as soon as I get home this evening.
Image
User avatar
Cralis
SDS Member
SDS Member
 
Posts: 10197
Joined: Tue 30 Jun 2009 19:27
Location: Oregon, USA

PreviousNext

Return to Ultra Starfire

Who is online

Users browsing this forum: No registered users and 3 guests

cron