Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Primary Racial Traits » IT » Narrow Hab IT w/100% second world
Re: Narrow Hab IT w/100% second world Sun, 28 July 2013 15:49 Go to previous messageGo to previous message
LittleEddie is currently offline LittleEddie

 
Lieutenant
Helped track down one or more Stars bugs

Messages: 517
Registered: February 2011
Location: Delaware
If someone want to check some of this here's my program code for it.

Batch file to make a file of 4096 of the 2400yr planet files for one race.

:begin
echo off
FOR /L %%A in (1,1,4096) DO (
DEL def3.txt
ECHO %%A
ECHO %%A>>def3.txt
COPY def1.txt +def3.txt +def2.txt DEF.def
Stars27j.exe -a DEF.def
Stars27j.exe -dmp GAME.m1
COPY Results.txt +GAME.p1 Results.txt)


Be sure to not include any extra spaces after the text on each line. Results.txt needs to be a empty txt file

def1.txt file

IT Test
1 3 3

There is a space after the last 3.

def2.txt file

0 1 1 0 0 0 0
6
.\Races\it100.r1
.\Races\HE.R1
.\Races\it-nor.R2
.\Races\sd.r1
.\Races\PP.r1
.\Races\wm.r1
0
0
0
0
0
1 50
1 100
2 100
GAME.xy

Make sure a copy of Stars is in the same folder and that the file Results.txt is a empty text file.

Run the batch file from the command line and on my computers it take from 10 to 15 minutes to run.

I then change the name of Results.txt to Results.csv and open it with a spread sheet (LibreOffice), freeze the first line and then sort by Starbase Type and Value. This give me three sections, "Porthole to Beyond", "Starbase" & 4095 headers with the first two sorted by value.





[Updated on: Sun, 28 July 2013 15:58]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Overgating using IT gates.. (non IT race)
Goto Forum:
  


Current Time: Thu Jun 06 10:01:44 EDT 2024