-hPrint help summary and exit successfully.
-qQuiet operation. Does not display normal status messages on screen. They will still be written into host.log. Errors and warnings will still be displayed. This is useful for running PHost from a cron job, for example.
-QTotally quiet operation. Like -q, but displays nothing at all, not even warnings and errors.
-c playerCheck-only Mode. PHost will just check the turn file of the specified player, and display the results. Results will also be written into check.log.
The player number can be zero to check all players.
Note that turn file checking is also part of normal host processing. PHost will also check the host data files for integrity before doing any turn checking.
► Note: This option can also be used to check turn files for a HOST game, to complement HOST's weaker cheat checks.
-rRead-only Mode. PHost will do all normal host processing, but not write any hosting files. Turn files will not be deleted. PHost can be run multiple times with this option with no ill effects. This option is mainly for testing purposes. Note that PHost will generate new result files (and thus overwrite the previous set) anyway.
This option implies -k and -i.
-kKeep turn files. Normally, PHost deletes all the TRN files after host processing, because the old TRNs are no longer meaningful with the new universe data.
-s numberSet random seed. The number must be a non-negative integer which is used to initialize PHost's random number generator. When PHost is started multiple times with the same data files, the same TRN files and the same seed, it comes to the same conclusion. This option is useful for debugging and for restoring backups.
Note that add-on programs which involve random numbers must also accept a random number seed to come to the same conclusion.
-STurn number random seed. This option behaves like -S, but uses the turn number as the random seed.
-uNo utilX.dat files. This flag prevents PHost from writing auxiliary data files. In the name of your players, don't use it :-)
-iNo INI files. Do not run PControl or Auxhost programs.
-TOld-style RST files. This flag causes PHost to generate result files in the "old-style" HOST 3.15 file format. Those do not include mine scan information, explosions, Ufos, and race names (all this information is also available in util.dat, but there it is not visible to Winplan).
Normally, PHost sends HOST 3.20-style files to Winplan players, and HOST 3.15-style files to DOS players.
You should never need this switch.
-tPrint turn number. Just print the turn number, on a line by its own, on standard output.
-dPrint turn timestamp. Just print the time stamp expected for incoming TRN files, on a line by its own, on standard output.
-l(lower-case letter "L") Print ship list. Print the ship list on standard output. No other processing is performed. The ships are listed in groups of 20, with each group corresponding to a slot in the truehull.dat file. Each ship has its name, mass, cargo, mineral cost, etc. displayed, along with any special hull functions that it can perform. If the special hull functions are limited to certain players, this information is also displayed.
This option is useful for generating a ship list report to send to players when the ship list has been modified by the host. It is also useful for checking your work when configuring special ship abilities. This option also causes a hullfunc.dat file to be written.
-ll(two lower-case "L") Print ship list. Like -l, but display ships with exactly one line per ship on long lines. This makes postprocessing easier. Special ship abilities are not displayed in this mode.
-FIgnore timestamps in turn files. This flag can be used when restoring a backup.
-VVPHost in use. When you use VPHost, you should also use this flag. It causes PHost to look for *.org files instead of *.trn, and just process command messages. VPHost does its own message processing; without this switch, PHost command messages would not work.
-vVersion info. Displays the version number on standard output and exits successfully.
-CWrite combat log. Writes a file combat.log containing information about all battles this turn. This file is intended to be evaluated by a battle simulator.
-o option=valueSet config option. This changes the value of a configuration option. This switch is mainly intended for use while debugging or setting up a game. For example, -oConfigLevel=2 will temporarily set ConfigLevel to 2 so PHost will warn you even if you forgot an optional setting. When you use this switch to change an option which also is defined in pconfig.src, you'll get a warning. This is by intention; if you wish to make permanent configuration changes, please do this in pconfig.src instead of using this switch.
-L keywordLog events. This will log events related to keyword in a file trace.log. See below for details.