© |
Version Changes
The Portable Host
Version 3.2.3.4c
|
INDEX
- Version 3.4b: October 2002
- Version 3.4a: June 2002
- Version 3.4: May 2002
PHost has moved. The new website is now
http://www.phost.de/.
We hope that phost.org will continue functioning for a while, and
redirect to the new site.
Instructions for Players
- Upgrade the PHost documentation.
- Upgrade the PVCR program if you wish. The battle algorithm was not
changed, just the player was improved in some details: when you use
VPA 3.60
or later, you should use at least
PVCR 3.3e(2).
Instructions for Hosts
New Features
- PVCR is now aware of things like
corr.exe. (v3.4)
- There is now an option AllowShipNames, which is useful for
anonymous games. (v3.4)
- The PCONTROL stages
ShipBuilding_1 and Movement were split. The build
queue is now filled in stage ShipBuildOrders (formerly part
of ShipBuilding_1), so add-ons that manipulate the queue
behaviour can hook inbetween. Likewise, tow resolution is now
separate so add-ons can hook inbetween to check which tows are successful.
(v3.4)
- The command processor was improved.
It now accepts commands of arbitrary length as well as a shortcut for
commands to add-ons. (v3.4b)
- The tow strength formula was
changed so that huge ships are no longer un-towable just because they are
huge ships; movement now has a larger impact. The actual scale factors
can be configured (TowStrengthEngineScale, TowStrengthDistanceScale),
so you can emulate the old behaviour if you wish, for continuing a
running game, maybe. (Idea: Degi and Thomas Klebes on phostdev) (v3.4b)
- In addition to the "tons destroyed", PHost now also logs the
"tons lost" (additional 2x11 DWORDs at the end of tons.hst).
(Idea: Heiko Schlenker) (v3.4b)
- Intercept attack now respects battle order
instead of just Id numbers. (Suggested by Thomas Klebes) (v3.4b)
- There is now an alternate configuration file for ship-list specific
parameters: shiplist.txt. It can contain a section
hullfunc with hull function definitions,
and a section phost with PConfig parameters.
The idea is that ship-list specific parameters go in shiplist.txt,
game-specific parameters go in pconfig.src. For example, PList
is always played with the same combat settings, so these could go there.
It is an error for a configuration key to appear in both pconfic.src
and shiplist.txt. When there is a shiplist.txt,
hullfunc.txt is ignored. (v3.4b)
- There are now two new languages:
- Polish is available due to the tireless efforts of
Piotr Winiarczyk. To receive Polish messages, send
yourself a message containing lang polish
- NewEnglish is an (still incomplete) attempt to get
rid of all these HOST compatibility quirks. The standard English
messages often read quite fishy, but we need 100% bug compatibility
for the benefit of message scanning programs. If you don't need that,
but don't want to offend your linguistic sense any longer, say
lang newenglish
- Thanks Brivido, the Italian language file got a major
update, and the French one was polished, too.
You can select these languages using the language
command processor command or the Language config option. (v3.4c)
Bugs Fixed
- Build queue management is now deterministic. The sorting
algorithm previously used by PHost would lead to unpredictable
results, including doing of Clearly The Wrong Thing™, when two
build orders had the very same priority. Found by Horst Niggemeier.
(v3.4)
- Structure decay on unowned planets now works as it should. This
needed a new config option (StructureDecayOnUnowned). Found
(not only) by Thomas Klebes. (v3.4)
- PVCR's -b option now works as it
should. (v3.3e2)
- The cloning failure message did not work on Suns. (v3.4a)
- When a ship is tow-captured, its mission is cleared (HOST compatibility:
mission is cleared in all cases a ship changes ownership). (v3.4b)
- The German mine sweep reports would report absurd mine unit
counts for own mines. (v3.4b)
- When a race was killraced, do no longer report their alliances
via util.dat. (v3.4b)
- Cheat check reliably now suppresses blind intercepts. It is not
allowed to jettison stuff while orbiting a planet. (v3.4c)
- Remote control and alliance commands are now processed more reliably.
Previously, when one player allows remote control for a ship and another one
requested control in the same turn, that action would have a 50% chance
of failing, depending on the order in which turns are read. The same
problem happened when you complete an alliance and do remote control at
the same time. Reported by Andreas Weigand. (v3.4c)
- Ships that move across a minefield edge were burning too little fuel.
Pityfully encountered by Klemens Reuther. (v3.4c)
- When an intercept target explodes, the interceptor will move towards
the target's starting position (not to the position of the
explosion!). It was doing this only when the target Id was lower than the
interceptor Id; in the other case, interceptors were just sitting still.
Reported by Daniel Brüdigam. (v3.4c)
- It was not possible to supply-repair a ship and fly faster when
auxhost1 add-ons were used (or any other add-on before Movement).
Reported by Andreas Weigand. (v3.4c)
- Wormholes that reached a mass of over 32767 would have disappeared.
They now stay and keep that mass. Found by Rainer Wegner. (v3.4c)
Miscellaneous
- You do now get a message when cloning fails due to lacking minerals. (v3.4)
You do now get util.dat records
to report certain failures. (v3.4, v3.4b)
- Reduced size of PHost binary compared to 3.3e. (v3.4)
In 3.4b we got smaller and much faster again. Stefan just thinks this
is still worth saying even in days of 80 GB harddisks and 2 GHz processors.
- PHost will now update the host-side xtrfcode.txt
file to contain the special friendly codes of the host. This makes
it easier for add-ons to check what's special, and it makes playing directly
in the host directory easier. (v3.4)
- The file util.tmp now uses a portable file format. This allows
better add-ons to be written. See the PDK
for details. (v3.4)
- The config option AllowMeteorMessages is no longer used. PHost
was sending out util.dat records anyway. (v3.4a)
- There is now a util.dat record for
planet trades. There is now a
record to report high-Id minefields
even when AllowMoreThan500Minefields is off. The
glory damage record now contains
the name and type of the damaged ship, like the message. The
mine hit record now includes the ship
name. The Battle result record now
includes the random seed. (v3.4b)
- The transfer torps,
transfer fighters and
transfer credits extended
missions do now also work for same-race ships. This may be the only way
to transfer stuff between ships in the presence of
remote control. (v3.4b) These missions
no longer override a beam transfer friendly code. (v3.4c)
- The Gather-build Torps and
Gather-build Fighters missions
now also work when you're friendly code matching. They were working
for allied, own and unowned planets only before. (v3.4b)
- When AllowAlliedChunneling is enabled, allied ships are
permitted to pass the chunnel too, even if they do not have
warp zero. Before, allied chunneling would only affect whether
you may chunnel to an ally's Firecloud. This needs a bidirectional
ship-level alliance. (v3.4b)
- In anticipation of PHost 4, PHost now accepts and ignores
AssignTo = {Ship|Hull} in
hullfunc.txt files. (v3.4b)
- The CPEnableMessage option is now ignored. The ability to send
messages is now solely determined by AllowPlayerMessages. Rumors
can now also be sent if that option is off but CPEnableRumor is on. (v3.4b)
- The minimum amount of fuel lost after a web hit can now be configured
(WebHitFuelLoss). (v3.4b)
- There is a new config meta-option ConfigLevel. (v3.4b)
- Rumors are now sent in a random order after the normal messages, so
there should be definitely no way to tell who sent what. (v3.4c)
- TAL is now computed accurately. Previously, PHost was truncating after
each step. Now, TAL is computed with 3 fractional digits precision and
only truncated at the end of the turn. Thus, you'll now get slightly
more points; in particular, the recommended PBP
settings will get you the exact number of points for a ship kill. (v3.4c)
- When using the Lay Mines In or
Lay Web Mines In missions with a valid
alien minefield Id, PHost no longer requires you to set the miX
friendly code to clarify your intent. (v3.4c)
- The CPEnableBigTargets option is now ignored. It makes no sense
to disallow protocol negotiation. (v3.4c)
Back to the index
PHOST is in new hands since February
2001. It also has a new home on the net:
http://www.phost.org/.
- Version 3.3b: May 2001
- Version 3.3c: September 2001
- Version 3.3d: October 2001
- Version 3.3e: December 2001
Instructions for Players
- Update the PHOST documentation.
- If you have problems with PVCR, install the new one. Otherwise, the
old one continues to work fine as it is (i.e. no changes in battle
logic).
- If your host decided to raise the minefield limit
(CPNumMinefields)
to more than 500, check if your client program can handle this.
Send a bigminefields y
command if it does, so you can see the minefields with higher Ids.
Programs which support "big minefields", at the time of this writing,
are
- EchoView
1.2.20a and later;
- PCC
1.0.11 and later;
- VPA does not natively support it, but with VPA10k
you can at least see the minefields as markers.
Instructions for Hosts
- Replace the PHOST program
- (Optional) Add the new config options to your PCONFIG.SRC file.
For backwards compatibility, set:
CPNumMinefields = 500
AllowMoreThan500Minefields = No,No,No,No,No,No,No,No,No,No,No
MaximumMinefieldsPerPlayer = 10000
MineIdNeedsPermission = No
PALShipMinekillPer10KT = 0
PALIncludesESB = Yes
SBQBoostExpX100 = 0
AllowPriorityBuild = Yes
DamageLevelForAntiCloakFail = 20
DamageLevelForTerraformFail = 100
DamageLevelForChunnelFail = 100
BuildQueue = PAL
Bug Fixes
- Intercept bug on Linux (hopefully) fixed. At least we couldn't reproduce
it after we turned off compiler optimization ... (v3.3a)
- Duranium and Tritanium values in meteor messages are no longer swapped.
(v3.3a)
- Fixed bug in clan beamup routine. (v3.3a)
- Fixed bug in tow resolution. A ship that is under a successful tow
can no longer tow other ships. (v3.3a)
- The custum hullfunctions HeatsTo50, CoolsTo50 and HeatsTo100 are no
longer exclusive, so a ship can cool and heat at the same time. If HeatsTo100
conflicts with CoolsTo50 then HeatsTo100 is ignored. (v3.3a)
- If a build order is changed then the priority of the changed order
will be at least the priority that a new build order would get. In previous
versions the priority could be set to 0 if the SBQBuildChangePenalty
option was set to -1. (v3.3a)
- Fixed bug in util.dat documentation (wrong description of the record
type 19 describing a surrendering ship). (v3.3a)
- You can no longer fix/recycle distant ships. (v3.3b)
- Specially-prepared TRNs could cause PHOST's TRN parser get
confused. (v3.3b)
- You can no longer set a long waypoint to break a tow, yet only
move a small distance using the Intercept mission. (v3.3c)
- Ships that are under successful tow are only affected by warp
wells if the tower is. (v3.3c)
- The definition of a wrapped map has changed a bit. The maximum
coordinates are no longer part of
the map. I.e., if the map borders are 1000 to 3000, possible
coordinates range from 1000 to 2999.
Please check your map: this change can cause planets now be out of
range. (v3.3c)
- Mine laying could cause an assertion failure in 3.3c when an old
minefield slot was being re-used. Sorry. (v3.3d)
- Wormhole UFOs now report the
correct wormhole Id, ranges and radius. (v3.3e)
- Several file handle leaks closed. In addition, you now get better
error messages when there are permission problems or things like that.
(v3.3e)
- When two ship build orders had identical priorities, PHOST would
sort them unpredictably in the queue (even when one of them had
PBx) because it could not decide which of them to do first.
They now keep their relative order. (v3.3f)
- The -b option to PVCR was seriously broken. (v3.3f)
New Features
- The CPNumMinefields
config option allows more than 500 minefields. (v3.3a)
- The MaximumMinefieldsPerPlayer
config option allows to limit the number of minefields per player, to
avoid reaching the 500 minefield limit too quickly if you do not want
to use 10000 minefields. (v3.3c)
- The PALShipMinekillPer10KT
config option allows to award priority points for ships destroyed by mine
hits. (v3.3a)
- The AllowPriorityBuild
and SBQBoostExpX100 options
can be used to implement a fairer ship build queue. (v3.3b)
- The cloakc.hst file is written and
read anytime PHOST runs scripts. This allows external utilities to set
the cloak status of ships through the cloakc.hst
file. (v3.3a)
- PHOST reads cloakc.hst to determine
shield levels before combat. (HOST 3.22 compatibility, v3.3a)
- If cloaking was cancelled through the cloakc.hst
file, then PHOST will consider this as a failed cloak. During the various
stages of redetermining the cloaking state of a ship (after combat, mine
hits, repairs etc.) this ship will remain uncloaked.
- RGA now sends a UTILx.DAT record.
There is now a record to signal destruction of a General Object
(v3.3c)
- You now get a message when a ship clone order fails, as well as a
UTILx.DAT record. (v3.3f)
- Firecloud chunnel and Terraforming can fail if the ship is too
badly damaged. The Loki damage level can now be configured. The
relevant config options are DamageLevelForChunnelFail,
DamageLevelForTerraformFail,
and DamageLevelForAntiCloakFail.
(v3.3c)
- A new, PBP-based build queue has been implemented. In a nutshell,
it uses the old FIFO system, but players can collect PALs (nee PBPs)
and trade these for quicker ship build. That system was designed by
Degi in his PBP paper
.
This system can be enabled with the BuildQueue
config option. (v3.3c)
- It is now configurable whether the Engine Shield Bonus is included
in PAL computations: PALIncludesESB.
(v3.3e)
- PHOST now supports up to 1000 UFO objects (like HOST 3.22), and
can report them to the players. This means in particular that you can
now use more wormholes. (v3.3e)
Miscellaneous Changes
- The base mass of a planet (100kt) no longer affects the TAL of a player.
- The first ship executing the "lay mines" mission is picked
at random. This way low-ID ships have no longer a better chance to lay
minefields once the 500 mine limit is reached.
- The gsN friendly code (give ship) is no longer registered-only
(HOST compatibility, consistency with give
command). Likewise for the bdm friendly code and the Beam
Down Credits extended mission. (v3.3b)
- The Rob mission now also robs cargo from transporters (HOST
compatibility, v3.3b).
- You can no longer get 10000 mc per turn from gambling by storing
clans in the transporters. The maximum revenue is now limited to the
size of the Lady Royale's cargo room. (v3.3b)
- You can no longer transfer more than 10000 of something to foreign
ships. This could possibly cause overflows. (v3.3b)
- Some bogus (non-English) messages were fixed. (v3.3c)
- Siliconoid natives like deserts (HOST compatibility). In PHOST,
this rule only applies if CrystalsPreferDeserts
is on. (v3.3b).
- The range for the PALGloryDevice
config option has been increased to 0..1000.
- Improved comment handling for pconfig.src. (v3.3e)
Back to the index
Version 3.2e
Released December 21, 1998
Instructions for Players
- Obtain the latest FORMULAS.HTM file -- see changes below.
Instructions for Hosts
- Replace the PHOST program
Bug Fixes
- Segmentation violation while reading TRN files on Linux systems has
been fixed. (v3.2c)
- The TONS.HST file was not being written out. (v3.2a)
- An assertion failure could result when an add-on program removed a
base from the game (e.g., after TKF combat) but did not remove a pending
build order for that base from the build queue. (v3.2d)
- Cloak missions raised yellow alerts when the controller of a remotely-controlled
ship was not allowed to cloak the ship via the HULLFUNC.TXT
interface, even though the true ship owner did have this ability. (v3.2e)
- Cheat checking did not trap cargo dumps to non-existent planets, possibly
leading to assertion failures during host processing. (v3.2c)
- Comments following an assignment for array-type config options in the
PCONFIG.SRC file led to either strange error messages or segmentation
violations. Now, they are ignored as they should be. (v3.2b)
- The PCONFIG.SRC file was being opened in binary mode instead
of text mode on PC-based systems, meaning that a trailing end-of-file character
(^Z) would cause PHOST to reject the file. (v3.2b)
New Features
Miscellaneous Changes
- The formula describing the number of base torps used to aid in planetary
combat was slightly incorrect.
- The formula describing ship fuel
consumption now describes the meaning of the FuellessShipMass
quantity.
Back to the index
Version 3.2
Released March 2, 1998
Instructions for Players
- Obtain the new MISSION.INI file from your host and place it
in your game subdirectory.
Instructions for Hosts
- Replace the PHOST program and the PLANG*.HST files
- Distribute the new MISSION.INI file to your players.
- Add the new AntiCloakImmunity
config option to your PCONFIG.SRC file. For backwards compatibility, set:
AntiCloakImmunity = Yes, Yes, No, No, No, No, No, No, No, No, No
Bug Fixes
- A bug prevented players from changing build orders after the 500-ship
limit had been reached. The new build order would not be recorded and the
old build order would persist but without ever gaining priority. (v3.1b)
- Player-initiated config modifications (e.g., AllowMoreThan50Targets)
were not correctly reflected in the PCONFIG.SRC file when AUXHOST
programs were used during hosting. (v3.1c)
- Some of the example PCONFIG*.SRC files had an incorrect default
value of the FighterFiringRange
config option. The files listed a value of 100000 while the suggested default
value (and the one implied in PHOST v2.x) is 3000.
- PHOST would fail with an assertion error when a wormhole's mass became
exactly 0, either due to a manual setting or by programmed changes. Now,
a wormhole mass of 0 on an active wormhole generates an appropriate error
mesage. (v3.1c)
- Ships travelling too fast for their damage level had their warp speeds
reset to 0 instead of to the maximum allowed speed. (v3.1c)
- Host data consistency checks falsely flagged problems due to ownership
issues caused by remote control. Specifically, a Lizard ship under remote
control had its damage-limited speed calculated without the Lizard bonus.
(v3.1c)
- Host data consistency check diagnostics no longer appeared in the HOST.LOG
file (although they were displayed on-screen during the host run). (v3.1c)
- The -f flag of PVCR was broken so that PVCR could not be used
to view HOST-generated battles (as interpreted by PVCR). (v3.1c)
- The build queue ordering reported in the player messages (and UTIL.DAT
files) was incorrect since the build queue was not sorted after TAL/PAL
adjustments were incorporated. The build queue is always sorted prior to
each ship building stage so this bug did not affect the order in which
ships were built; only the view that players had of the build queue was
slightly distorted. (v3.1c)
- Fixed "Wraparound Maps" page to
consistently indicate that planets outside the wraparound region are ignored.
In one place, the documentation indicated that the planets are remapped
into the wraparound region.
New Features
- Two new extended missions, Lay Mines
In and Lay Web Mines In were added.
These missions allow control over which existing minefield is to be augmented
with new mines. These missions are only available to registered players.
(v3.1c)
- The Scoop Torpedoes From Minefield
extended mission now takes a second parameter indicating a specific minefield
to scoop from. (v3.1c)
- New AntiCloakImmunity
config option changes anti-cloak immunity from a racial option to a per-player-configurable
option (added for HOST 3.22.022 compatibility). (v3.1c)
- PHOST now writes a CLOAKC.HST file to the game directory prior
to running an AUXBC.INI file (if one exists), and also reads it
back to update cloaking information after the AUXBC.INI program
returns. This interface works identically to the one introduced in HOST
3.22.017. (v3.1c)
- The remote control forbid
and allow commands can now be
used to set the default forbid/allow state for all newly-built ships. Previously,
all newly-built ships were allowed to be remotely controlled. (v3.1c)
- The SBQPointsForAging
config option has had its allowable range increased to 0-10000, up from
the previous range of 0-500. (v3.1c)
- The PALCombatPlanetScaling
and PALCombatBaseScaling
config options have had their allowable ranges increased to 0-200, up from
the previous range of 0-100. (v3.1c)
Miscellaneous Changes
Back to the index
Version 3.1
Released October 6, 1997
First public release
Back to the index
Version 3.0
Limited Beta Release
Back to the index
This document is maintained by The Portable Host Project
(support@phost.de).
Last updated 21 December, 2002