Forum for Just a Second (#2)

[Posting] mining extraction
Thread opener, Player 6 (The Cyborg)
Posted Wed, 2013-01-30 13:21 GMT, edited Wed, 2013-01-30 13:47 GMT

i noticed while doing the first turn, but did not think that much of it, that the mining extraction rate that VPA displays in this PHost game is different than what it displays in the THost games that i have played in the past.

specifically, what VPA displays for this game is used by the following formula:

amt.extracted = trunc(#mines*ext.rate/100), whereas in THost the formula was:

amt.extracted = round(#mines*ext.rate/100), which amount was in fact extracted to the planets surface in the game.

granted it is not much of a change, but at lower extraction rates it makes a greater difference. and this game seems to have an abundance of lower extraction rates.

hmmm. speaking of which, what is the average (arithmetic mean) and, if different, the median, and mode extraction rate for this game?

[Posting] Re: mining extraction
Posted Wed, 2013-01-30 17:10 GMT

specifically, what VPA displays for this game is used by the following formula:

amt.extracted = trunc(#mines*ext.rate/100), whereas in THost the formula was:

amt.extracted = round(#mines*ext.rate/100), which amount was in fact extracted to the planets surface in the game.

granted it is not much of a change, but at lower extraction rates it makes a greater difference. and this game seems to have an abundance of lower extraction rates.

The first formula is the old PHost formula, used in PHost before version 3.5 resp. 4.1.

Newer versions -- including the one used here -- use "round" (although a subtly different implementation).

VPA since version 3.63 knows about this difference, older versions only use the old PHost formula for any version of PHost.

hmmm. speaking of which, what is the average (arithmetic mean) and, if different, the median, and mode extraction rate for this game?

This is configured in the amaster.src file.

On the game overview page, you have a link "Files: Browse", where you can download it, and it is also contained in the playerfiles.zip you have received with your first turn.

Specifically, you're looking for the parameter

   PlanetDensityRanges=10, 10, 10, 10, 100, 100, 100, 100

which should yield an average density of 55%.

--Stefan

[Posting] Re: mining extraction
Thread opener, Player 6 (The Cyborg)
Posted Fri, 2013-02-01 04:52 GMT

streu: ...which should yield an average density of 55%.

OK, after i found that file on your system, my son Paul told me that the file was already on my computer. ::rolleyes::

thanks for the assistance.