The World of The Gunny
http://wotg.stgfc.com/phpBB3/

GM One Click
http://wotg.stgfc.com/phpBB3/viewtopic.php?f=68&t=707
Page 2 of 3

Author:  haegan2007 [ 13 Mar 2009 00:07 ]
Post subject: 

Contents of 'Numerian Commonwealth T31 Unprocessed Orders.txt';


"Unable Process Planetary Order."
"Unit: Train commander 1,2,3 Enemy Power: System: 1508 Planet: Numeria Region: Orly"
"CCh Cost: 0 TU's: 0 CC's: 0 End Region: N-1 Notes: train commanders #1-2-3"

"Unable to Process Movement."
"Fleet ID: Westerm Fleet Units: CVE-1, DD-1,FRT-26 Start: N-1 Orly Start Time: November CCh Cost: 1"
"End Region or Hex: N-5 ocean Orders: Support Exploration and Prospecting"


:w

Author:  haegan2007 [ 15 Mar 2009 00:34 ]
Post subject: 

We are finishing changing the population incrementation rules and have squashed a whole lot of bugs.

Ken, I fixed the total regions updater. It was being zeroed out later after leaving the UpdateEconomics subroutine. My oops. I had a reminder note there with a code snippet that was actually working. The region numbers were being updated to 5 and then were being zeroed out again jsut before the excel sheets were being closed.

Author:  Þórgrímr [ 15 Mar 2009 18:03 ]
Post subject: 

haegan2007 wrote:
We are finishing changing the population incrementation rules and have squashed a whole lot of bugs.

Ken, I fixed the total regions updater. It was being zeroed out later after leaving the UpdateEconomics subroutine. My oops. I had a reminder note there with a code snippet that was actually working. The region numbers were being updated to 5 and then were being zeroed out again jsut before the excel sheets were being closed.


Glad you were able to find it bud. It had you wrapped up in knots last night. :AH



Cheers, Thor

Author:  haegan2007 [ 16 Mar 2009 19:57 ]
Post subject: 

The excel sheet 'Shipyards' in the EMpire work book is now being processed correctly.

"Unable to Process Ship Production."
"System: 1508-20NU-S Regions: Orly Slips: 1 Class: CVE Builds: 1WU: 60 PP: 100 Turns: 12"
" "
"Unable to Process Ship Production."
"System: 1508-20NU-S Regions: Orly Slips: 1 Class: Freighter Builds: 1WU: 26 PP: 16 Turns: 3"

Author:  haegan2007 [ 16 Mar 2009 21:05 ]
Post subject: 

The next sheet to be assaulted is the survey sheet. That reminds me, do we wish to remove the Map sheet from the workbook? It does not currently apply!

Author:  haegan2007 [ 16 Mar 2009 21:18 ]
Post subject: 

Ken, on hte Surveys Sheet, What is the 'Gateways column for at the top upper left? If the program finds it empty it will insert a "No" into that category when printing out hte order for now. Is that alright?

Author:  haegan2007 [ 16 Mar 2009 21:24 ]
Post subject: 

How is this? :bs


"Order not Processed. Exploration Orders."
"GateWay: No, System: 1508, Planet: Numeria, Region: N-5, Unit ID: Pro-1"
"Number: , CCh Cost: 1"

"Order not Processed. Exploration Orders."
"GateWay: No, System: 1508, Planet: Numeria, Region: N-5, Unit ID: Pro-2"
"Number: , CCh Cost: 1"

Author:  haegan2007 [ 16 Mar 2009 22:14 ]
Post subject: 

You Diplomatic sheet is good to go. This is a fallicious agent of course. :as

"Order not Processed. Diplomatic Offers."
"Agent ID: Mega-Death -1, Mission: Assassination, Star System: 1508, Planet: Numeria"
"Region: N-1 Orly, Player Notes: Kill the Rabbits!"


This is the format for Diplomatic offers:

"Order not Processed. Diplomatic Offers."
"Relations: Diplomatic Agent ID: , Method of Com.: Mission: , Offers To: Star System: , Offers From: Planet:"
"Response: Region: , Treaties: , Player Notes: "

Author:  haegan2007 [ 16 Mar 2009 23:03 ]
Post subject: 

The contents of 'Numerian Commonwealth T35 Unprocessed Orders.txt'. What we have left are the air and ground unit puchases. That feels good I must admit.



"Order not Processed. Planetary Order."
"Unit: Train commander 1,2,3, Enemy Power: , System: 1508, Planet: Numeria, Region: Orly"
"CCh Cost: 0, TU's: 0, CC's: 0, End Region: N-1, Notes: train commanders #1-2-3"

"Unable to Process Unit Movement."
"Fleet ID: Westerm Fleet, Units: CVE-1, DD-1,FRT-26, Start: N-1 Orly, Start Time: November, CCh Cost: 1"
"End Region or Hex: N-5 ocean, Orders: Support Exploration and Prospecting"

"Order not Processed. Ship Production."
"System: 1508-20NU-S, Regions: Orly, Slips: 1, Class: CVE, Builds: 1, WU: 60, PP: 100, Turns: 12"

"Order not Processed. Ship Production."
"System: 1508-20NU-S, Regions: Orly, Slips: 1, Class: Freighter, Builds: 1, WU: 26, PP: 16, Turns: 3"

"Order not Processed. Exploration Orders."
"GateWay: No, System: 1508, Planet: Numeria, Region: N-5, Unit ID: Pro-1"
"Number: , CCh Cost: 1"

"Order not Processed. Exploration Orders."
"GateWay: No, System: 1508, Planet: Numeria, Region: N-5, Unit ID: Pro-2"
"Number: , CCh Cost: 1"

"Order not Processed. Diplomatic Offers."
"Agent ID: Mega-Death -1, Mission: Assassination, Star System: 1508, Planet: Numeria"
"Region: N-1 Orly, Player Notes: Kill the Rabbits!"

"Order not Processed. Research Orders."
"Project Name: TL engineering enhan., RP's Expended: 65, Project Stage: Development, IoHL # and Location: 3 / Orly"
"Other Bonuses: +10% RP bonus to RPs spent on R&D, Expanded Description: General Engineering tech increase, Player Notes: "

"Order not Processed. Research Orders."
"Project Name: Develop Super Frtr, RP's Expended: 15, Project Stage: design, IoHL # and Location: 1 orly"
"Other Bonuses: -, Expanded Description: create non pop super freighter, Player Notes: "

"Order not Processed. Research Orders."
"Project Name: Develop Super Frtr, RP's Expended: 12, Project Stage: design, IoHL # and Location: 1 orly"
"Other Bonuses: -, Expanded Description: create pop super freighter, Player Notes: "

Author:  haegan2007 [ 16 Mar 2009 23:34 ]
Post subject: 

Muh hahahahahaha


"Order not Processed. New Air/Ground/Be Unit Purchase."
"Order: Make Be, Star System: make 5 active Be for New Engineering Bn, Planet: Numeria, Region: Orly, Fac. Used: Inf Depot"
"Class: NA, # of Bn/Sq: 5, WU Cost: 0, PP Cost: 0, Be Type: active, Months: 1"
"Notes: "


Now I need to focus on making my power.

The turns are showing up correctly for the Unprocessed orders. Ken you will be able to leave them alone for reference for later as each turn will make its own uniquely named file. Should we do this for Errors.txt as well?

Author:  haegan2007 [ 17 Mar 2009 00:04 ]
Post subject:  A current look

Here is a link to the current pic of the program.

http://cdgroup.org/forums/showthread.php?p=864#post864

Author:  Þórgrímr [ 17 Mar 2009 13:46 ]
Post subject: 

The text outputs look great to me my friend. Damn good job! :br



Cheers, Thor

Author:  haegan2007 [ 03 Apr 2009 23:58 ]
Post subject: 

We have hit a snag. Seems that I left out the sIUU and sRM on both the system sheet and the Empire economics sheet. In addition to this we have take the opportunity to rebuild and add statistics to the Empire Economy sheet that will require a significant rewrite of the code that parses that sheet.

Also the GM program will end up checking for bonuses for sIUU production and sRM productions on the Y and AA Columns on the system infra sheet. The ability to do this will not be included in the excel sheet like it is for non-space based infra.

That is OK as it will allow us to do a bit more in automation. But we will release it for basic use as we do this. That will permit us to start the next game and still beta the program.

Author:  haegan2007 [ 05 Apr 2009 00:13 ]
Post subject: 

sPP(sIUU) and sRM are almost finished being added. Another bug in the jobs calculation for population was squished and the cause of an infinite loop caused when reading from the shipyard sheet was eliminated.

Once we have the check for complete units done we can start game 3!

Author:  haegan2007 [ 05 Apr 2009 00:36 ]
Post subject:  An update on the status of the GM ONe Click

This is a status update.

Actions so far. **** marks what needs to be done.

Updates turn number on GM Empire sheet and on "Const" sheet in System workbook

Before processing Construction, Moves these to show totals from last turn to the B column on Empire economics sheet. They are from the expenditures columns from bottom right of sheet.;
Wealth Units
food
fuel
Raw Materials
research
IUU
Energy
sIUU
sPP
sRM

**** things like industry and industry from pop will need to be totaled as the sheets are processed, so will need to zero them out in the beginning. also the energy used from pop, infra, and the transport net. This will need to be done when we expand the testing of the GM program from one system to several.

did firesales;
update wv,
update the sold items in expenditures section at bottom of sheet for food, fuel, energy, Iuu, raw materials,
zero sales items


checks for finished infra on "Const" sheet in system workbook and transfers it to "terrain" sheet in system workbook
Removes finished infra from "Const" sheet in system workbook
Looks for Tn infra and adds it to Newly built stuff in array. Totals Qty of TN and WU and RM costs and puts it into a running total on the form for GM to see.
Looks for Infra and Facs and adds to Newly built stuff in array. Totals Qty of Infra and Facs, Totals the WU and IUU and RM(for IUU building) costs and adds costs to running totals the form for GM to see, added PROJECT IMPLEMENTATION purchases from empire sheet.
Purchases of more then 1 infra of a given type is spaced out in the array so that it will be entered on the Const sheet correctly.
Checks for odd infra and Facility spellings and convert to standard spelling so it can be placed correctly. (ie PP is converted to Industry, RM is converted to Resources, etc.) This will take some time to do as several checks have to be made and anything that does not match must be put into the error file.

Transfers new purchases of infra, Facilities, and projects to Const sheet on system sheet.

**** need to work on unit purchases on Misc Orders and Shipyard sheets. Have changed the shipyard sheets so the program can read from it. WU and PP totals from unit purchases are being shown on Text Boxes on visible part of form. Now need to actually read them in and such! The purchases are being put into the unprocessed orders file.
**** need to transfer purchases to Const sheet in appropriate system excel file. This is already being done for infra and facs.
**** need to parse the Const sheet for finished units and alert the GM. It will be saved in unprocessed orders.

It calcs population increases per region and adjusts the 'Terrain' sheet where needed.It adjusts for extra jobs or lack thereof for each region as well as food.

****Unprocessed orders will be put into a file called ‘Numeria_T15_Unprocessed_Orders.txt’
Unprocessed Orders Processed:
Planetary Orders
Planetary Unit Movement orders
Ship Unit Production orders
Survey Orders
Diplomacy Orders
Diplomatic Agent Orders
Ground and Air unit production orders
**** needs to do the Const sheet by looking for units that finish building.

****Needs to update research and maybe do rolls?
****Needs to do Prestige roll at end of year, and maybe do pop maintenance? IIRC pop maintenance is optional for player so should have a way to toggle it on and off.(uses WU or IUU)

Updates the "Economics" sheet in Empire workbook as follows:
updates infra totals and energy production total at the top for the noted system sheet
updates energy usage total. Updates the energy breakdown totals as well.
food is updated every 3rd month, as per rules.

Author:  haegan2007 [ 05 Apr 2009 23:43 ]
Post subject: 

WE are now parsing the Const sheet for finished units. They will be printed out to the Unprocessed file looking like this.

"Order not Processed. Newly Produced Unit. 0306-HA06-S"
"Unit: Elite Infantry"

"Order not Processed. Newly Produced Unit. 0306-HA06-S"
"Unit: Be"

"Order not Processed. Newly Produced Unit. 0306-HA06-S"
"Unit: Mobile Artillery"

Author:  haegan2007 [ 06 Apr 2009 00:21 ]
Post subject: 

While in the middle of figuring out why the unit processing had gone into an infinite loop i found that the subroutine that reads the infra and facilities into memory to check for finsihed infra and facilities was wiping out the column titles so the program was looking for a stop trigger that was not there anymore. Hopefully that is finally fixed. I will be able to really test it friday.

Ken, may i have an empire sheet filled out with turn one orders to rock and roll on. I really want to see if the program will pull everything accurately!!!

Author:  haegan2007 [ 09 Apr 2009 19:16 ]
Post subject: 

Contents of 'United States of Terra T2 Unprocessed Orders.txt'


"Order not Processed. Newly Produced Unit. 0505_01US-S_Turn_1_January_2500"
"Unit: SFrtr-01"

"Order not Processed. Newly Produced Unit. 0505_01US-S_Turn_1_January_2500"
"Unit: SFrtr-02"

"Order not Processed. Newly Produced Unit. 0505_01US-S_Turn_1_January_2500"
"Unit: Frtr-01"

"Order not Processed. Newly Produced Unit. 0505_01US-S_Turn_1_January_2500"
"Unit: FFrtr-01"

"Order not Processed. Newly Produced Unit. 0505_01US-S_Turn_1_January_2500"
"Unit: CH-53 HAT-01"

"Order not Processed. Newly Produced Unit.0505_01US-S_Turn_1_January_2500"
"Unit: Everyman-01"

"Order not Processed. Newly Produced Unit.0505_01US-S_Turn_1_January_2500"
"Unit: Sfrt-01"

"Order not Processed. Newly Produced Unit.0505_01US-S_Turn_1_January_2500"
"Unit: Sfrt-02"

"Order not Processed. Newly Produced Unit.0505_01US-S_Turn_1_January_2500"
"Unit: Nova Ms Rocket MSR-01"

"Order not Processed. Newly Produced Unit.0505_01US-S_Turn_1_January_2500"
"Unit: Nova Ms Rocket MSR-02"

"Order not Processed. Research Orders."
"Project Name: Engineering increase, RP's Expended: 35, Project Stage: Development, IoHL # and Location: 1 - N-2 North America"
"Other Bonuses: 0.1, Expanded Description: Increase the engineering overall tech level, Player Notes: "

"Order not Processed. Research Orders."
"Project Name: Phys/Math Increase, RP's Expended: 35, Project Stage: Development, IoHL # and Location: 1 - N-6 Europe"
"Other Bonuses: 0.1, Expanded Description: Increase the phys/math overall tech level, Player Notes: "

Author:  Þórgrímr [ 10 Apr 2009 09:49 ]
Post subject: 

So what was the reason why it kept blowing up yesterday? And I thought you were going to have it process the research items also?



Cheers, Thor

Author:  haegan2007 [ 10 Apr 2009 13:32 ]
Post subject: 

my goal was to find a way to catch all the orders first. At that point we can start playing. Then we will continue to add more time saving stuff as we go on.

Author:  Þórgrímr [ 10 Apr 2009 13:56 ]
Post subject: 

haegan2007 wrote:
my goal was to find a way to catch all the orders first. At that point we can start playing. Then we will continue to add more time saving stuff as we go on.


Sounds good bud. :AH

Author:  haegan2007 [ 11 Apr 2009 17:20 ]
Post subject: 

Update report.

Ken has given me a turn one for his United States of Terra for actual testing purposes. Naturally, it blew up a multitude of times.

This is good, however. The easiest way to crash a beta program is to let anyone who did not program it, run it. In doing so we have identified several bugs that we are in the process of stepping on and adding a few features that will be needed to help minimize the users time. I wanted to thank Ken for his dedicated comparisons of the before and after sheets. He found stuff I was not even thinking of looking at. Oops.

We have also made a slight change to the Empire Economy sheet for later. This will allow us to ID and place infra on the correct system Const sheet. This is important as each system will have its own excel file.

The Newest feature added is to save a new copy of the system sheet with the turn number added to the end of it. The program already looks at the current turn number and uses it to find the system sheets to load. So when running turn 31, it will load the system files with the turn 31 attached to it. For example:

0505_01US-S_Turn_31.xls

When it is done with the turn, it will save the new file as:

0505_01US-S_Turn_32.xls


There are 2 steps left to be done before we can release the beta.

1. Debug the subroutine that checks for modifiers for both sPP and sIUU(space based industry and resource collection) and makes sure that this is transfered correctly to the Empire Economics sheet.

2. Make sure that the IUU, sIUU, RM, sRM, and WU costs are transferred to the correct loactions on the Economics sheet. This will be the part that will be the hardest I think. Ken has added new breakdowns in the expenditures section that may well require extensive recoding on my part. At this point I am looking at beginning in about two weeks time for the actual start of the new game. :bs

Now I just have to finish my power. :bl

Author:  Þórgrímr [ 11 Apr 2009 20:16 ]
Post subject: 

Gee, yer makin' me blush! :AE

I just wanna play! :bs So doin' what I can to help.

Author:  haegan2007 [ 11 Apr 2009 21:13 ]
Post subject: 

The space based Industry and mines are now being modified correctly.

Author:  Þórgrímr [ 18 Mar 2011 19:12 ]
Post subject:  Re: GM One Click

As a way of good news, Haegan is back on duty and working to complete the GM One Click program! Once this is finished we can FINALLY do a seriouly long test game. :tu :bs



Cheers, Thor

Page 2 of 3 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/