]> git.pond.sub.org Git - empserver/blob - info/Empire4.t
Update change log again for 4.3.19
[empserver] / info / Empire4.t
1 .TH Server "Empire4 Changes"
2 .NA Empire4 "Changes from the Empire3 server to the Empire4 Server"
3 .LV Expert
4 .s1
5 There have been several changes/fixes made to the Empire3 code in the
6 new Empire4 Server.  This outlines the various changes and how they
7 will affect you, the player.  These were coded as the Wolfpack project,
8 and bug-reports should be sent to <wolfpack@wolfpackempire.com>.
9 .NF
10 Changes to Empire 4.3.19 - Sun Dec  7 22:25:46 UTC 2008
11  * LWP doesn't work with Darwin due to OS bugs, avoid it for now.
12  * Don't let ships double-retreat first on 'i' (injured) and then on
13    'h' (helpless) when shelled.
14  * Fix a bug that suppressed the "sunk!" message.  Broken in 4.3.17.
15  * Log out player when maximum time per day is exceeded.  Before, he
16    could remain logged in with visitor privileges only, but once
17    logged out could not log back in.
18  * If a player was at a prompt when either game hours restriction
19    started or maximum time per day was exceeded, he was allowed to
20    enter one more command.
21  * Deitying a capital failed to charge money and report news.  Broken
22    in 4.3.17.
23  * Overhaul accounting of play time, fixing minor inaccuracies.
24  * Fix parsing of 24:00 in econfig key game_hours and
25    update_demandtimes.
26  * New option RAILWAYS.
27  * Che ages just like military reserves (1% per 24 ETUs).
28  * Permit ships to assault the sector they're in.
29  * Sectors eating less than one unit of food don't make one unit of
30    food for free anymore.  They still can't starve.
31  * New concept sector terrain.  Deities can use it to make sectors
32    other than wilderness redesignatable.  See sect.config for more
33    info.
34  * Represent play time in seconds rather than minutes.  This affects
35    xdump: nat selector minused (counting minutes) is replaced by
36    timeused (counting seconds).
37  * Improved nightly build, with additional tests.
38
39 Changes to Empire 4.3.18 - Sat Oct 18 18:39:17 UTC 2008
40  * Fix building of planes, land units and nukes with uids that have
41    never been used before.  This could crash the server on some
42    systems in certain states.  Broken in 4.3.17.
43  * Improved nightly build, with restructured and extended tests.
44
45 Changes to Empire 4.3.17 - Sat Sep 20 16:07:44 UTC 2008
46  * Fix standalone client build for Windows.  Broken in 4.3.11.
47  * Disable automatic supply of land units on load for now, it's broken
48    in a highly abusable way.
49  * Make trade show exactly what's on sale, remove option SHOW_PLANE.
50  * Stop ships, planes, land units and nukes on violent takeover, just
51    like sectors.
52  * Wipe orders when ships, planes, land units and nukes are taken over
53    violently or given away peacefully.  Fleet, wing, army and mission
54    were already cleared in many, but not all cases.  Other orders were
55    never cleared: mission op areas (visible in xdump), ship autonav
56    orders, ship sail path (including ship to follow and mobility
57    quota), land unit retreat orders, plane range limit, and land unit
58    retreat percentage.
59  * Fix takeover of stuff by attack, assault, board, lboard, paradrop
60    and pboard:
61    - Corrupt land unit file could lead to infinite recursion.
62    - Take over nuke armed on plane along with the plane.  Broken in
63      4.3.3.
64    - Taking over land units with negative mobility increased mobility
65      to zero.  Ditto for planes embarked on ships or land units.
66  * Fix a bug that made set and xdump not recognize unused trade lots
67    as such.
68  * Fix giving away stuff by trading it:
69    - When an armed nuke is sold separately from its plane, take it off
70      the plane.  You couldn't do that before 4.3.3.
71    - Give away nuke armed on sold plane along with the plane.  Broken
72      in 4.3.3.
73    - Don't zero mobility of planes and land units on sold ships.
74  * Fix giving away stuff by unloading from its carrier: Give away any
75    nukes armed on planes (broken in 4.3.3) and land units loaded on
76    land units.  The latter can't happen in the stock game.
77  * Fix giving away stuff by scrapping or scuttling its carrier:
78    - Fix up output.
79    - Disarm the nuke from a plane instead of destroying it.
80    - Give away any loaded land units and planes, too.
81  * Tradeship fixes:
82    - Fix scuttle to ask for confirmation when scuttling a tradeship in
83      an unsuitable sector even when the tradeship is pirated.  Broken
84      in 4.2.13.
85    - Fix scuttle to require 2% harbor efficiency for a trade ship to
86      pay.  Also require at least friendly relations.
87    - Make autonav refuse scuttle orders in unsuitable sectors.
88  * Clean up rules on where you can scrap stuff:
89    - Ships in own or friendly, efficient harbors (relations used not
90      to matter, contrary to info)
91    - Planes in own or allied, efficient airfields (friendly used to
92      work as well, contrary to info)
93    - Land units in any own or allied sector (relations used not to
94      matter, and you couldn't scrap them on ships)
95    Also tell player why something can't be scrapped instead of
96    ignoring it silently.
97  * Rewrite the broken code to move land units, planes and nukes along
98    with their carrier.  The old code was a hack that didn't update
99    timestamps (so incremental dumps didn't pick up the movement), and
100    it didn't cover all uses.  The update, in particular, was prone to
101    see cargo in old locations, which could screw up repairs.
102  * Expire lost items at the update instead of continuously.
103  * Replace econfig key lost_items_timeout by lost_keep_hours.
104  * Minor Windows threading fixes.
105  * Journal now uses human-readable names to identify threads.
106  * Ship and land unit load counters are no longer stored in game
107    state, because they duplicate information already there.  Same for
108    the type of nuke loaded on a plane.  Remove field nuketype from
109    xdump plane.  Clients can simply find the plane's nuke instead.
110  * Ship and land unit load counts as displayed by ship, sdump, land,
111    ldump, ship selectors nplane, nxlight, nchoppers, nland, and land
112    selectors nxlight, nland are now reliable.  They used to get out of
113    sync at times.
114  * Ship load counts now reflect what is loaded, not how it is stored.
115    For instance, if a light carrier, capable of carrying 4 x-lights
116    and 20 light planes carries nothing but 5 sams, we now have
117    nxlight=5, nplane=0 instead of nxlight=4, nplane=1.
118  * New cargo lists data structure to let code find loaded planes, land
119    units and nukes easily and efficiently.
120  * Revamped upkeep of lost file.  It should be reliable now.
121  * Disable the ill-advised error recovery on sector access that swept
122    bugs under the carpet rather than recovering from them.
123  * Occupied sectors no longer revert to the old owner when all
124    military and land units go away.  This feature was added in
125    Chainsaw 3.  It wasn't integrated properly with the che code
126    (things went wrong when che killed all defenders, but couldn't
127    convert the sector due to its loyalty), and combat code (if an
128    attack killed off all local defenders and got defeated by reacting
129    units, the sector changed ownership anyway, silently).
130  * Include destination coordinates in interception and plane mission
131    messages.
132  * Client could misdiagnose redirections and executes as unauthorized,
133    or die outright.  Broken in 4.3.11.
134  * Fix xdump realm to dump player instead of absolute coordinates.
135    Disclosed the true origin.  Broken in 4.3.0.
136  * Fix spy to reliably avoid spying same sector more than once.
137  * The map drawing code could smash the heap when the world was
138    ridiculously small.
139  * When a satellite's launch trajectory was off, its coordinates could
140    get screwed up, which made it invisible in skywatch.
141  * Fix several bugs that made the path command screw up when the path
142    spans large areas.
143  * Fix the default size of the map shown by move, test and transport
144    sub-command M.
145  * Fix bugs that could make arguments in area or dist syntax miss
146    ships, planes, land units and nukes at the border of the selected
147    area, if that area spans the whole world.  In sufficiently small
148    worlds, it could also make radar miss satellites and ships, sonar
149    miss ships, satellite miss ships and land units, nuclear
150    detonations miss ships, planes, land units and nukes, automatic
151    supply miss ship and land unit supply sources, ships and land units
152    fail to return fire, ships fail to fire support.
153  * Maps sometimes showed x-coordinates as three lines instead of two
154    unnecessarily.
155  * Improved nightly build, tests in particular.
156  * Code refactoring and cleanup.
157
158 Changes to Empire 4.3.16 - Sat Aug  9 15:56:52 UTC 2008
159  * Production command incorrectly limited the number of graduates,
160    happy strollers, technological breakthroughs and medical
161    discoveries produced by a sector to 999.  Broken in 4.2.15.
162  * Fix a bug in improve that could let you spend more money than you
163    have.
164  * Fix work command not to spend more mobility than requested, and to
165    round mobility use randomly instead of down.
166  * Commands demobilize, convert and work no longer let you spend more
167    money than you have.  Commands demobilize and convert no longer ask
168    for confirmation before spending more than half your money.  Saving
169    that feature would have been more work than it's worth.
170  * Remove undocumented key 'd' at bomb ship, plane and land unit
171    target prompts.
172  * Fix land unit flak when pin-bombed to match flak when overflown:
173    proportional to efficiency, and randomly rounded.  Was missed in
174    4.3.6.
175  * Don't permit bombing of embarked planes and land units.
176  * Fix capital maintenance to charge at 60% efficiency.
177  * launch command now requires only 40% plane efficiency, for
178    consistency with other ways to launch missiles.
179  * Disable collateral damage when automatically launched missiles miss
180    their target.  Collateral damage was done even when the launch
181    failed or the missile got intercepted.  It's been disabled for
182    manually launched missiles since 4.0.18, for the same reason.
183  * Fix a bug that corrupted the lostitems file.  Broken in 4.3.12.
184  * Show command changes:
185    - Move product information from "show sect c" into new "show
186      product", and reformat it to be easier to understand.
187    - New column navigability in "show sect s".
188    - "show sect s" now shows the packing bonus type instead of
189      selected packing bonuses.  "show item" shows the actual bonuses
190      for each type.
191    - "show sect b" now shows the usual values in addition to unusual
192      ones.
193  * Fix interdiction to obey op-area for missiles.
194  * Fix a bug that caused a stale sources.mk to be distributed in the
195    4.3.14 an 4.3.15 tarballs.  The latter does not build out of the
196    box because of that.
197  * Don't strip tab characters from quoted command arguments.  Broken
198    in 4.2.21.
199  * shutdown commands now always take effect immediately.  Before, they
200    could be delayed by up to a minute.
201  * shutdown could start multiple shutdown threads when you initiated a
202    shutdown shortly after cancelling one.  This screwed up the timing
203    of the shutdown.
204  * Deity syntax of zdone changed, and is now documented in info.
205  * The threshold command could be tricked into accepting negative
206    thresholds.
207  * Fix designate to always write updated bmap to disk.
208  * Fix bomb to fail on empty <pin|strat> argument instead of flying
209    without bombs.
210  * Fix a bug in distribute that screwed up the current sector's
211    distribution center when the command got aborted.
212  * Commands arm, bomb, deliver, drop, fire, fly, paradrop, recon,
213    lmine, order, power, range, sail, shutdown, sweep and tend did not
214    honor command abortion at some prompts.
215  * Fix a bug in handling of EOF from client that could bite in the
216    following ways:
217    - EOF at target prompts for bombing commodities, ships, planes and
218      land units sent the server into an infinite loop that ate all
219      memory.
220    - EOF at sail's path prompt crashed the server.
221    - EOF at some prompts in deliver, designate, fly, morale, zdone,
222      attack and assault didn't abort the command.
223    Broken in 4.3.11.
224  * Selector terr is now the same as terr0 for mortal players, and
225    dterr for deities.  This matches how the territory command works.
226    Unfortunately, this required us to rename xdump sect field terr to
227    terr0.  Sorry about that.
228  * Fix bomb not to let you bomb dead ships and land units.
229  * Make the retreat command a bit more helpful on retreat conditions,
230    and make it fail on bad conditions.
231  * Fix the mapper scripts.  Broken in 4.2.0.
232  * Fix flying commands not to let planes do double duty as escorts.
233    Broken in 4.3.12.
234  * When a minesweeper hit a mine after sweeping, the mine wasn't used
235    up.  If it sank the minesweeper, the code accessed freed memory,
236    which could clobber the ship file or worse.  Broken in 4.0.17.
237  * Don't let non-light units board ships that can't carry them.
238  * Capitals can now employ up to 1000 civilians instead of 999.
239  * Spy command changes:
240    - Spy now requires sector military.  Before, presence of land units
241      was sufficient, but spies shot were only deduced from sector
242      military.  If you lost more spies than you had sector military,
243      the rest came back from the dead.
244    - Spy no longer ignores non-sea sectors without civilians, military
245      and land units.
246    - Remove columns lnd, pln from spy report.  The values didn't match
247      the reported land units and planes, and could leak the presence
248      of spy units.
249    - Establish contact when spy succeeds even though the spy was
250      caught.
251  * Fix news reporting and damage when land units interdict ships in
252    sectors other than sea.
253  * Fix land unit return fire damage to ships to take accuracy into
254    account, like the fire command and interdiction does.
255  * Remove the inconsistent shelling damage reduction for range.  Fire
256    command got damage reduced by 10-20% with a chance depending on
257    range ("Wind deflects shells").  Ships interdicting got it reduced
258    by half.  Other ways to shell did not get damage reduced for range.
259  * Fix ground combat to report defending land units.  Broken in 4.3.4.
260  * Info file and documentation fixes and improvements.
261
262 Changes to Empire 4.3.15 - Sun May 18 08:59:30 UTC 2008
263  * The edit command keys deprecated in 4.3.10 are now gone.
264  * fairland now obeys game file locks.
265  * Do not leak world creation time in files utility, because that
266    facilitates attacks against fairland's PRNG.  Broken in 4.3.12.
267  * Fix starvation not to starve one more than it should.  The last man
268    on a boat or land unit now can't starve anymore.
269  * Fix a crash bug in satellite.  Broken in 4.2.7 and not fixed
270    correctly in 4.2.12.
271  * Fix a coordinate normalization bug that could theoretically lead to
272    buffer overruns and other unpleasantness.  None have been
273    reproduced, though.  Broken in 4.3.12.
274  * Remove option FUEL.  The abstract idea of tying ships and land
275    units to a logistical tether is sound, the concrete implementation
276    as option FUEL is flawed.  It adds too much busy-work to the game
277    to be enjoyable.  It hasn't been enabled in a public game for
278    years.  The code implementing it is ugly, repetitive, and a burden
279    to maintain.  The edit command still accepts and ignores the fuel
280    keys for compatibility, but they are deprecated.
281  * Fix pin-bomb not to report subs when there are none.
282  * You now have to take a capital to capture the victim's money, loans
283    or market lots.  Merely obliterating the capital doesn't cut it.
284    It still makes the victim lose money, though.
285  * Fix a bug that could theoretically allow sacking of non-existant
286    capitals of visitors, deities and such.
287  * You now gain BTUs and MOB_ACCESS mobility before the first update
288    again.  You didn't since 4.3.10 introduced the ETU clock.
289  * Fix edit to detect when the edited object changes while it's being
290    edited.
291  * Fix xdump nat for relations: it got HIDDEN backwards.  Broken in
292    4.3.12.
293  * Fix origin command not to prompt twice for its argument.  Broken in
294    4.3.0.
295  * Info file improvements.
296
297 Changes to Empire 4.3.14 - Mon May  5 04:57:03 UTC 2008
298  * Another round of fixes to the fire command:
299    - Don't disclose where the target retreated to.
300    - Charge the target shells for returning fire.
301    - Always use guns when the target is out of range, even if it's a
302      submarine.  Before, the difference in shell use disclosed whether
303      the target is a submarine.  Loophole opened in 4.3.12.
304    - Make depth charges again work with just one shell.  Failing the
305      command in that case lets players find out whether the target is
306      a submarine.  Loophole opened in 4.3.12.
307    - Detect when the firing sector, ship or land unit changes across
308      the target prompt.  Abusable.
309  * Fix parsing of anchor-relative time in update schedule.  Broken in
310    4.3.13.
311  * Fix logging of player input in the journal to include command
312    interruption and EOF.
313  * Fix oversights in 4.3.12's change to keep track of flying planes:
314    planes could be erroneously reported damaged by their own ground
315    strikes.  Happened with missions and the launch command.
316  * Fix load not load hardened missiles.
317  * Fix harden not to harden missiles loaded on land units.
318  * New server option -E to choose what to do on recoverable internal
319    error.  You can now make the server dump core and keep going (not
320    implemented for Windows).  New econfig key post_crash_dump_hook to
321    run a program after crash-dumping.  See scripts/savecore for an
322    example.
323  * Journal entries are now flushed to disk right away even when the
324    server is not running in debug mode.
325  * Don't let land units load trains.
326  * Allow deity to display power report for all types of countries,
327    with power c.
328  * Fix designate's check for disallowed sector types.  Broken in
329    4.3.12.
330  * Documentation fixes.
331
332 Changes to Empire 4.3.13 - Tue Apr 15 19:03:11 UTC 2008
333  * Work around strptime() lossage on some systems.  Fixes the parsing
334    of the schedule file there.
335  * New selector maxnoc for xdump version.
336  * Fix initialization of realms in newcap.  Broken in 4.3.12.
337  * Fix add for status arguments active, god, delete.  Broken in
338    4.3.12.
339  * Info file, manual page and documentation fixes.
340
341 Changes to Empire 4.3.12 - Wed Apr  2 05:35:06 UTC 2008
342  * Fix rounding error in update that could result in more babies than
343    food permits, and negative food.
344  * Fix a bug that could lead to unfair thread scheduling under
345    Windows.
346  * Fix ship and land unit missile interdiction and ballistic missile
347    interception to require a proper base.  Before, missiles could
348    launch from anywhere for that.
349  * Launch bug fixes:
350    - Don't allow launching from unowned sectors.
351    - Don't destroy missiles stuck on foreign ships.
352    - Use up the supplies required for launching an asat only when it
353      actually launches.
354    - Don't ignore satellites' fuel use.
355  * Deity command newcap now requires its second argument (sanctuary
356    coordinates).  Before, it tried to pick a suitable location when
357    none was given.  The code implementing this feature had problems,
358    and it's not worth fixing, because it is obscure, and rarely (if
359    ever) used: no conscientious deity would use it for a real game,
360    and for blitzes fairland does a better job.
361  * Keep track of flying planes properly.  This fixes a number of bugs:
362    - While the bomb command awaited pin-bombing target input from the
363      player, other players could interact with the pin-bombers and
364      escorts as if they were sitting in their bases: spy them, damage,
365      capture, load, unload, or upgrade them, even get intercepted by
366      them.  But any changes to those planes were wiped out when they
367      landed.  Abusable.
368    - The bomb command could bomb its own escorts, directly (pin-bomb
369      planes) or through collateral damage, strategic sector damage,
370      collapsing bridges or nuke damage.  The damage to the escorts was
371      wiped out when they landed.
372    - If you asked for a plane to fly both in the primary mission and
373      escort, you got charged fuel for two sorties instead of one.
374  * Plug memory leaks in plane interception.
375  * Fix trade not to let the buyer teleport satellites (not in orbit)
376    and asats to an arbitrary sector.  Abusable, because abms
377    intercepted from anywhere, and satellites could be launched from
378    unowned sectors.
379  * The PRNG seed is now logged in the journal.
380  * Fix nightly build for Windows.
381  * Fix crash bug that bit when custom tables contained columns names
382    that existed, but weren't supposed to be in the custom table.
383  * New timestamp selector for commodity, country, game, loan, nation,
384    news, realm, trade, treaty to support incremental xdump.
385  * Deity commands newcap and add wipe the nation more thoroughly.  add
386    no longer touches relations and flags for status active and god.
387  * New utility program empdump to export and import game state as
388    plain text.  Check its manual for details, including limitations.
389  * Plane, ship and land unit stats are no longer stored as game state,
390    but recomputed from tech and base stats as needed.
391  * xdump ver is no longer a special case.  Syntax "xdump ver" is now
392    deprecated.  Use "xdump version *".
393  * Fire and torpedo cleanup and bug hunt:
394    - Plug memory leak in fire command.
395    - Fix ammunition use when returning fire: resupply could lose
396      shells when returning fire to multiple targets, and land units
397      were charged per target instead of just once.
398    - Interdicting land units now resupply shells automatically, for
399      consistency with other ways to fire.
400    - torpedo and fire no longer resupply shells automatically.  The
401      latter used to resupply land units only.
402    - Land units no longer have to be in supply to fire actively, for
403      consistency with other ways to fire.
404    - Submarines with zero mobility can no longer interdict, for
405      consistency with other ways to torpedo.
406    - Fix bugs that let submarines without capability torp use
407      torpedoes to return fire and interdict.
408    - Fix torpedo command not to require a line of sight for return
409      fire and depth charges, and to use torpedo range instead of
410      firing range for return torpedoes.
411    - Active fire and interdiction didn't work for ships with zero
412      firing range, even though return fire and support did.  No such
413      ships exist in the stock game.
414    - Let land units with zero firing range and non-zero firing damage
415      fire, for consistency with ships.  No such units exist in the
416      stock game.
417    - Ships required different numbers of military to operate their
418      guns for the various kinds of fire.  Unify to require 2*N-1
419      military to fire N guns.
420    - Ship ammunition use differed for the various kinds of fire.
421      Unify to use one shell per two guns.
422    - Forts could fire support even when there were not enough mil.
423    - Fix automatic shell resupply in several places to supply exactly
424      the shells actually fired, no more, no less.
425  * Change depth charges back to how they are documented and worked
426    before 4.0.6, mostly: require no guns, one military, do damage like
427    shell fire from three guns (before 4.0.6: two guns), use two
428    shells.  In 4.0.6's model, they worked exactly like shell fire
429    (require guns and gun crew, non-zero firing range, damage and
430    ammunition use scales with available guns), except for missions,
431    which was a bug.  Note that depth charge damage for all ships is
432    now like fire from three guns for two shells.  No change for dd; af
433    did two gun damage for one shell before, and nas did four gun
434    damage for two shells.
435  * The edit command keys deprecated in 4.3.3 are now gone.
436  * Fix build not to screw up automatic dependencies on certain compile
437    errors.
438  * Fix a bug that could prevent repeated news from properly
439    aggregating into one news item.
440  * Properly initialize all bits in game state files, even those that
441    aren't used.
442  * Fix explore's test for stopping on a splashed bridge.  The bug made
443    explore print to a bogus message.
444  * Fix spelling of symbol airburst in table plane-flags.  This could
445    affect clients.
446  * Change designate not to check total cost before executing the
447    redesignation.  The code implementing that was buggy and too ugly
448    to live.  Designate doesn't cost anything in the stock game.
449  * Always charge land units at least as much mobility for assaulting
450    from non-landing ships as from landing ships.  Before, marines lost
451    all mobility when assaulting from a non-landing ship, which could
452    be less than what the same assault costs from a landing ship (half
453    an update's worth).
454  * Fix LWP's stack initialization for -s.  It caused crashes on some
455    systems.
456  * Fix confused and buggy bridge splashing code:
457    - Flying planes could be reported drowned.
458    - Pin-bombing a bridge head failed to collapse bridge spans for
459      lack of support, unless the pin-bombing caused collateral damage.
460    - Corrupt sector file could lead to infinite recursion.
461  * Relative names now work for econfig keys data and info.
462  * Fix utility programs to abort on internal errors.  They used to
463    print a message and attempt to recover.
464  * Fix off-by-one in fairland that ate the last expansion island.
465  * Switch from CVS to git.
466  * Code refactoring and cleanup.
467  * Portability fixes.
468  * Info file, manual page and documentation fixes and updates.
469
470 Changes to Empire 4.3.11 - Tue Jan  1 18:57:38 UTC 2008
471  * New sector selector elev.  It's set by fairland, but has no effect
472    on the game.  It can be useful for deities to customize a world
473    created by fairland.
474  * The client now copes with ids greater than 15.  The Empire
475    protocol currently uses 14 ids.
476  * Rewrite the client's code for reading server output during login.
477    The old code could write one byte beyond the end of the buffer
478    (theoretically a remote hole), got confused by long lines, and
479    lines that didn't arrive in one piece.
480  * Long country name, password or user name crashed the client.
481  * Fix xdump not to deny access to game state tables when maximum
482    minutes per day are exceeded.
483  * The server considers a country bankrupt when its treasury is
484    negative.  Except when it doesn't.  Fix that:
485    - report misreported countries with $0 as broke.
486    - If a command spent a few cents more than you had, commands requiring
487      money became unavailable even when rounding brought you back to
488      $0.  But logging out and back in then bankrupted you.
489    - If your treasury rose to exactly $0, commands requiring money
490      remained unavailable.
491    - If you had $0, sectors didn't build and sectors and ships didn't
492      produce at the update.
493  * Fix a bug in trade that made your money evaporate when a trade fell
494    through because you couldn't fully pay.  This bug was there since
495    the introduction of the market in 4.0.0.  It got aggravated by the
496    removal of forced loans in 4.3.0.
497  * Fix printing of the new group in army, fleet and wing.  Broken in
498    4.3.5.
499  * Fix flash not to screw up the message when the first argument
500    contains white-space.
501  * Don't let planes intercept when they are stuck in foreign bases, on
502    inefficient ships or land units, or on land units loaded on ships
503    or land units.
504  * Fix a bug that made interception require petrol to be present even
505    for planes that don't use fuel (SAMs).  Broken in 4.3.3.  Air
506    defense missions weren't affected.
507  * fairland and setsector now limit fertility to 100 instead of 120,
508    like the other resources.
509  * Generalize the autonav hack for fishing boats so it covers oil
510    derricks as well.
511  * Fix bug in path command that made it swallow every other step.
512    Broken in 4.2.22.
513  * The execute command no longer supports redirections and execute in
514    batch files.  Flaws in the Empire protocol make it next to
515    impossible for clients to implement that correctly.  See
516    doc/clients-howto for an explanation.
517  * Rewrite much of the client's code for sending commands and
518    receiving server output:
519    - No longer blocks on sending commands, which could deadlock the
520      session.
521    - Fix race condition that could cause server output to be discarded
522      on EOF on standard input.
523    - Don't discard server output when reading standard input fails.
524    - Fix error handling for execute and other, more obscure cases.
525    - More rigorous error checking for redirections and execute.
526      Clearer error messages, too.
527    - Fix execute redirected to file or pipe.  Believed to be broken in
528      4.2.0.
529    - The client now creates files for redirections with the same
530      permissions whether the redirection is in a pipe or not.  Before,
531      redirections without a pipe created files with no permissions for
532      group and others.  This change may make your redirected output
533      visible to other users on your system.  Use the usual controls,
534      like umask, to restrict permissions to your liking.
535    - Reject unexpected redirections (violating the protocol).  Before,
536      they silently replaced the current one, and in the case of pipes
537      leaked file descriptors and memory.
538    - Redirections in batch files are not implemented.  They didn't
539      quite work before, and could leak memory and file descriptors.  A
540      flaw in the Empire protocol makes them next to impossible to
541      implement correctly.
542    - The execute command in batch files is not implemented.  A flaw in
543      the Empire protocol makes this practically useless anyway.
544    - Old code leaked memory in various places.
545    - Unfortunate incompatibility with older servers: if you type the
546      EOF character (normally ^D) at an argument prompt, the session
547      hangs.  Use the interrupt character (normally ^C) to get out.
548  * The client now supports options -h and -v.
549  * The client no longer zaps its command line in a lame attempt at
550    protecting users who foolishly specify passwords on the command
551    line.  Zapping annoys system administrators and creates a false
552    sense of security.
553  * Journal entries are now flushed to disk right away when the server
554    is running in debug mode.
555  * Fix bugs in load that could make loading operations fail noisily
556    instead of silently on some systems.
557  * Server now reliably shuts down session when it receives an
558    end-of-file condition from the client.  Before, it merely failed
559    the current command when it got it at an argument prompt.
560  * Fix bug in execute that could crash the server on some systems when
561    it prompts for the argument.
562  * Fix bug that let you check whether a non-allied carrier is
563    efficient enough for takeoff when one of your planes got stuck
564    there somehow.
565  * Fix bug that let you attempt to escort a one-way mission to a
566    carrier with non-light, non-interceptor escorts.  Such planes don't
567    fit on carriers, and the command then failed with a bogus error
568    message.  Before 4.2.17, the planes flew, and the escorts were
569    teleported home.
570  * Change the rules for fitting planes on ships slightly, so that the
571    order of loading no longer matters. Choppers and x-lights can now
572    use plane slots even when not light.  X-light choppers, which don't
573    exist in the stock game, can no longer use x-light slots.
574  * The server now keeps its log file open, just like the journal.
575  * New server option -R to set the PRNG seed.  This is for
576    reproducible tests.  Change the Windows-only service uninstall
577    options from -r/-R to -u/-U.
578  * Supply a real PRNG for Windows instead of the leaky water-pistol
579    Windows provides.
580  * Threads sleeping until a specified time could return early under
581    Windows.  This could cause missed updates.  Broken in 4.3.10.
582  * Fix missing newline in show updates.
583  * Power report didn't factor tech into power correctly.  Broken in
584    4.3.3.
585  * Code refactoring and cleanup.
586  * Info file and documentation fixes and updates.
587
588 Changes to Empire 4.3.10 - Thu Sep  6 17:59:53 UTC 2007
589  * Bridge spans now cost $1000 instead of $2000, and bridge towers
590    $3000 instead of $7500.
591  * The Windows port now supports IPv6, but it still needs to be
592    enabled manually at compile-time.
593  * The custom table reader detects more errors.
594  * Do not leak world creation time in files and fairland, because
595    that facilitates attacks against the PRNG.  This misfeature crept
596    into 4.3.0.
597  * Remove the ancient, crufty non-UCONTEXT system-dependent LWP code.
598    Using it required manual hackery since 4.3.0.
599  * Plug file descriptor leak in add command.
600  * Don't kill player connections violently when their thread appears
601    to be hung.  Threads being aborted by update or shutdown could be
602    misidentified as hung, and the violence could lead to resource
603    leaks, locked out updates, and corrupted game state.
604  * Fix LWP to reliably wake up threads sleeping for a time.  Before,
605    players with a sufficiently fast connection could starve out system
606    threads, including the update.
607  * Fix a class of bugs that made commands behave differently while the
608    update is attempting to take control:
609    - No MOB_ACCESS mobility was gained.
610    - Telegrams were miscounted.
611    - Bulletins got misfiled as production reports.
612    - The navigate command ignored sail paths.
613    - The declare command was more quiet, and declarations of war
614      failed silently when SLOW_WAR was enabled.
615    - Many messages got misdirected to bulletins.
616    Some of these bugs go back all the way to Empire 2, ca 1995.
617  * New deity command reload, effect similar to SIGHUP.
618  * Not voting for a demand update no longer lets you veto further
619    demand updates.  This feature was flawed (it encourages players to
620    vote late so that they can tactically vote no and thus build up
621    veto rights), virtually unused, and buggy.  The edit command still
622    accepts and ignores the country key 'U' for compatibility, but it
623    is deprecated.
624  * Fix zdone not to claim to have triggered an update when they're
625    disabled.
626  * New update scheduler and ETU clock:
627    - New schedule file.  See doc/schedule for how to use it.  Replaces
628      econfig keys update_policy, adj_update, update_times, hourslop,
629      blitz_time.  A change of schedule does not require a server
630      restart.
631    - The force command can no longer force updates in the future.
632      Edit the schedule file for that.
633    - New command show updates to show the update schedule.  Obsoletes
634      the update command.
635    - New xdump game and xdump updates.
636    - New utility program empsched to help test update schedules.
637    - Replace option DEMANDUPDATE and econfig key update_demandpolicy
638      by econfig key update_demand.
639    - econfig key update_demandtimes no longer applies to scheduled
640      demand updates.
641    - You now receive new BTUs at the update in addition to login.
642    - You now always gain the same BTUs and MOB_ACCESS mobility per
643      turn, even when the update schedule changes, updates get missed,
644      or unscheduled demand updates run.
645    - Remove the mobupdate command, because porting it to the new ETU
646      clock is not worth it.
647  * Redesign of synchronization between commands, update and shutdown,
648    and how updates are triggered:
649    - Simplify update to a single thread waiting for the trigger.
650      Before, three update threads had to perform a carefully
651      choreographed dance to make updates happen.  The dance relied on
652      thread priorities for correctness, which are only implemented by
653      LWP.  With pthreads and under Windows, demand updates were prone
654      to two update threads starting up concurrently.  Even with LWP,
655      forced and demand updates could lead to double updates.
656    - Use a lock for synchronization: commands take it shared, update
657      and shutdown take it exclusive.  This makes update and shutdown
658      block until all aborted commands terminated and gave up their
659      lock.  Before, they proceeded blindly after waiting two or one
660      seconds respectively, which was cheesy and unsafe.
661    - New commands no longer fail while the update is pending, they are
662      delayed until after the update.
663    - New commands can no longer start during shutdown.  Before, they
664      could, but risked getting killed violently, possibly corrupting
665      game state.
666    - Fix command execution so that commands blocked in writing
667      redirections are abortable.  The bug allowed players to delay
668      update and shutdown indefinitely.
669    - Fix shutdown not to let player threads block on output.  This
670      let players delay shutdown indefinitely.
671    - Fix reading of player input not to block again after update or
672      shutdown aborted it.  The bug allowed players to delay update and
673      shutdown indefinitely.
674  * Thread priorities are only implemented by LWP and no longer used.
675    With LWP, they let players with a sufficiently fast connection
676    starve out the threads that clean the lost file and kill idle
677    connections.  Drop them.
678  * Show nuke rounded required research incorrectly.
679  * Log unprintable characters as octal escapes rather than question
680    marks in the journal file.
681  * The files program no longer changes permissions of existing files.
682  * The files program now creates all files with permissions ug=rw and
683    all directories ug=rwx, modified by umask.
684  * Fix a bug that could make arm, disarm and nuke detonation work with
685    a used-up nuke instead of the armed one.  This could be abused to
686    detonate nukes multiple times.  Broken in 4.3.3.
687  * Fix nuke detonation output for zero blast radius.
688  * Plug memory leaks in thread code.
689  * Fix a bug that made LWP I/O wakeup unreliable.
690  * New march sub-command v for view.
691  * Journal was initialized before threads were, which was wrong.
692  * Fix server not to create a journal on SIGHUP when it is disabled.
693  * shutdown 0 now requests immediate shutdown instead of cancellation
694    of a pending shutdown.  shutdown -1 now cancels.
695  * flash and wall no longer split long message lines.
696  * Fix a bug in collect that screwed up a fully collected loan instead
697    of deleting it.  The screwed up loan could not be sharked or
698    collected, but it could be repaid.
699  * Remove the wait command, it's been broken and restricted to deity
700    since Empire 2, ca. 1995.
701  * Budget failed to take sector production into account for predicting
702    unit repairs.  Before 4.3.6, this bug bit only when you fooled
703    around with budget priorities.
704  * When unit repairs are limited by materials, the efficiency gain is
705    now rounded down.
706  * Ship repairs outside harbors and plane repairs by carriers used to
707    consume commodities when and as far as available.  Now, they
708    consume the same fraction of the real cost of each commodity,
709    i.e. commodity use is limited by the most scarce commodity.
710    Neither old nor new behavior make much sense, but the new code is
711    simpler.
712  * Code refactoring and cleanup, in particular to make the Windows
713    port less ugly.
714  * Portability fixes.
715  * Info file and manual page updates.  All manual pages are now
716    installed in section 6.
717
718 Changes to Empire 4.3.9 - Sat Jan  6 12:42:19 UTC 2007
719  * Fix declare to prevent the deity from changing relations for a
720    player to self.  Allow the deity to set the relations of a player
721    towards the deity.
722  * Fix arm not to put the same nuke on multiple planes (broken in
723    4.3.3).
724  * New option AUTO_POWER.
725  * Sectors now repair allied land units.
726  * Sectors now repair only own and allied planes.
727  * Fix repair of planes on foreign carriers: repair allied planes,
728    ignore the others.  Before 4.3.3, carriers destroyed rather than
729    repaired foreign planes.  Since 4.3.3, foreign planes were treated
730    as recoverable error.
731  * Fix automatic fortification of land units to use all excess
732    mobility even when mobility delta exceeds mobility maximum.
733  * Disable automatic fortification of land units when MOB_ACCESS is
734    on, because it is prohibitively slow then (broken in 4.2.13).
735  * Budget now shows level production (tech, education, research and
736    happiness) rounded instead of randomly rounded.
737  * Fix update not to randomly flush small level production to zero.
738  * Fix overly restrictive game file locking under Windows (broken in
739    4.3.8).
740  * Fix navigate to charge mobility for sweeping mines without moving
741    (broken in 4.3.6).
742  * Code cleanup.
743
744 Changes to Empire 4.3.8 - Fri Oct 20 18:30:28 UTC 2006
745  * Ships no longer produce stuff when the government is broke.
746  * Fix land unit casualties in revolts.
747  * Fix security units not to raid friendly che.
748  * Fix update sequence to ensure stopped sectors don't work on the
749    ships, planes and land units in the sector.  Before 4.3.6, this bug
750    bit only when you fooled around with budget priorities.
751  * Fix canal loading (was broken in 4.3.0).
752  * Fix tend not to tend land units that could not be loaded.
753  * Make xdump command available before break, but deny access to game
754    state.
755  * Lock game files to prevent concurrent access by multiple programs.
756    fairland does not yet obey the lock.
757  * Fix production to consider sector item limit.
758  * Fix swapsector to update coastal flag correctly (broken in 4.3.0).
759  * Enhanced mapping sub-commands in move, test, explore and transport.
760  * Code cleanup.
761  * Info file fixes.
762
763 Changes to Empire 4.3.7 - Fri Jul 14 23:05:19 UTC 2006
764  * Sanctuaries are again fully populated with civilians (4.3.6 changed
765    the limit, but not the population).  Food is now spread evenly
766    among them.
767  * Fix path finder to find shortest naval and aerial paths again
768    (broken in 4.3.4).
769  * transport's map sub-command now does the right thing for a unit
770    number argument.
771  * Fix bug in map sub-command of move, explore and transport that
772    passed junk to map command.  Could theoretically crash.
773  * Food need reported by starvation was one short for sectors without
774    food.
775  * Change land unit ammunition use back to what it was before 4.2.3.
776    This lets deities customize ammunition use independent of damage.
777    It also substantially reduces ammunition consumption at high tech.
778  * navigation and march enhancements:
779    - Sub-command 'f' now takes an optional ship / land unit number.
780    - Mapping sub-commands now take an optional ship / land unit
781      number.
782    - New sub-command 'd' to drop mines.
783  * Let minesweepers retreat at their full speed (missed in 4.3.6).
784  * SUPER_BARS cannot be harmed, so don't interdict them.
785  * Don't let trains and non-trains march together for now, because the
786    march code isn't prepared for that.
787  * New mapping flag 'n' to show nukes.
788  * Mapping flag '*' now shows nukes as well.
789  * New command nbmap to bmap around a nuke.  Overload command nmap to
790    map around a nuke when given a nuke argument.
791  * Fix an inconsistency that gave tactical bombers a small bonus
792    vs. flak when pin-bombing.
793  * Fix production to show the designation that actually produces, not
794    the designation as it is now (broken in 4.3.6).
795  * Fix accidental whitespace change in output of sdump, pdump and
796    ldump that crept into 4.3.5.
797  * Support user-defined sector types and products in custom tables,
798    not just customization of existing ones.
799  * Fix off-by-one bug in budget that used to be masked by budget
800    priorities until their demise in 4.3.6.  The bug could crash the
801    game on certain systems.
802  * Code cleanup.
803  * Info file fixes.
804
805 Changes to Empire 4.3.6 - Tue Jun 20 18:46:18 UTC 2006
806  * The shutdown command now terminates the server process correctly
807    even with LinuxThreads pthreads under Linux 2.4 and earlier.
808  * Cope with old versions of groff (broken in 4.3.0).
809  * You can now arm allied planes with nukes.
810  * Taking a nuke off a plane gives it to the sector owner again.
811    Feature was accidentally dropped in 4.3.3.  Recipient must be
812    allied.
813  * Naval path went bananas for impassable end sectors (broken in
814    4.3.1).
815  * New econfig key disabled_commands.
816  * New territory selector dterr, restricted to deities.  The territory
817    command defaults to it for deities.
818  * Let land units attack as long as they have positive mobility,
819    except for high-mobility terrain (mountains), where the rules
820    remain as they were: land units need to have all the mobility
821    charged for the attack, not counting combat and moving in to
822    occupy.  Rationale: Making sure your land units reach attack
823    positions with enough mobility left is a pain in the neck.
824    Requiring only positive mobility is friendlier, but allowed rushing
825    of mountains, so we make an exception there.
826  * Can typeset info pages as PostScript.  Result isn't exactly pretty.
827  * Support disabling of infrastructure in infra custom table.  Remove
828    redundant option DEFENSE_INFRA.  show command now shows only enabled
829    infrastructure.
830  * Fix crash on empty argument in bmap, lbmap, lmap, map, nmap, pbmap,
831    pmap sbmap, smap (broken in 4.3.1).
832  * New, simpler sector mobility cost formula:
833    - The basic cost is still a linear function of sector efficiency,
834      with customizable cost at 0% and at 100%.  The latter used to be
835      derived from the former.  The show command shows both parameters
836      now.
837    - Mountains are no longer a special case.
838    - Tweak costs: mountains now range from 2.4 to 1.2 instead of 2.174
839      to 1.304, highway, bridge head, bridge span and bridge tower
840      range from 0.4 to 0.001 instead of 0.2 to 0.001, and wilderness
841      is 0.4 flat instead of 0.6 to 0.4.  All sector types mortal
842      players can designate now cost the same at 0%.  That's a feature.
843    - Road infrastructure now reduces cost up to 90%, linear in road
844      efficiency (used to be close to that, but non-linear).  Same for
845      rail infrastructure, but 99%.  Adapted from Ice World V.
846    - Double land unit minimum cost to 0.02, to slow them down on
847      highways.
848    - Change land unit cost penalty in newly taken land to an extra 0.2
849      instead of a minimum of 0.2, to reduce penetration depth.
850  * Reduce bridge head defense and collect value to match highway's.
851  * sinfrastructure displayed bogus rail mobility costs when there was
852    no rail.
853  * Retreating engineers took full landmine damage instead of half.
854  * Fix socket creation code not to print a null pointer.
855  * Fix login option code not to search beyond end of table (broken in
856    4.2.21).
857  * Spy planes and satellites can no longer spot landspies.
858  * Spy planes can now spot surface ships at sea.  They can no longer
859    spot land units loaded on ships or land units.
860  * Fix train retreat mobility cost, and don't permit retreat off rail.
861  * Change maximum population to 100 for plains (was 49), mountains
862    (was 99), bridge spans and bridge towers (was 999), and to 1000 for
863    the other habitable sector types (was 999).
864  * Let minesweepers navigate at the speed their stats indicate by
865    letting them sweep on the move at no extra mobility charge.
866  * Reduce chance for planes to abort from 100-eff (if eff<80) to
867    80-eff.  This should make it easier to punch through air defense,
868    flak in particular, and increase the risk of getting shot down.
869  * Ship and land unit flak intensity is now proportional to efficiency.
870  * Ship and land unit flak intensity is no longer scaled by the tech
871    of the owner of the last thing firing.  It's still scaled by each
872    thing's tech.
873  * All ships and land units firing flak now spot the plane and are
874    spotted by the plane.  Previously, spotting stopped as soon as flak
875    maxed out.
876  * Inefficient land units were overcharged mobility when reacting.
877    Broken when Empire3 changed land unit mobility use not to depend on
878    efficiency, except for supply units.
879  * New journal file to log complete player input plus selected
880    important events.  Controlled by new econfig key keep_journal, off
881    by default.
882  * Fix unsafe shutdown on SIGINT and SIGTERM.
883  * Fix land unit path finding: paths weren't always cheapest (broken
884    in 4.0.2), and trains could be sent down paths without rail (never
885    worked).  Also fixes unit reaction path cost.
886  * The custom table reader can now deal with sector, item, product and
887    infra tables more comfortably.
888  * Remove option BIG_CITY.  Deities can customize the sect table to
889    get the same effect.
890  * Many more selectors can now be compared with names, not just
891    numbers.  This includes nations, e.g. census ?old=Mirkwood.  Does
892    not fully work for queer names like &&&.
893  * Let land units on missions support, just like ships.
894  * Don't let units loaded on a train react.
895  * Change update sequence to repair ships, planes and land units after
896    sectors produce.  This makes repairs use new avail instead of old.
897  * Let players stop and start units.
898  * Remove budget priorities.
899  * Make plane report easier to understand.
900  * Change land report to show carriers in the same format as plane and
901    nuke report do.
902  * Code cleanup.
903  * Info file and manual page fixes.
904
905 Changes to Empire 4.3.5 - Sun May 28 07:49:54 UTC 2006
906  * In conditionals, ~ compared to a string selector now stands for an
907    empty string.
908  * Change encoding of `not in any group' from " " to "".  This makes
909    fleet=~ work.  It also affects xdump.
910  * Fix plane capture code to clear wing.
911  * People now eat and starve exactly the same in sectors, ships and
912    land units.  There used to be small differences, and civilians and
913    uw loaded on land units didn't eat at all.  The starvation command
914    has been updated accordingly.
915  * Fix bug that makes it impossible to assault or board with land
916    units (broken in 4.3.4).
917  * Code cleanup.
918
919 Changes to Empire 4.3.4 - Thu May 25 05:46:10 UTC 2006
920  * Don't use non-portable groff features (broken in 4.3.0).
921  * Work around potential crash bugs in command argument access.
922  * Plug major information leak through nation selectors (broken in
923    4.2.21).  The fix unfortunately exchanges the meaning of xdump
924    nation and xdump country.  Sorry about that.
925  * Minimize redundancy between (mortal's) xdump nation and xdump
926    country.
927  * New nation selector rejects.
928  * xdump nation now shows foreign relations and no longer discloses
929    hidden relations.
930  * Fix crash bug in edit.
931  * Fix number of planes building in budget command (broken in 4.3.3).
932  * Selectors group, fleet, wing and army are now strings, and obvious
933    syntax like fleet#a works.  xdump also shows the strings now.
934    Units not assigned to a group currently have group string " ", but
935    that may still change.
936  * Don't fold conditionals to lower case, because it breaks valid
937    conditionals like fleet#A.
938  * Mobility cost of a plane sortie is no longer limited to current
939    mobility + 32.
940  * Various formulas no longer truncate or round intermediate results.
941  * Interdiction mission charged twice the normal mobility cost for
942    torpedoes.
943  * Fix sail not to interpret negative x-coordinates as unsail
944    argument.
945  * Improved configure script.
946  * Code cleanup.
947
948 Changes to Empire 4.3.3 - Tue May 16 21:35:47 UTC 2006
949  * power c can now show powerless countries.  power c * works.
950  * Fortresses now require 5% efficiency to return fire and interdict.
951  * Range of ship return fire and support fire no longer depends on
952    efficiency.
953  * Fix heap smash in login command client.  Remote hole!
954  * Properly destroy nukes on collapsing bridges.  Before, you could
955    rescue them by building a new bridge or arming them on naval
956    planes.
957  * Nukes are now numbered like other units:
958    - New selector type replaces selectors number and types.
959    - New selector plane points to plane armed with this nuke.
960    - New selectors effic, mobil, tech, group, opx, opy, mission,
961      radius.  Provided because all units have them; values are
962      currently not interesting.
963    - nuke command output redesigned.
964    - ndump output changed subtly: nukes are no longer sorted by
965      location, nukes in the same location no longer share id, and
966      nukes on planes are shown.
967    - transport nuke now works like transport plane.
968  * arm and disarm now accept the common plane syntax, not just plane
969    numbers.
970  * Fix arm to let you change an armed plane's air-burst/ground-burst
971    (broken in 4.2.6).
972  * territory no longer re-prompts when supplied with a bad argument,
973    it just fails.
974  * edit lets you edit stuff that is actually computed from other
975    state, like sector's coastal flag.  This makes no sense and is now
976    deprecated.  Stuff deprecated since 4.2.15 is now gone.
977  * Code cleanup.
978
979 Changes to Empire 4.3.2 - Thu Apr 27 17:59:58 UTC 2006
980  * Fix security units' raid at the update (broken in 4.0.0, fixed only
981    for 100% units in 4.2.7).  Back out 4.2.7's 2.5x deadliness
982    increase.  Make sure empty units don't kill anyone.
983  * Fix bug in player_init(), which was most likely fatal on 64 bit
984    hosts.  Broken in 4.3.0.
985  * Fix xdump not to disclose other countries' realms (new in 4.3.0).
986  * The order in which sectors were visited for `*' arguments disclosed
987    the real origin, fix.  Mapping commands used to work around this
988    bug, until 4.3.1 exposed it there as well.
989  * Code didn't compile on some systems.
990  * Fix edit plane not to truncate large values for keys 'a' and 'd'.
991
992 Changes to Empire 4.3.1 - Sat Apr 15 11:40:47 UTC 2006
993  * Fix check of game state on server startup (new in 4.3.0).
994  * sail now accepts a destination sector.
995  * Tend could send bogus bulletins (broken in 4.3.0).
996  * Plug memory leaks in mission command.
997  * Close loophole in navigate that allowed players to find all sectors
998    that are unfriendly or inefficient harbors or bridges.
999  * Server didn't start when default econfig was missing and user
1000    didn't supply one with -e (broken in 4.3.0).
1001  * Retreat condition 'h' (helpless) never worked, fix.
1002  * Fix retreating mine sweepers to use mobility for sweeping.
1003  * Fix retreating land units to hit mines with the same probability
1004    and to take the same damage as in normal movement.  Before,
1005    hit probability was higher, and damage was lower.
1006  * Ships could retreat into sectors owned by whoever made them
1007    retreat, but not in their owner's sectors.
1008  * Fix 'm' at the movement prompt of transport and test.
1009  * Fix march and test not to apply conditionals to sectors mapped,
1010    which led to spurious error messages.
1011  * Fix break not to respect conditionals.  The bug let players keep
1012    sanctuaries.
1013  * Fix retreat code not to respect conditionals.  Attackers could
1014    abuse this to suppress fleet and army retreat orders.
1015  * Fix retreat and edit to zero-terminate retreat paths.
1016    Theoretically abusable for gaining information.
1017  * Fix format string crash bugs in load, spy and bomb.
1018  * Fix the telegram editor: empty telegrams were broken in 4.2.21, and
1019    ~p before the first line of text never worked.
1020  * Fix ancient bridge building race condition that could break the
1021    test whether the player can afford the bridge.
1022  * Fix trade lot change detection in set command.  Probably abusable.
1023  * The pthread code now compiles under Solaris.
1024  * navigate and march now permit any whitespace between route and
1025    optional argument for radar, lookout, sonar, not just spaces.
1026  * Fix canal navigation (was broken in 4.3.0).
1027  * Info file fixes.
1028
1029 Changes to Empire 4.3.0 - Sun Mar 19 08:13:10 UTC 2006
1030  * version no longer pretends option SHIPNAMES still exists.
1031  * Remove files auth and ban.  They could be used to restrict client
1032    address and user.  Restricting user is useless, because players can
1033    send whatever they want.  Banning IPs is better done with a packet
1034    filter.  That leaves restricting deity IPs.  Provide new econfig
1035    key privip for that.  Apply it to session kill as well as login.
1036  * xdump escapes GUINEA_PIGS status:
1037    - xdump is now enabled unconditionally.
1038    - xdump sect now dumps selector coastal, because it can't be
1039      reliably computed from other xdump information.
1040    - New xdump realm and country.  Realm information is now stored in
1041      a separate file, with appropriate selectors.
1042    - Reviewed for completeness and information leaks.  See info xdump
1043      for remaining issues.  New treaty selector uid, nat selectors
1044      relations, contacts.  Removed useless selectors: news and lost
1045      uid, nat dayno.
1046    - Command syntax changed.
1047    - xdump opt is no more, option information is now in xdump ver.
1048    - xdump can now dump meta-data.
1049    - Header and footer changed to be more compact.  You now need
1050      meta-data to identify fields.
1051    - Bug fixes.
1052    - Documentation in doc/xdump.
1053  * New econfig key builtindir.
1054  * New econfig key custom_tables lets you customize configuration
1055    tables without recompiling.  Customizing tables other than unit
1056    tables is not recommended for now.  See doc/econfig for
1057    instructions.
1058  * Check configuration and game state are sane on server startup.
1059  * Remove option NONUKES and NEUTRON.  Deities can load a suitable
1060    nuke table to get the same effect.
1061  * Remove option DRNUKE.  Use econfig key drnuke_const to control
1062    whether nukes need research.
1063  * Disqualify land units from performing missions while loaded on
1064    ships or trains.
1065  * Fix dump for strings without terminating zero.
1066  * Fix login command option not to send an extra prompt.
1067  * zdone now displays information about demand update vetoing.
1068  * The Windows port now requires Winsock version 2.
1069  * Remove econfig key powe_cost.
1070  * version report now shows all the configurable settings of interest
1071    to players.
1072  * carg and lcarg now display people as well.
1073  * ldump now dumps civ and uw as well.
1074  * Fix dangling pointer dereference in dogfighting code.
1075  * Tell sector owner when partisans take over.  But don't disclose che
1076    casualties then.
1077  * emp_server, files, fairland now support options -h and -v.
1078  * Simplify baroque version numbering to a single version number.
1079    This affects output of version.
1080  * New show item and show news.
1081  * New build process:
1082    - Follow the usual steps: configure; make; make install.  The
1083      latter is optional.  The only file deities still have to edit is
1084      econfig.
1085    - Use GNU Autoconf for system configuration.
1086    - Use GNU Make for portability and features.
1087    - Support separate build trees.
1088    - Remake out-of-date dependencies automatically.
1089    - Remake out-of-date info files automatically.
1090    - Flatten info directory.
1091    - Formatted info files are no longer distributed in source tarball.
1092    - Use LWP only with UCONTEXT.  Autoconfiguring the other LWP
1093      low-level options doesn't seem to be worth the effort, as
1094      UCONTEXT should be pretty portable.
1095  * Fix use of freed memory in sail.
1096  * sail could let large ships enter big cities.
1097  * Fix reject and accept not to require contact.
1098  * Fix sharebmap and telegram to prompt for a missing first argument.
1099  * Fix report to align column research correctly for deities.
1100  * When the optional newspaper argument doesn't work because HIDDEN is
1101    enabled, complain instead of ignoring it silently.
1102  * When BLITZ is enabled, fairland no longer permutes country numbers
1103    in newcap_script so that start islands are ordered from top left to
1104    bottom right.
1105  * Minimize output format differences between options:
1106    - census shows column fall regardless of FALLOUT.
1107    - show nuke now shows column res regardless of DRNUKE.
1108    - report no longer suppress column status when HIDDEN is enabled.
1109      HIDDEN limits status information like for the country command.
1110    - relations column width differed depending on option SLOW_WAR.
1111      Always use the wider format.
1112  * Fix a bug in edit that suppressed the player notification telex on
1113    military reserve change.
1114  * Fix command dispatch not to let deities use commands that are
1115    declared not to be available to them.  The only command affected is
1116    break.
1117  * Fix the list command for visitor.
1118  * econfig key m_m_p_d no longer applies to deities.
1119  * Fix the origin command for country #0.  Allow moving origin to
1120    another country's origin.  Allow deities to reset origin to
1121    absolute 0,0.  This turns origin into a superset of the offset
1122    command.  Remove offset command.
1123  * Fix a bug that caused unpredictable flak damage when it should have
1124    been maximum damage (was broken in 4.2.19).
1125  * Don't store initial capital location, remove the associated nat
1126    selectors xstart, ystart.
1127  * Fix production command to consider resource depletion.
1128  * Fix justification of coordinate output in cutoff and mission.
1129  * Option UPDATESCHED is no longer optional.  Disabling it didn't
1130    work anyway.
1131  * Support IPv6.
1132  * Turn options into ordinary econfig keys.
1133  * New econfig key start_cash.
1134  * BTU regeneration now depends on the capital's work percentage.
1135  * nation now supports an optional argument that lets deities ask for
1136    somebody else's nation report.
1137  * Fix nation to display SANCTUARY instead of VISITOR for countries in
1138    sanctuary.
1139  * Fix capital to let you use a regained sacked capital without
1140    activating another one in between.
1141  * Don't move capital when it is sacked.
1142  * New ship capability canal, replacing obscure formula based on build
1143    materials.
1144  * You now need a capital to request a demand update.
1145  * power now ignores landspies.
1146  * Fix LWP stack checking.
1147  * Clean up LWP, drop dead machine-specific code, fix portability bugs
1148    in UCONTEXT code.
1149  * census now shows the old owner instead of `*'.  dump is unchanged
1150    to avoid breaking clients.
1151  * peek no longer prints the old owner.
1152  * When a bombed land unit retreated, collateral damage was applied to
1153    the wrong sector.
1154  * paradrop, drop and fly can no longer abandon the base sector.
1155  * Tending foreign ships now sends a bulletin to the owner.
1156  * Fix bug that permitted login for inactive countries, including ""
1157  * Fix tend for spies.
1158  * Change launch to fire all missiles selected at the same target.
1159    Previously, it prompted for a new target after each missile.
1160  * add, consider, build, launch and fire no longer re-prompt when
1161    supplied with a bad argument, they just fail.  Consequently, the
1162    build command no longer lets you list types you can build.  It
1163    points to the show command instead.
1164  * Fix add not to truncate country number.
1165  * Fix selector coastal to be accurate at all times.
1166  * Fix obscure bug in fairland: the sector added last to an island
1167    wasn't considered coastal.  Affected resource computation.
1168  * Fix sector wiping in add command.
1169  * Remove options NO_LCMS, NO_HCMS, NO_OIL.  They were broken in many
1170    ways.  Custom configuration tables should become a serviceable
1171    replacement eventually.
1172  * Client no longer freezes on long lines of server output.
1173  * Fix uninitialized signal mask bugs.
1174  * Fix Windows service code's treatment of -e.
1175  * Sub interdiction disclosed sub owner through news' actor selector.
1176  * country reports on all countries, but carefully limits information
1177    disclosed to mortals.  Output format changed.
1178  * Market no longer forces sellers to grant loans.
1179  * Fix potential crash bug in set command.  Friendlier prompt and
1180    diagnostics.
1181  * Substantial code cleanup and portability fixes.
1182  * Extend empfile abstraction to cover game configuration.
1183  * Overhaul of game state storage.
1184  * The above includes major contributions from Ron Koenderink.  Many
1185    thanks!
1186
1187 Changes to Empire 4.2.23 - Sun Oct 23 09:28:26 UTC 2005
1188  * Make version pretend option SHIPNAMES still exists, for the benefit
1189    of clients that still depend on it.
1190  * The change to conv in 4.2.22 could crash or compute incorrect
1191    maximum population.
1192  * Info updates missing in 4.2.22.
1193  * A few code cleanups.
1194
1195 Changes to Empire 4.2.22 - Tue Oct 11 20:23:51 UTC 2005
1196  * Log player login, logout and session kill.
1197  * Close loophole in assembly point rules that allowed players to find
1198    all unowned sectors.  The assembly point must now be owned by you
1199    or an ally, or you or an ally must have a ship there.
1200  * Don't let embarked land units fire flak.
1201  * Fix display of the last connection's host when the host name was
1202    not resolved.
1203  * Fix change command to accept full length representative (password),
1204    currently 19 characters.  It used to chop off after eight
1205    characters.
1206  * Non-recon missions no longer establish contact to owners of
1207    overflown sectors, because those missions do not identify the
1208    owner.  This matches info Hidden.
1209  * The following events now establish contact:
1210    - Catching a spy
1211    - Sighting a ship when toggle coastwatch is off
1212    - Spotting overflying planes
1213    - satellite spotting land units
1214    - lookout and llookout spotting ships, planes and land units
1215    - Any relations change
1216  * The country command's `temporary' state of disorder ended after
1217    ten years.
1218  * Telegram notifications could get lost in exotic circumstances,
1219    e.g. while a second client attempted to connect.  Abusable.
1220  * Remove option SNEAK_ATTACK.
1221  * Fix lboard not to let you board dead land units.
1222  * Fix stack smash in bomb, drop, fly, paradrop, recon and sail.
1223    Remote hole!
1224  * bomb, drop, fly, paradrop, recon and sail now deal with EOF
1225    correctly.
1226  * Fix fly to let the player abort the command at the last prompt.
1227  * Client no longer reads execute scripts in binary mode under
1228    Windows.
1229  * New econfig key listen_address.
1230  * econfig key port can now be a service name.  Service empire no
1231    longer takes precedence over econfig.
1232  * Client falls back to compiled-in host only if environment doesn't
1233    supply one, not if it can't be resolved.  Same for port.
1234  * Oil derrick could extract slightly more oil than was in the ground.
1235  * test command checked start sector for space and some other things
1236    instead of end sector.
1237  * convert now silently limits conversions to avoid exceeding maximum
1238    population.
1239  * shoot no longer limits you to 999 victims.
1240  * 4.2.19 broke pin-bombing commodities on some platforms.
1241  * Don't block on output while update is pending.  This is required to
1242    ensure the update can abort commands.
1243  * Commands submitted while the update is waiting for commands to
1244    abort now fail.
1245  * The force command no longer waits for the specified time.  It
1246    starts a scheduling thread instead, just like shutdown.
1247  * Correct grammar and punctuation in output of version.
1248  * Option SHIPNAMES is no longer optional.
1249  * Fix output of qorder and sorder for ships with sail path.
1250  * Don't change capital to agribusiness on retake.  From Pat Loney.
1251  * bdes prompt for new designation was messed up for empty bmaps.
1252  * Client now supports pipes under Windows.
1253  * Care for subtle Windows socket incompatibilities.
1254  * Fix strength command not to lie about units reacting into
1255    mountains.
1256  * strength now yields the processor periodically, to keep the game
1257    responsive.
1258  * Schedule commands more fairly.  Previously, a sufficiently fast
1259    player could starve out the others.
1260  * launch assumed plane maximum mobility 127 for calculating when
1261    satellites will be ready to use.
1262  * Drop support for for DCE threads.
1263  * Drop support for pthread implementations lacking pthread_kill().
1264    This includes ancient versions of OS X.
1265  * Code cleanups.
1266  * Minor info file fixes.
1267  * The above includes major contributions from Ron Koenderink.  Many
1268    thanks!
1269
1270 Changes to Empire 4.2.21 - Sat Jul 16 17:51:01 UTC 2005
1271  * Don't let threads block on output to another player thread's
1272    socket.  Such blocking violates basic design assumptions and can
1273    cause all kinds of grief.  In particular, it causes player session
1274    hangs under Windows with 4.2.20.  Broken since the introduction of
1275    flash and asynchronous telegram notification many years ago.
1276  * Threads sleeping until a specified time could return early under
1277    Windows.  This could cause double-updates.
1278  * Fix fallout damage (was broken in 4.2.19).
1279  * Fix show sector s (was broken in 4.2.19).
1280  * Fix deliver not to deliver friendly civilians into occupied
1281    sectors.
1282  * Fix mil duplication in board (was broken in 4.2.14).
1283  * Fix stack smash in lrange, shoot and execute.  Remote holes, and
1284    the last one doesn't even require authentication.
1285  * Fix crash bug in emp_config parsing.
1286  * Fix buffer overruns in turn and shutdown.
1287  * Fix second argument of shutdown.
1288  * tele and turn now abort on EOF.
1289  * Fix display of MOTD and game down message of maximum size.
1290  * Correctly support telnet line termination on input.  Previously,
1291    carriage returns could slip into ship names and such.
1292  * Fix flash not to lie about recipients that are just logging in.
1293  * Remove obscure login command list.
1294  * Convert client from obsolete termcap to terminfo, and clean up
1295    terminal handling.
1296  * New fairland option -h to print usage information.  Improved
1297    command line syntax diagnostics.  Exit unsuccessfully on unknown
1298    options.
1299  * fleet and army now copy retreat orders of the fleet's or army's
1300    first member with group retreat orders in the same sector.
1301    Previously, they used the retreat orders of the first fleet or army
1302    member, which is less than useful, and failed to take ownership
1303    into account, which is an abusable bug.
1304  * New xdump nation.
1305  * Fix xdump not to disclose other countries' losses.
1306  * Fix exit status of files program when it can't create files.
1307  * Support UTF-8 encoded Unicode in human-human communications.  This
1308    affects MOTD, game down message, telexes, announcements and flash
1309    messages.  See new doc/unicode for technical details.
1310  * New login command `options' for client/server option negotiation.
1311    See new doc/clients-howto for technical details.  The only option
1312    so far is UTF-8.
1313  * emp_client -u now requests UTF-8.  This requires a terminal that
1314    understands UTF-8.
1315  * Fix news for land unit defensive support.
1316  * Properly mark sea mines hit by retreating ships.  Unmark mines
1317    cleared by bridges.
1318  * Fix diagnostics for unknown selector names in conditionals (was
1319    broken in 4.2.20).
1320  * Fix selector name clashes: rename ship selector mobquota to mquota,
1321    land selector for reaction range limit from rad to rmax.
1322  * Fix Windows services for relative file names on command line or in
1323    econfig (was broken in 4.2.20).
1324  * econfig keys ship_grow_scale, plane_grow_scale and land_grow_scale
1325    are now float.  This gives deities finer control over maximum
1326    efficiency gain.
1327  * Fix production command for sectors with 60% efficiency.
1328  * Improve syntax of read for deities.
1329  * Code cleanups.
1330  * Some info topic names differed only in case, which loses on
1331    case-insensitive file systems, and is a bad user interface even
1332    when it works.  Change those names.  Rename deity command hidden to
1333    peek because its info topic clashed with that of option HIDDEN.
1334  * Thanks to Doug Wescott sheep are finally covered properly in info.
1335  * Documentation fixes.
1336  * Much of the above was contributed by Ron Koenderink.  Many thanks!
1337
1338 Changes to Empire 4.2.20 - Tue Mar 22 21:07:18 UTC 2005
1339  * When units in different sectors marched, only units in the sector
1340    with the highest-numbered unit were interdicted.  A marching
1341    non-spy made all marching spies visible to interdiction regardless
1342    of location.
1343  * Fix crash when interdiction sinks second ship in a sector.  Broken
1344    in 4.0.10.
1345  * Fix an ancient bug in simulation of level production that clobbered
1346    stack and could lead to low predictions, typically zero, which
1347    screwed up budget.  The bug had no effect until 4.2.19.
1348  * When a sector revolts, and there wasn't enough space to liberate
1349    all uw, the number of remaining uw got the wrong sign.  Broken in
1350    4.2.14.
1351  * Log and abort when LWP stack check detects stack smash.  Server
1352    option -s no longer implies -p.
1353  * The native Windows build now supports -p and -s.
1354  * The native Windows build now properly deals with ^C when running in
1355    the foreground.  It no longer prompts for a quit command on the
1356    terminal.
1357  * The meaning of server option -D in presence of -e is unclear.
1358    Other programs only support -e.  Remove option -D.  Use -e
1359    DIR/econfig instead of -D DIR.
1360  * New server option -v shows version information.
1361  * Fix the server's exit status with -h.  Broken in 4.2.19.
1362  * The linux-pthreads build failed to shut down on signals.
1363  * Fix threading bugs in the native Windows build that made shutdown
1364    unsafe and screwed up update aborting commands.
1365  * New econfig key pre_update_hook to allow automatic, safe backup
1366    right before the update.  See scripts/backup for an example.
1367  * The server now prints log messages to stderr as well when running
1368    in the foreground.
1369  * Fix potential buffer overflows in logerror() and lwpStatus().
1370  * Server now requires POSIX signals.  It no longer catches SIGUSR1.
1371  * Remove support for ancient versions of HP-UX.
1372  * Fix seeding of PRNG broken in 4.2.19.
1373  * Don't reseed the PRNG in commands, it hurts randomness and could be
1374    abused by crafty players.
1375  * The server now makes the data directory its working directory.
1376    This also gets rid of a bug that changed the file name of the
1377    sector, power, nation and lostitems file unless econfig could not
1378    be read.
1379  * The server now writes a pid file.  Thanks to Daniel O'Connor.
1380  * More user friendly server startup: more errors are detected while
1381    the server still runs in the foreground, which makes it possible to
1382    complain to stderr and to exit unsuccessfully.
1383  * Early log messages went to the log file in the default data
1384    directory, even though econfig specifies another data directory.
1385  * Specifying an econfig file on the command line that can't be read
1386    is now fatal.
1387  * Errors in econfig are now fatal.
1388  * The server now refuses to start when it can't open data files.
1389  * News are now sorted and expire sanely.
1390  * Conditionals can now compare strings as well.
1391  * Corrupted down and motd files could cause buffer overflows.
1392  * Fix recon to let player abort at the flight path prompt.
1393  * power no longer rounds worldwide numbers for deities.
1394  * power command failed to recognize deities with non-zero country
1395    number.
1396  * Change output of production command so that columns are aligned
1397    even for large values.  Replace column wkfc by more useful column
1398    avail.
1399  * neweff and production miscalculated work when mil exceeded
1400    population limit.
1401  * neweff miscalculated work when the population limit exceeded 999.
1402  * Fix capping of avail when a big city is torn down.
1403  * Fix a bug in fire that allowed players to find all submarine uids.
1404  * Maximum sector population is no longer hardcoded, and now covered
1405    by xdump.  Option RES_POP now affects mountains and plains as
1406    well.  From Ray Hyatt.
1407  * Fix fina and news not to ignore errors in conditions.
1408  * The native Windows build now requires Windows Sockets 2.
1409  * The native Windows build now supports multiple instances of the
1410    service.  The ability to supply additional startup parameters to
1411    the service has been removed.
1412  * Implement fairland command line parsing under Windows.
1413  * Improved fairland and emp_server usage message.
1414  * Code cleanups.
1415  * Minor info file and documentation fixes.
1416  * Much of the above was contributed by Ron Koenderink.  Many thanks!
1417
1418 Changes to Empire 4.2.19 - Thu Dec 23 20:24:24 UTC 2004
1419  * Fix order not to unload into full sectors.
1420  * Fix scrap not to dump stuff into full sectors.  Excess stuff is now
1421    destroyed.
1422  * Fix distribute not to conjure up a civilian when importing
1423    civilians from a dist center that doesn't have any.
1424  * Fix flak to resupply no more shells than actually needed.
1425  * Fix rounding error in shoot that could result in more people shot
1426    than actually there.
1427  * Fix info and apro error handling.  In particular, do not leak
1428    potentially sensitive information on the server to players.
1429  * info no longer shows a random matching page when the topic argument
1430    is ambiguous.  Instead, it lists all matching topics.
1431  * Embarked land units and overflying planes no longer spot each
1432    other.
1433  * Fix show command to show only sectors that players can designate
1434    (was broken in 4.2.18).
1435  * Fix a rounding error in production command column `max'.
1436  * Fix production command for overpopulated mountains and plains.
1437  * Fix tradeship ally cut to match documentation.
1438  * Fix plague, which was was broken in 4.2.14: it got stuck in stage I.
1439  * Fix a bug in aerial sonar where ships could mask submarines with
1440    the same number modulo 256.
1441  * Don't allow bombing of subs that were not detected.
1442  * MOTD and the game down message are now entirely separate: use `turn
1443    motd' for the MOTD, and `turn on' and `turn off' for the game down
1444    message.  `turn on' no longer lets you edit the MOTD.
1445  * Remove option NUKEFAILDETONATE.
1446  * Option ORBIT is no longer optional.
1447  * New option GUINEA_PIGS to control experimental stuff not ready for
1448    prime time.  If your deity enables this in a serious game, run!
1449  * Many xdump fixes.  xdump is now enabled by option GUINEA_PIGS.
1450  * New ship and land selectors rflags, rpath.
1451  * New ship selectors for order: xstart. xend, ystart, yend,
1452    cargostart, cargend, amtstart, amtend
1453  * New ship selectors for sail: mobquota, path, follow.
1454  * New news selector uid.
1455  * Implement command line parsing under Windows where it was missing.
1456  * emp_server and and files print a usage message on command line
1457    syntax errors.
1458  * Fix how emp_server exits after being panicked by a signal.  It can
1459    now dump core when this happens.
1460  * Fix bug in client that could crash it when a line of input starts
1461    with '?'.
1462  * Client now gets user name from environment variable LOGNAME if set,
1463    else from system.
1464  * The native Windows build can now run as a service.
1465  * Redirecting client input now works under Windows.
1466  * Code cleanups.
1467  * Don't confuse work with loyalty in info Citizens.
1468  * Minor info file and manual page fixes.
1469  * Much of the above was contributed by Ron Koenderink and Marc
1470    Olzheim.  Many thanks!
1471
1472 Changes to Empire 4.2.18 - Tue Sep  7 14:08:59 UTC 2004
1473  * Fix info to accept abbreviated arguments under Windows.  From Ron
1474    Koenderink.
1475  * Buying planes or land units loaded on something didn't work when
1476    that something moved.
1477  * Fix a bug that could produce update cascades with update policy
1478    UDP_TIMES.
1479  * Fix delivery and distribution to grant packing bonus only to
1480    efficient sectors, just like move.  Previously, delivery ignored
1481    efficiency, and distribution behaved as if it were an efficient
1482    sector without special bonuses.
1483  * New sector selectors loyal, access; ship selectors radius, access,
1484    xbuilt, ybuilt, builder, name; plane selectors radius, access,
1485    theta; land unit selectors radius, react, nland, access; lost
1486    selector id.
1487  * Fix sector selectors che, che_target; plane selectors att, def;
1488    nuke selector types; treaty selector exp; news selector time;
1489    commodity selectors type, xbuy, ybuy.
1490  * Option PLANENAMES is no longer optional.
1491  * Ensure config parameter variables and their description in
1492    configkeys[] are consistent.  Inconsistencies there caused bugs in
1493    the past.  From Marc Olzheim.
1494  * Complain if econfig file can't be read.
1495  * Better messages for errors in econfig file.
1496  * Remove unused econfig keys hard_tech and last_demand_update.
1497  * New econfig key news_keep_days to configure news expiry.
1498  * New econfig key anno_keep_days to configure announcement expiry.
1499  * Fix announcement expiry.  It leaked file descriptors and memory,
1500    and could corrupt the anno file.  From Ron Koenderink.
1501  * New command xdump: experimental extended dump.  Disabled for now.
1502  * Bankers no longer round down debts, and they collect interest for
1503    the time debtors are idling at sub-prompts.
1504  * Loan interest calculation was broken at the due date and after a
1505    last payment made at the due date.  With luck, debtors could abuse
1506    this to repay loans cheap (they couldn't gain cash, though), sharks
1507    to purchase loans cheap, and creditors to collect excessively.
1508  * Fix major bug in transport that allowed two cooperating countries
1509    to duplicate items.
1510  * Don't report interdiction damage twice when transporting planes.
1511  * Fix message for attempting to transport a plane in a sector not
1512    owned by the player.
1513  * Fix confusing diagnostics when refusing to improve defense because
1514    option DEFENSE_INFRA is off.
1515  * Simplify confusing code in budget.
1516  * Fix spacing in output of budget and show.
1517  * Change one-way plane sorties to match ordinary sorties: offer
1518    carriers regardless of the sector they're in, require carriers to
1519    be efficient.
1520  * Allow `realm #'.
1521  * Don't print owner of incoming missile twice when intercepting it.
1522  * Simplify constituent storage in product characteristics.
1523  * Replace remaining `variables' leftovers; mainly in unit
1524    characteristics.
1525  * Remove leading spaces in deity unit dumps.
1526  * Replace inappropriate uses of compile time constant ETUS by 60.
1527    Deities don't change ETUS, they change etu_per_update by editing
1528    econfig.  This nonsense dates back at least to chainsaw 3.31.
1529  * Change ship production (fishing and drilling for oil) to match
1530    sector production.  Ship efficiency and tech are now relevant, and
1531    all people on board work.  From Ron Koenderink.
1532  * Code cleanups.
1533  * Minor info file fixes.
1534
1535 Changes to Empire 4.2.17 - Mon Aug 16 16:21:53 UTC 2004
1536  * Fix seeding of PRNG under Windows.  The bug made updates occur at
1537    a predictable time in the update window.  From Ron Koenderink.
1538  * Close major loophole in drop that allowed players to determine
1539    whether an arbitrary sector is sea, allied land, or other land.
1540  * fly could fly civilians into occupied sectors.  For consistency
1541    with other means to move around stuff, this is no longer possible.
1542  * Don't allow flying to a carrier that doesn't have space for the
1543    planes.  Previously, planes that did this were teleported home,
1544    which could be abused.
1545  * Close loophole in bomb that allowed players to find all
1546    sanctuaries.
1547  * Fix move and explore not to crash when moving civilians to a sector
1548    without civilians, and interdiction destroys them all.  Found and
1549    debugged by Jeff Cotter.
1550  * Fix printing of messages entered with turn command.  '%' characters
1551    could cause havoc, even crashes.
1552  * Use sector's actual maximum population to compute chance of plague
1553    outbreak.  Previously, code used 9999 for big cities and 999 for
1554    other sectors, and info Plague said 999.  This makes all crowded
1555    sectors equally vulnerable, even mountains, plains, and inefficient
1556    big cities.
1557  * Oil derricks no longer drill and deplete more oil than they can
1558    hold.  From Ron Koenderink.
1559  * Version 4.2.15's coordinate and list parsing fixes reject trailing
1560    junk.  That's too strict.  Silently ignore trailing junk as long as
1561    it starts with whitespace.
1562  * Version 4.2.15's selector rewrite broke some type literals,
1563    e.g. `?des=n' was interpreted as `?des=newdes'.  Change to prefer
1564    type literals to selectors.
1565  * Nightly build patches game to get repeatable PRNG results.  From
1566    Marc Olzheim.
1567
1568 Changes to Empire 4.2.16 - Wed Jun 16 18:56:16 UTC 2004
1569  * Previous version broke sector production when part of the work is
1570    used for sector construction.  Fix courtesy Jeff Cotter.
1571  * Add rudimentary tests to nightly build.  From Marc Olzheim.
1572
1573 Changes to Empire 4.2.15 - Wed May 26 17:55:58 UTC 2004
1574  * test command no longer asks whether to abandon the sector.
1575  * explore command could generate a bogus `lost' record when it
1576    regains an abandoned start sector.
1577  * edit command now properly updates stats when editing tech level of
1578    ships, planes or land units.  A few of these stats can be edited
1579    separately, which doesn't make much sense, and is now deprecated.
1580  * edit command no longer accepts efficiency values that would destroy
1581    the edited unit.  Deities can still delete units by setting the
1582    owner to zero.
1583  * upgrade command used to charge an amount of avail that didn't match
1584    info upgrade.  Neither the implemented nor the documented amount
1585    made much sense.  Change it to 15% of the full build cost.  Rewrite
1586    info upgrade.
1587  * Commands upgrade and build could be off by one when reporting
1588    required avail.
1589  * upgrade command reported rounded cost but charged unrounded
1590    cost.  Round cost of upgrade down to match behavior of build.
1591  * Upgrading planes now preserves range when it is less than the
1592    maximum range.  It used to set it to the new maximum range.
1593  * show bridge and show tower no longer claim bridge building requires
1594    `workers' (whatever that is), since it doesn't.
1595  * Replace option ROLLOVER_AVAIL by econfig parameter
1596    rollover_avail_max, which is the maximum amount of avail that rolls
1597    over.  Previously, avail was limited after rollover, and even when
1598    ROLLOVER_AVAIL was off.  Fix that.
1599  * Ships weren't always charged mobility for firing with option
1600    NOMOBCOST off.
1601  * Fix shell use of return torpedoes.
1602  * designate no longer complains twice about deity only designations.
1603  * Ensure designate zaps efficiency only when sector type really
1604    changes.
1605  * Fix strength to always report mines to deities.
1606  * Remove option SHIP_DECAY.
1607  * Fix bug in sonar that could crash or yield unpredictable results
1608    near the true origin.
1609  * Fix buffer overflow in flash and wall.
1610  * Fix wall not to strip out first word of message.
1611  * Change market and order to use item types instead of mnemo
1612    characters internally.
1613  * Market now reports sales with full item names instead of single
1614    letter codes.
1615  * buy now requires first argument to be an item name, as documented.
1616  * production command handled production backlog incorrectly, failed
1617    to limit production for production efficiency greater than one,
1618    e.g. agribusiness, and incorrectly limited raw material
1619    consumption.  Also fix a rounding error.  With help from Ron
1620    Koenderink.
1621  * Sector work was accidentally truncated to even.
1622  * Fix coordinate parsing for large numbers when WORLD_X or WORLD_Y
1623    don't divide SHRT_MAX+1.
1624  * Properly diagnose over-long unit lists.
1625  * Rewrite selector code.  Old code let players smash the stack by
1626    supplying too many conditions.  New code properly rejects ambiguous
1627    abbreviations and prefers exact matches.  Selectors with names that
1628    collide with types, like land units' rad and spy, now work.  Selectors with
1629    non-integral values, like land units' att, now work.
1630  * survey used to display hundreds for everything but variables.  Now
1631    it displays hundreds only for values that can be large.
1632  * Rewrite info survey.  Document ability to survey properties other
1633    than items and resources.
1634  * Rewrite info build, since it was inaccurate and poorly structured.
1635  * Fix info fire on required military.  From Marc Olzheim.
1636  * New fairland argument -R to set the PRNG seed.  Print the seed.
1637    This allows you to recreate the same world again.
1638  * New facilities to deal with internal errors.  These crash when the
1639    server is started with -d, which is appropriate for debugging, and
1640    potentially disastrous for running a real game.
1641  * Automated nightly builds.
1642  * Code cleanups.
1643
1644 Changes to Empire 4.2.14 - Mon Mar 22 09:04:12 UTC 2004
1645  * Options NEWPOWER, NEW_STARVE and NEW_WORK are no longer optional.
1646  * Gripe about unknown options in econfig.
1647  * Remove option GRAB_THINGS.
1648  * Utility program files takes new option -f.
1649  * Remove utility programs land, ore and perfect, which don't compile
1650    since 4.2.0 (Oct '98).
1651  * fairland no longer warns when it added resources, but when it
1652    didn't.
1653  * Fallout code could claim destruction of more items than actually
1654    existed.
1655  * Fix recursive resupply (resupply from supply land unit triggering a
1656    resupply of the land unit) when just testing for how much can be
1657    resupplied.  The bug could have led to insufficient resupply.
1658  * Fix recursive resupply not to consume all fuel in supply units.  No
1659    supply units consuming fuel exist in the stock game.
1660  * Limit delivery and distribution thresholds to ITEM_MAX (9999).
1661    Distribution threshold were previously limited to 10000, and
1662    delivery thresholds to 65528.
1663  * Limit items in sectors to ITEM_MAX (9999).  Commands give and buy
1664    used to limit to 9990.  Market transactions and commands explore,
1665    move, drop and fly to 32767.  Limiting in autonav code (order
1666    command) didn't work.  Item delivery used to stop at 9990,
1667    distribution at 9999.  Food growing and sector production used to
1668    stop at 9999.  Grind, assault lunchboxes, demobilization, mine
1669    sweeping and che liberating uw could theoretically attempt to
1670    increase items beyond 65535, which would have been ignored
1671    (destroying the increase).
1672  * Properly saturate fallout at FALLOUT_MAX (9999).  Previously,
1673    fallout increases behaved inconsistently.  Increases beyond 65535
1674    could get ignored, or fallout could saturate at 9999, or it could
1675    overflow at 65536 (that would take quite some nuking, though).
1676  * Properly saturate mines at MINES_MAX (65535).  Previously, a mining
1677    operation that would have gone beyond 65535 was ignored.
1678  * Fix `are we loading or unloading' tests for load, unload, lload and
1679    lunload.
1680  * Fix editing of land unit attack and defense values.  Implement
1681    editing of ship defense values.  Contributed by Ron Koenderink.
1682  * edit now edits che number and target separately.
1683  * Fix edit to properly extend unit files.  Contributed by Ron
1684    Koenderink.
1685  * Major internal reorganisation: Sectors need space for items,
1686    deliveries and distribution thresholds.  To save space, the
1687    ancients invented `variables': a collection of key-value pairs,
1688    missing means zero value, space for `enough' keys.  This
1689    complicates the code, as assigning to a `variable' can fail for
1690    lack of space.  Over time, `enough' increased, and for quite some
1691    time now `variables' have been *wasting* space.  Replace them,
1692    except in unit characteristics, where they are read-only, and will
1693    be replaced later.  This also removes misfeatures like plague
1694    outbreaks silently deleting deliveries.
1695  * Remove disabled commands dissolve and mult.  Remove configuration
1696    parameters minmult and maxmult.
1697  * trade command indexed an array out of bounds when attempting to
1698    display the plague as commodity.  Fix.
1699  * New make goal interix.  Contributed by Ron Koenderink.
1700  * The type selector now prefers an exact match to a partial match.
1701    ?type=sb now selects sb, not sbc, even when sbc happens to be found
1702    first.
1703  * Value of selector sell was always zero, remove it.
1704  * Clean up selector code.
1705  * satellite now displays all sectors owned by other players, and none
1706    else.  It used to display all but sea, mountains, sanctuaries,
1707    wasteland and wilderness.
1708  * map commands now display wilderness and plains owned by other
1709    players as '?'.  Radar commands now display all wilderness and
1710    plains as '?'.
1711  * Fix power timestamp for Windows.  Contributed by Ron Koenderink.
1712  * Make client abort the current command on ^C under Windows, as
1713    everywhere else.  Contributed by Ron Koenderink.
1714  * Command line parser interpreted trailing whitespace as an another
1715    (empty) argument.  Ignore it instead.
1716  * Properly declare stuff in headers, include proper system headers.
1717    Remove all nested external declarations.  Source code is now fully
1718    prototyped.  Enable appropriate gcc warnings.
1719  * Fix several type errors.  Some may have been show-stoppers on big
1720    endian machines where sizeof(long) != sizeof(int).
1721  * Remove pre-ISO C compatibility cruft (hey, it's been only fifteen
1722    years).
1723  * Various portability fixes.  Some bugs may have been show-stoppers
1724    when sizeof(long) != sizeof(int).  With help from Marc Olzheim and
1725    Ron Koenderink.
1726  * Move some code to more logical places.  Remove some unused code,
1727    some of which was hard to port.
1728  * The files program could print error messages to a log file in some
1729    circumstances.  Make it print to stderr.
1730  * deliver can now change direction without changing the threshold.
1731  * deliver now provides appropriate context when prompting for
1732    thresholds.
1733  * Login command play no longer ignores up to two arguments if there
1734    isn't a third one.
1735  * Fix payoff (was broken in 4.2.13).
1736  * Capability fish didn't work together with capability oil.
1737  * Fix and clarify plague outbreak chance in info Plague.
1738  * Fix RES_POP maximum population in info Research.
1739  * Fix info telegram and info announce on ~ escapes.
1740  * Update info Selector to match code.
1741  * Document all undocumented unit capabilities and stats.
1742  * Document submarines' ability to carry landspies.
1743  * Fix info shoot on security units.
1744  * Various small info file fixes.
1745  * Many fixes in the troff macro package for info files.
1746  * Many fixes for translating info files to HTML.
1747  * Many info file markup fixes.
1748
1749 Changes to Empire 4.2.13 - Fri Feb 13 22:12:36 UTC 2004
1750  * Source code reindented and cleaned up somewhat.
1751  * Various small info file fixes.
1752  * Fixed change requiring 254 BTUs even when not charging any
1753    (BLITZ).
1754  * Fixed tactical non-marine missile crash.
1755  * Fixed spy unit detection chance for eff<100.
1756  * Fixed output of sorder.
1757  * `edit' can now work non-interactively.  Contributed by Ron
1758    Koenderink.
1759  * Fixed and extended edit for sectors.
1760  * Fixed use of errno.
1761  * Minor security fix: doconfig now writes example auth entry as
1762    comment.
1763  * Fixed reading of country name and password in client for Windows.
1764  * Replace use of some obsolete non-portable library functions by
1765    portable equivalents.
1766  * designate now warns about redesignated capital only when it
1767    succeeds in redesignating the capital.
1768  * attack could be off by one when reporting required unit mobility.
1769  * Fixed command matching.  Unique prefixes were not always
1770    recognized, and junk suffixes were ignored.
1771  * Removed bestdistpath.  bestpath yields the same results.
1772  * Renamed lstats to lstat for consistency and to match info page.
1773  * Fixed non-portable fd_set * arguments of select().
1774  * New `map' flag `h' to highlight own sectors.  Contributed by Marc
1775    Olzheim.
1776  * Fixed `sabo' reporting damage to player in deity coordinates.
1777  * New option ROLLOVER_AVAIL.  Contributed by Drake Diedrich.
1778  * Fix Windows server shutdown on reading "quit" from stdin.
1779  * Land units now fortify automatically when mobility plus growth
1780    exceeds the maximum.  With code from Marc Olzheim.
1781  * Wandering che are less predictable.
1782  * Land units no longer regenerate mobility faster while it is
1783    negative.
1784  * Fixed emp_client -k.
1785  * No longer allow pirates to ferret out where a ship was built.
1786  * Fixed map commands to reject bmap flags `t' and `r' instead of
1787    turning into bmap.
1788  * Fixed lmine shell resupply.
1789  * News no longer call all sub-launched missiles nuclear.
1790  * Incoming missiles are now reported with coordinates.
1791  * Removed some code that served no purpose except crashing on
1792    Windows.
1793  * Fixed Mac OSX and AIX build problems.
1794  * Don't resolve player IP addresses for now, because it can crash
1795    with certain versions of GNU libc.
1796  * Fixed recording of lost nukes.
1797
1798 Changes to Empire 4.2.12 - Mon Aug 18 16:54:21 MDT 2003
1799  * Corrected contact information for Wolfpack.
1800  * Sector isn't abandoned until move or explore is complete.
1801  * Fixed multiple cases where return value of getstarg() was
1802    used without being checked which crashed the server.
1803  * Used stdarg.h instead of varargs.h.
1804  * Call only_subs and save result before mission frees attacker
1805    list.  Call with free list could cause server crash.
1806  * Fixed spy sat map for units on opposite side of world wrap.
1807  * Don't sleep in main thread when called from signal handler.
1808  * Fixed error checking in pthreads.
1809  * Properly detach pthreads.
1810  * Pass unlocked mutex to pthread_mutex_unlock.
1811  * Cope with interrupted sleep in pthread empth_sleep to prevent
1812    double update.
1813  * Added server configurable update window.
1814  * Initialized variables passed to setsockopt in accept.c.
1815  * Fixed bug where sharing bmap with uncontacted country crashes
1816    server.
1817
1818 Changes to Empire 4.2.11 - Sun Sep  1 09:54:59 MDT 2002
1819  * Added compile option for the Mac OSX architecture.
1820  * Fixed bug in cargo where unit array was indexed by shp_maxno
1821    instead of lnd_maxno.
1822  * Fixed bug in reject where aborting the command crashes the
1823    server.
1824  * Can't buy land units into enemy headquarters.
1825  * Added sabotage command and commando unit.
1826  * Spies moving by themselves will not trigger interdiction.
1827  * Fixed error in map distance calculation that caused errant
1828    interdiction.
1829  * Ships going under -127 mobility will be set to -127 mob and
1830    not roll over to positive mobility.
1831  * Corrected plane cost in info Maintenance.
1832  * Changed error message for loans rejected for being too big.
1833  * Land units will take casualty damage proportional to their
1834    ability to carry mil.
1835  * Fixed bug where "route i *" crashes server.
1836  * Cannot upgrade planes in orbit.
1837  * Fixed bug in declare with deity aborting command at last
1838    prompt crashes the server.
1839  * Coastwatch notify works with NO_FORT_FIRE option.
1840  * Thread that kills idle connection will charge player for
1841    minutes the player was logged on.
1842  * Removed separate sendeof at end of execute from emp_client
1843    that logged players off on certain platforms.
1844  * Updated player idle counter during read prompt so players
1845    wouldn't be kicked off during long flashes or writing telegrams.
1846  * LOSE_CONTACT will work as advertised.
1847  * Allied units marching through 0 mobility conquered sectors
1848    are charged at least LND_MINMOBCOST.
1849
1850 Changes to Empire 4.2.10 - Mon Aug 13 14:34:39 MDT 2001
1851  * Assault can reinforce own sector when SLOW_WAR is enabled.
1852  * emp_client no longer converts lines into tags but still verifies executes,
1853    pipes, and file redirect match players input.
1854  * Added pboard command to capture enemy planes in your territory.
1855  * Declaring war when at Sitzkrieg won't return relations to Mobilizing.
1856  * Declaring war won't charge money if you're already Mobilizing.
1857  * Added multiple territory fields.
1858  * "show nuke build" displays the proper avail.
1859  * retreating land units will only retreat to sectors owned by the player
1860    that owns the unit.
1861  * added hard cap of "250 + easy" to limit_level.
1862  * education p.e. calculation divides edu constant by etu per update.
1863  * Added patch for Linux for the PowerPC.
1864
1865 Changes to Empire 4.2.9 - Sun Jan  7 15:49:13 PST 2001
1866  * Fixed data corruption when bogus target gets fired upon.
1867  * Increased size of ancillary stacks to prevent stack overflow.
1868  * Changed all references to empire.cx.
1869  * Ships, planes, and land units lost to lack of maintenance will now be
1870    lost.
1871  * No longer allowed to sack deity's capital.
1872  * Accuracy calculation in land unit support was backwards.
1873  * Corrected formula for likelihood of plague in info Plague.
1874  * Fixed files to correctly size map and bmap files from econfig file.
1875  * No longer allowed to add country 0.  It corrupts deity country.
1876
1877 Changes to Empire 4.2.8 - Mon Oct  9 17:35:35 MDT 2000
1878  * Fixed range in radar.t and Sector-types.t.  Maximum range at infinite
1879    tech is 16.
1880  * Changed so that player can't drop civilians into occupied sectors.
1881  * Fixed bug that crashes update if etus/update is less than 8.
1882  * Fixed sometimes not reporting overflights
1883  * Fixing flak for units/ships to be in all sectors as they should be
1884  * Updated order of firing flak in Flak.t.
1885  * Fixed 80% efficient planes on ships must be maintained.
1886  * Fixed initial MOB_ACCESS check thread sleep time was set by an uninitialized
1887    variable.
1888  * Removed "TEMPORARILY DISABLED" message from mission command for escort
1889    missions.  Escort missions have been re-enabled since 4.0.15.
1890  * Using sonar from the navigate command will print the sonar map.
1891  * Eliminated annoying error messages when using navigate with conditionals.
1892  * Fixed Technology.t to correctly add 1 before taking the logarithm.
1893  * Fixed bug that allowed players to steal opponents maps.
1894  * Put time limit for bidding on market and trade in econfig file.
1895  * Moved hours file information into econfig file.
1896  * Added comments on setting update policy in econfig file.
1897  * Added logging of cases where write extends data file by more than one id.
1898  * Option MARKET is turned off by default.
1899
1900 Changes to Empire 4.2.7 - Fri Mar 10 18:41:04 PST 2000
1901  * Added new NF_SACKED flag to indicate when a country has had it's
1902    capital sacked.  This flag is only cleared when the country actively
1903    redesignates it's capital using the "capital" command, and changed
1904    capital.t to reflect this (no more re-sacking after an update if the
1905    country doesn't reset and repeating until they are out of cash.)
1906  * Added land unit to edit command for planes.
1907  * Added nuketype to edit command for planes.
1908  * Changed so that if the leader of a group of units is a train, the
1909    railways are used for bestpath instead of roadways.
1910  * Changed mission command to also print reaction radius of reserve
1911    missions when set for land units.
1912  * Changed Flak.t to reflect guns having to be loaded onto a land unit
1913    for flak to fire.
1914  * Changed so that visitor countries cannot change their name or password.
1915  * Changed so that you cannot upgrade deity planes, ships or units.
1916  * Changed so that you know where missions are flown from.
1917  * Changed so that the airport owner you fly a mission from is informed.
1918  * Changed so that preperations for takeoff are reported to the owner of
1919    the sector, ship or unit a plane is taking off from if it is not owned
1920    by the owner of the plane.
1921  * Changed so that when a sector reverts during a guerrilla revolt, the
1922    mobility is not reset.  When MOB_ACCESS is not enabled, this used to mean
1923    you would always get at least an updates worth of mobility.  With
1924    MOB_ACCESS, sectors that reverted during the update were useless, since you
1925    got no mobility for a long time.  This fixes that problem, and makes che
1926    more useful as well.
1927  * Changed so that air defense missions don't always send up every plane in the
1928    area, but instead always send up at most two times the number of incoming
1929    planes (for each interdicting country.) This helps to stop 1 plane from
1930    stripping the mobility from 25 air defense planes all at once, but doesn't
1931    limit it to n+1 as there is for regular interception.
1932  * Clarified deity reversion of sectors in Sector-ownership.t
1933  * Clarified production efficiency and added pointer to "show sector cap"
1934    in Product.t
1935  * Clarified nuketype selector for planes in Selector.t
1936  * Clarified that fortifying units does not affect mission status in info
1937    pages for mission and fortify.
1938  * Clarified fuel syntax upon error in fuel command in empmod.c.
1939  * Cleaned up comments causing minor complaints in some builds.
1940  * Fixed bug in loans where you could collect on proposed loans.
1941  * Fixed production command to be more accurate (though it *still* has some
1942    rounding errors, it's better.)
1943  * Fixed potential memory leak in air defense missions.
1944  * Fixed bug where you couldn't pinbomb some commodities if other commodities
1945    didn't already exist in the sector.
1946  * Fixed bug where you couldn't build 0 crew planes without military in the
1947    sector.  (This is different from needing at least 1 military to build all
1948    planes that need a crew which introduced another related bug earlier.)
1949  * Fixed bug where scrapping land unit 0 could cause erroneous transfer
1950    messages to be displayed for deity owned planes.
1951  * Fixed bug where land units on ships in a sector taken over were blown
1952    up or captured.
1953  * Fixed bug where planes on ships in a sector taken over were blown up
1954    or captured.
1955  * Fixed bug in sdump printing origx and origy in deity coordinates.
1956  * Fixed bug in satellites showing wrong sectors (sometimes) when using the
1957    optional arguments.
1958  * Fixed bug in launch showing wrong satellite target (showed asat instead
1959    of the target satellite.)
1960  * Fixed bug where you could gain information not normally available using
1961    the "fire" command to determine sector type information.
1962  * Fixed bug in market/trade creating extra money when loans are taken out.
1963  * Fixed problem with land units not being reported sunk after being sunk
1964    on a ship that was nuked or wastelanded in a sector.
1965  * Fixed problem with Spies.t using "llook" instead of "llookout".
1966  * Fixed problem in lwp/arch.c including jmp_buf.h instead of setjmp.h
1967    on some Linux boxes.
1968  * Fixed problem with plague infection being way too high in cities when
1969    the BIG_CITY option is enabled.
1970  * Fixed bug in edit command getting confused with arguments.
1971  * Fixed bug in ask_move_in_off asking you to move in a negative number of
1972    troops (hey, it could happen. :) )
1973  * Fixed bug in add command not keeping flags or relations initially correct.
1974  * Fixed bug in torpedo command sometimes telling victim about torpedo
1975    sightings even when way out of range.
1976  * Fixed bug in spy command not reporting planes in adjacent sectors, as well
1977    as not formatting them properly when reporting them.
1978  * Fixed bug in satellite with noisy transmission causing a potential
1979    crash of the server with non-100% efficient satellites.
1980  * Fixed potential crashing of the server during satellite display when not
1981    calculating distances to ships and units correctly.
1982  * Fixed bug where planes in non-allied sectors, ships and units could be
1983    used on missions.
1984  * Fixed bug where planes on the trading block could be used on missions.
1985  * Fixed bug where planes and units that get traded don't have mobility set
1986    correctly when using MOB_ACCESS option.
1987  * Fixed bug which made security units virtually useless.
1988  * Fixed access times and mobility not being set right when building planes,
1989    ships, units, bridges and bridge towers when MOB_ACCESS is enabled.
1990  * Fixed minor formatting problem with launch of satellites.
1991  * Fixed minor formatting problem with planes with greater than 999 tech.
1992  * Fixed minor formatting problem with ships with greater than 999 tech.
1993  * Fixed problem with "llook" showing up in TOP info file.
1994  * Fixed problem with lwp Makefile choking on NT builds with clean target.
1995  * General cleanup of potentially ambiguous statements.
1996
1997 Changes to Empire 4.2.6 - Fri Jun  4 05:55:20 PDT 1999
1998  * Added "TECH_POP" as an option where technology costs more to make
1999    as your population grows past 50K civilians.  It is disabled by
2000    default.
2001  * Changed "produce" command to accurately print what the true p.e. is.
2002  * Changed "update" command to display if mobility updating is enabled for
2003    MOB_ACCESS option.
2004  * Fixed bug where toggling off the coastwatch flag also turned off
2005    forts firing on hostile ships coming into range.
2006  * Fixed bug where assaulting your own land would violate any treaties
2007    you have where assaults are a violation.
2008  * Fixed bug where all planes (even those without need for a crew, such
2009    as missiles) needed at least 1 military to build.
2010  * Fixed bug where when a ship sinks during the update due to lack of maint,
2011    land units and planes on it were left stranded.
2012  * Fixed bug where when a land unit dies during the update due to lack of
2013    maint, land units and planes on it were left stranded on it.
2014  * Fixed bug where nukes could be lost due to MOB_ACCESS updating mobility
2015    while arming.
2016  * Fixed bug in "show sector capabilities" not showing products correctly.
2017  * Fixed bug in "show tower build" printing "bridges" instead of "bridge
2018    towers".
2019  * Fixed bug in sectors that don't revolt not showing up as lost items.
2020  * Fixed bug where maps with an X of exactly 200 is not drawing third line.
2021  * Fixed bug where MOB_ACCESS was not updating the mobility just before
2022    the update.
2023  * Fixed bug in the way treaties are examined and sometimes produce
2024    wrong results.
2025  * Fixed edit to allow creating negative mobility for sectors.
2026  * Fixed setsector to allow creating negative mobility for sectors.
2027  * Fixed bug where when writing out the value of a sector that had
2028    negative mobility and was damaged in combat, mobility was being
2029    set back to 0.
2030  * Fixed Taxes.t info page to reflect that captured civvies only pay
2031    1/4 taxes.
2032  * Fixed Technology.t info page to reflect TECH_POP option.
2033  * Fixed navigate.t info page to reflect that only ships in the fleet
2034    in the same sector that are fired upon have damage divided up.
2035  * Made techlists toggle on by default (so things are shown in order of
2036    technological advances.)
2037
2038 Changes to Empire 4.2.5 - Mon Mar  1 06:42:24 PST 1999
2039  * Added optimization to increasing mobility to check if an object is
2040    already at max mob, just return since it can't be increased.
2041  * Added "-ltermcap" for client libs for hp build (it was already in
2042    hpux build.)
2043  * Added clearing of telegram flags after the update so that the next
2044    telegram is flagged as new and not part of the update.
2045  * Fixed Update-sequence.t to reflect MOB_ACCESS.
2046  * Fixed bug where fortification amount was not being limited to
2047    maximum mobility for land units (land_mob_max).
2048  * Fixed bug where land unit fortification strength was being calculated
2049    by using 127 instead of land_mob_max.
2050  * Fixed bug where scrapping land units was creating military.
2051  * Fixed description of sect_mob_neg_factor in econfig file.
2052  * Increased speed of PT boats.
2053
2054 Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
2055  * Added check to make military values match up correctly for land
2056    units.
2057  * Fixed bug in doconfig not putting ipglob.c in the right place.
2058  * Fixed bug where attacking deity sectors will violate a treaty.
2059  * Fixed newspaper.t information file.
2060  * Fixed potential bug in fixing up timestamp information when restarting a
2061    game with MOB_ACCESS turned on.
2062  * Fixed bug in explore command not setting mobility to correct
2063    value when MOB_ACCESS was enabled.
2064  * Fixed bug in enlist setting mobility incorrectly sometimes.
2065  * Added doc/backup file for deities which recommends how backups and
2066    restores of the data directory should be done.
2067
2068 Changes to Empire 4.2.3 - Wed Jan 13 06:02:35 PST 1999
2069  * Added linux-pthreads target and build for using pthreads under Linux.
2070  * Added NO_FORT_FIRE option which disables the ability of forts to
2071    fire when enabled.
2072  * Added more error checking and recovery for corrupt data files.
2073  * Changed alphapos target to alpha-pthreads for better clarity.
2074  * Changed fairland to allow 0 sector distance to other islands and
2075    continents (James Risner)
2076  * Changed "frg" and "dam" land unit stats to "rng" and "fir" so they
2077    match the way ships are described (since this is how they really work.)
2078  * Changed Unit-types.t to now describe "rng" as firing range of a unit,
2079    and "fir" as the number of guns that a land unit fires.
2080  * Cleaned up misc. build warnings.
2081  * Changed artillery damage to be 5 + d6 per gun firing from just d6
2082    per gun firing and updated Damage.t to reflect this change.
2083  * Changed artillery firing ranges to be like ships ranges - divided
2084    by two, and modified them to make more sense.
2085  * Changed artillery units to be "slightly" :) more powerful.
2086  * Changed "cavalry" unit to tech 30 and lowered mil content to 20.
2087  * Changed "artillery" unit to tech 35.
2088  * Changed so that guns are no longer required to build units, and
2089    that guns must be loaded onto artillery units for them to fire.
2090    Client developers note: the show command has not changed yet to
2091    remove the 'guns' column (since guns are no longer required) but
2092    will in a future revision (possibly 4.2.4) so "be prepared" for
2093    "show land build" to change. :)
2094  * Fixed landunitgun to handle all the damage calculations like it should.
2095  * Fixed bug sinking planes when the ship they are on sinks.
2096  * Fixed bug destroying planes when the land unit they are on is destroyed.
2097  * Fixed bug where land units could fire support without enough military.
2098  * Fixed bug in abandoning sectors by marching out a land unit where it
2099    would not let you sometimes (uninitialized variable problem.)
2100  * Fixed gets problem in files.c (James Risner)
2101  * Fixed bug in determinig operations range of a ship.
2102  * Fixed bug in building planes where you could manufacture military.
2103  * Fixed warnings in threading package(s).
2104  * Fixed fire.t to reflect new firing changes.
2105  * Fixed lstat.t to reflect new firing changes.
2106  * Fixed sstat.t to reflect the way things really work.
2107  * Fixed Ship-types.t to reflect the way things really work.
2108  * Fixed the way shutdowns work to hopefully better protect data files.
2109  * Fixed bug in attacking when sector mobility is less than 0 and it would
2110    prompt for attacking with a negative amount of military.
2111  * Fixed typo in fire.t stating wrong parameters for firing from a sector.
2112  * Fixed bug in client when it prompts for country name it was putting
2113    an extraneous end of line on the end that needed to be stripped off.
2114  * Fixed problems running on Linux running on an Alpha machine.  Thanks
2115    to Rocky Mountain Internet and Jeremy A. Cunningham for giving us time
2116    on a machine to work out the bugs.  (Note that the only build that
2117    works on Linux/Alpha is the linux-pthreads)
2118
2119 Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
2120  * Added some code optimizations into the update code when building paths.
2121  * Added some new cacheing for building paths to help speed up updates.
2122  * Added so that you can use "name" and "password" with the change command
2123    as well as "country" and "representative".
2124  * Added flag to power command so that if you are a deity and enter
2125    a negative number of countries you want to see, you see the power chart
2126    for that many countries without power numbers on the next line.  Only
2127    useful for deities that want to see the chart un-broken up by that line.
2128  * Added new functionality to fortify command.  You can now use a negative
2129    fortification value to cause the unit to be fortified and leave at
2130    least that much mobility on the unit. I.E. "fort * -67" will fortify
2131    all units and make sure the mobility of each unit doesn't go below
2132    67.  If the mobility is already below that level (or equal) the unit
2133    is left unchanged.
2134  * Added that the realm command prints "Realm #n is x:x,y:y" after
2135    you set a new realm.
2136  * Added TREATIES option and enabled it by default.
2137  * Added "no depth-charging subs" and "no new land units" treaty
2138    clauses.
2139  * Added Trannie Carter's basic client fix to use fgets instead of gets.
2140  * Changed market and command to only print the lowest priced lot of
2141     each given commodity by default.  If you specify "all" it shows
2142     all lots on the market, and if you specify a specific item, it shows
2143     all lots of that item type.
2144  * Changed start command to only write out sector if it changed.
2145  * Changed stop command to only write out sector if it changed.
2146  * Changed how plane names were changed on server startup if the
2147    PLANENAMES option was enabled.
2148  * Changed move command to use standard askyn function for abandoning
2149    sector prompt.
2150  * Changed plane overlight sightings to take stealth into account,
2151    and if the planes managed to evade all flak and interceptors, they
2152    are not marked as "spotted" over enemy sectors.
2153  * Changed all units with the supply flag to have their marching speeds
2154    based on efficiency since that is their purpose.  What this means is
2155    that supply units and trains are more effective at 100% than at 10%
2156    (just as fighting units are more effective at 100% than at 10%, but
2157     their effectiveness is determined by how well they fight, not how well
2158     they "run away, run away!" :) )
2159  * Changed so that flash toggle is on by default for POGO at setup
2160    time.
2161  * Changed so that when a sector is taken, all land units owned by the
2162    current owner are treated as planes are during takeovers (i.e. there
2163    is a pretty good chance they are blown up, and if not, they change owner
2164    to the attacker and are beat up pretty good.)
2165  * Fixed treaties to work again.
2166  * Fixed bug in taking over land units not using correct pointer (can
2167    cause a crash or data corruption.)
2168  * Fixed collect command to wipe deliver and distribution information
2169    correctly.
2170  * Fixed potential bug in bmap not working when destination bmap has
2171    blank spaces in it.
2172  * Fixed bug in shark command not getting right nation structure.
2173  * Fixed bug in server where empty commands (for example, all spaces
2174    or tabs) were being reported as bogus commands.  They are now just
2175    ignored.
2176  * Fixed bug in scrap not dropping land units off of scrapped units carrying
2177    them.
2178  * Fixed bug in news where boarding of land units was reported backwards.
2179  * Fixed bug in calculating new people when growing them during an update.
2180  * Fixed missing -ltermcap in HP/UX build.
2181  * Fixed setsector to limit mobility to 127 not 255 (255 was being caught
2182    later and being reset to 0 anyway)
2183  * Fixed Sector-types.t to show a '\' instead of a '/' for wasteland,
2184    since that is what it really is.
2185  * Fixed retreat.t documentation to reflect the "retreat upon failed
2186    boarding" flag.
2187  * Fixed bug where satellites were not orbiting the world during the
2188    update.
2189  * Fixed bug in torpedos being too smart.  They knew how to jump over
2190    land! :)  Now the "line_of_sight" routine is used to determine if a
2191    torpedo has a straight path to the destination.  If it doesn't, the
2192    torpedo no longer jumps over land, but instead slams into it.  This was
2193    an interesting bug because you could torp ships on the other side of
2194    a very skinny island as long as they were in range, even if there was
2195    no sea route possible.
2196  * Fixed bug when pinbombing and you run out of an object to pinbomb (land
2197    units for example) but you still have to pick something to bomb.  For
2198    ships it worked ok (just aborted that it couldn't find any more ships)
2199    and this was fixed for land units and planes.
2200  * Fixed server crashing bug when flying a plane and not carrying
2201    any cargo.
2202  * Fixed bug in move losing commodities when it runs out of room in the
2203    destination sector.  Goods are now attempted to be returned to the
2204    start sector, and apporpriate steps taken if the start sector is no
2205    longer available.
2206  * Fixed march to prompt you before you abandon a sector you own by
2207    marching out the last land unit.
2208  * Fixed check functions to only check the relevant portions of the structure
2209    and not the timestamp info that doesn't affect how the object functions.
2210  * Fixed bug in spy command that always told you if a spy unit was in a
2211    non-owned sector.
2212  * Fixed bug in displaying of land unit missions not showing correct land
2213    unit range.
2214  * Fixed bug in wire command where new announcements that you read at
2215    the last second don't get wiped out properly.
2216  * Fixed bug where announcement file could be corrupted by very long lines.
2217  * Fixed bug where bmap was not set when player was told what kind of
2218    sector they were attacking (this was an old abusable bug that was
2219    removed long ago to fix the abuse, and it's been fixed in a non-abusable
2220    way finally.)
2221  * Fixed bug where change command would warn you about monetary and
2222    BTU costs, but not prompt you to break out if you didn't want to really
2223    change your country name.
2224  * Fixed bug in sub-launched nukes that are intercepted being reported in
2225    the news incorrectly.
2226  * Fixed bug in load where you could abandon a sector and not know it by
2227    loading your last civilians or military onto a ship.
2228  * Fixed potential memory leak in autonav code.
2229  * Fixed potential bug where you could possibly determine if a sector is
2230    owned or not using one way plane missions.
2231  * Fixed Damage.t info page to properly show damages for planes and
2232    land unit shelling.
2233  * Fixed deliver.t to include syntax for command.
2234  * Fixed country.t to include syntax for command.
2235  * Fixed bug where ships on orders were not adding radar information to
2236    the bmap during an update.
2237  * Fixed bug where ships on sail were not adding radar information to
2238    the bmap during an update.
2239  * Fixed bestownedpath code to use the bmap properly.  Note this is a very
2240    important bug fix.  When navigating a ship, players are no longer given
2241    free information that they would not normally know.  For example, if you
2242    try sailing your ship off into uncharted areas of your bmap, the bestpath
2243    code will only use as much information as you have on-hand (i.e. your
2244    bmap) to plan out your path for you.  If you have no information on an
2245    area, it just keeps forging on, until bumping into something.  Of course,
2246    after the initial exploration through an area, the bmap will be set and
2247    used for all future sailings through that area.  Harbors and bridges
2248    are still checked for construction worthiness if you know where they
2249    are (i.e. they are on your bmap.) (Overall, what happened before
2250    was that the bestpath code would route your ship around islands that
2251    you didn't even know were there, and you could use various commands
2252    to see how that ship was going to sail during the update and thus you
2253    gained information that you wouldn't normally know.)
2254  * Merged bestpath and bestownedpath and wrote new wrappers, "BestShipPath"
2255    and "BestAirPath" to use it properly.  It is also good to note that
2256    bestownedpath is used to determine paths for ships and for planes,
2257    and that best_path (which uses the A* algorithm) is used for all land
2258    based paths, and that the two are never interchanged.
2259  * Removed "jet recon" plane (it slipped in during the PLANENAMES conversion,
2260    and RECON was never used before.)
2261  * Removed extraneous "resnoise" and "resbenefit" functions and combined
2262    the two for setresource and setsector commands.
2263
2264 Changes to Empire 4.2.1 - Tue Nov  3 12:56:20 PST 1998
2265  * Fixed problem with global/plane.c not defining last structure element
2266    properly, and thus causing crashes when accessing certain plane
2267    routines.  This happened during the move to make the PLANENAMES option
2268    run-time configurable.
2269
2270 Changes to Empire 4.2.0 - Thu Oct 29 06:27:15 PST 1998
2271  * Bumped rev to 4.2.0 since this is a major release (the server is now
2272    run-time configurable for just about everything and is released under
2273    the GNU GPL.)
2274  * Put in official licensing information.
2275  * Re-arranged and commented the econfig (Empire Configuration) file.  The
2276    auto-generated "data/econfig" file is now pumped out chock full of
2277    comments (which may or may not be useful.)  Since the server is
2278    pretty much fully run-time configurable (MAXNOC is not, but it gets
2279    a default of 99 anyway) deities will probably be spending more time
2280    in the config file.
2281  * Added server support for building under NT, including mods from
2282    Doug Hay and Steve McClure to get the server building and running
2283    under NT. (This was built using MSVC++ 5.0 on NT 4.0 and command
2284    line "nmake nt")
2285  * Added Doug Hay's ntthread.c implementation for NT threading.
2286  * Added max pop column to "show sector stats" output.
2287  * Added lboard command for boarding land units from sectors.  Only raw
2288    mil can board land units, and only mil and land units aboard the unit
2289    being boarded fight back.
2290  * Added GODNEWS option.  When enabled, the deity giving people stuff
2291    is shown in the news.
2292  * Added bridge tower sector ('@')
2293  * Added BRIDGETOWERS option.  When enabled you can build bridge towers
2294    from a bridge span.  You can then build bridge spans from the tower.
2295    If the tower is destroyed ( <20% eff) bridges connected fall unless
2296    supported on the other side.  You can only build bridge towers in open
2297    water not adjacent to land and other towers.  Expensive.
2298  * Added plains sector ('~') - Max pop is 1/40th regular sectors, and
2299    it is deity creatable only (can't redesignate unless you wasteland it
2300    with a nuke :) )
2301  * Changed "info all" to no longer use printdir, instead it just uses the "all"
2302    info page which contains this information.
2303  * Changed so you can now load up to 2 spy units onto non-land unit carrying
2304    submarines if the LANDSPIES option is enabled.  Useful for sneaking up
2305    to shore and spying on your neighbors.
2306  * Changed so spies unloaded from ships are not given as gifts, they are just
2307    unloaded quietly.
2308  * Changed build command to handle building towers ("build t")
2309  * Changed show command to show tower stats ("show t b")
2310  * Changed reject so you can now reject things from any country except
2311    deity countries (this now includes sanctuary countries and visitor
2312    countries you don't want to deal with)
2313  * Changed ndump to dump nuclear stockpile ID as well.
2314  * Changed flash so that if someone allied to you is either not logged on or
2315    not accepting flashes, you are notified.  This is info you could gain
2316    otherwise since you can see other countries that are allied to you via
2317    players.
2318  * Fixed bug in news command when HIDDEN mods are enabled.
2319  * Fixed distribute command to only write out to the database if we
2320    actually changed the sector (i.e. if we really moved the dist
2321    center, we write.  Otherwise, it makes no point.)
2322  * Fixed threshold command to only write out to the database if
2323    we actually changed the sector (i.e. if we really changed the
2324    threshold, we write.  Otherwise, it makes no point.)
2325  * Fixed - population growth and truncation in "Update-sequence.t" info
2326    file is now clearer
2327  * Fixed the way fortify takes mobility away from a land unit if
2328    engineers are present.
2329  * Fixed bug in buying commodities at the last minute not resetting the
2330    time correctly in all situations.
2331  * Fixed bug in building nukes where it would always ask if you tried
2332    building more than one at a time.
2333  * Fixed bug where if you put (either by building or by transporting)
2334    more than 127 of one type of nuke in a sector, they all got lost. A
2335    negative wrapover sort of thing.
2336  * Fixed ndump to print # of stockpiles dumped.
2337  * Fixed ndump.t to reflect changes
2338  * Fixed bug in build command that didn't account for EOL characters.
2339  * Fixed bug where you could use planes to drop conquered populace
2340  * Fixed bug in distribute command in how it checked for current distribution
2341    sector.
2342  * Fixed pr_flash and pr_inform to no longer send messages if the player
2343    is still in the process of logging in (i.e. not in the PLAYING state)
2344  * Fixed report command output for deities.
2345  * Fixed bug in nuclear damage either taking out submarines when it
2346    shouldn't, or not taking them out when it should.
2347  * Fixed bug in loading units that are carrying units onto other units
2348    (note that it doesn't happen since only HEAVY units can carry other
2349    units and that check works, but that might change some day, and we
2350    don't want units carrying units to be carried by other units, etc. :) )
2351  * Fixed info pages to reflect new sector types.
2352  * Fixed info pages to reflect new spy unit capabilities.
2353  * Fixed show commands to only show trade ships if the TRADESHIPS option
2354    is enabled.
2355  * Fixed build command to only allow building of trade ships if the
2356    TRADESHIPS options is enabled.
2357  * Fixed up some definitions located in many places used for checking
2358    sectors for navigation rights.
2359  * Fixed power.t to correctly describe NEW_POWER formula.
2360  * Made HIDDEN option run time configurable.
2361  * Made LOSE_CONTACT option run time configurable.
2362  * Made ORBIT option run time configurable.
2363  * Made SAIL option run time configurable.
2364  * Made MOB_ACCESS option run time configurable.
2365  * Made FALLOUT option run time configurable.
2366  * Made SLOW_WAR option run time configurable.
2367  * Made SNEAK_ATTACK option run time configurable.
2368  * Made WORLD_X and WORLD_Y run time configurable.
2369  * Made MARKET option run time configurable.
2370  * Made LOANS option run time configurable.
2371  * Made BIG_CITY option run time configurable.
2372  * Made TRADESHIPS option run time configurable.
2373  * Made SHIPNAMES option run time configurable.
2374  * Made DEMANDUPDATE option run time configurable.
2375  * Made UPDATESCHED option run time configurable.
2376  * Made LANDSPIES option run time configurable.
2377  * Made NONUKES option run time configurable.
2378  * Made PLANENAMES option run time configurable.
2379  * Removed SMALL_SERVER stuff (unused baggage)
2380  * Removed trading post sector ('v')
2381
2382 Changes to Empire 4.0.18 - Thu Sep 24 06:54:27 PDT 1998
2383  * Fixed bug in aircombat where planes in flight could intercept air
2384    defense planes and take no damage (i.e. they got to fight twice,
2385    once for free.)
2386  * Fixed bug in freeing memory after performing missions that could crash
2387    the server (it mainly happened after an interdiction mission using
2388    planes and escorts, where some escorts came from airports that didn't have
2389    bombers going up.  Freeing the leftover escorts was crashing the server.)
2390  * Fixed bug where you could load non-existant units if you were allied
2391    with country #0.
2392  * Fixed bug where you could pin-bomb a plane with itself.
2393  * Fixed bug where satellites over a bridge may get killed if the bridge
2394    is sunk.
2395  * Fixed bug where land units on a ship in the same sector as a bridge
2396    that is splashed may get sunk.
2397  * Fixed bug where planes on a ship in the same sector as a bridge
2398    that is splashed may get sunk.
2399  * Fixed doconfig with correct empire site text.
2400  * Fixed major problem with abms not firing, and sometimes crashing
2401    server.
2402  * Fixed bug in land units counting up loaded units wrong.
2403  * Fixed doconfig makefile to have doconfig.c as a dependency.
2404  * Fixed bug in resetting commodities (the comm_uid was not being
2405    properly set.)
2406  * Fixed bug in repaying loans not working correctly (the l_uid was not
2407    being properly set.)
2408  * Fixed bug in buying items from the trading block not allowing you
2409    to due to a perceived change in item status.
2410  * Fixed bug in mfir.c where a bogus input to a target could crash
2411    the server.
2412  * Fixed bug that after you read telegrams new telegrams may not send
2413    an inform message (the old telegram flags were not cleared.)
2414  * Fixed bug where fort support distance calculations are calculated
2415    twice instead of just once.  This bug caused a lower percentage
2416    of support fire than designed.
2417  * Fixed bomb.t to reflect land unit changes.
2418  * Put in some integrity checking for planes returing from bombing runs.
2419  * Added ability to edit land unit that a land unit is loaded on in
2420    edit command.
2421  * Consolidated bridgefall code into "knockdown" function (this code
2422    existed in at least 3 places, and was different in all of them.)
2423  * Subs returning fire are no longer reported in the news.
2424  * Visitor countries can now use the 'motd' command.
2425  * When trying to use a visitor country, if it is in use, you are not told
2426    by whom, just that it is in use.
2427  * Optimized (slightly) support fire from forts not getting supply and
2428    shells if not needed (out of range)
2429  * Updated Education.t
2430  * Modified (increased) chances of hitting mines slightly.
2431  * Removed unused variables from shp_check_mines.
2432
2433 Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
2434  * Added ability in edit to change coastal flag for sectors.
2435  * Added ability in edit to edit plague values for ships.
2436  * Added ability for "spy" to report all units/planes not owned by you
2437    that exist in the sector you are spying from.
2438  * Modified naval planes and anti-sub planes.
2439  * Changed so that missiles and bombs that miss their targets cause
2440    collateral damage in the target sector (they have to land somewhere!)
2441  * Changed llook so that non-spy units are required to have at least 1
2442    military personnel on board to see anything.
2443  * Fixed "llookout.t" to reflect change for military requirement.
2444  * Updated Plague.t
2445  * Updated upgrade.t
2446  * Added "lmine" flag for deities to see what sectors have mines in them
2447    (works for sea and land mines, used "lmine" to distinguish it from "min"
2448    which determines mineral (iron) content of a sector.)
2449  * No longer able to pin bomb land units on a ship.
2450  * Land units are required to have at least one military loaded to perform
2451    a mission.
2452  * Firing land units are required to have at least on military loaded to
2453    be able to fire (or return fire.)
2454  * Spies are not always seen when being pinbombed.  You have to look very
2455    carefully for them (as you usually would.)
2456  * Fixed typo in "Spies.t"
2457  * Added new info about spy ability to spy.t.
2458  * Updated tax information in Innards.t and Update-sequence.t
2459  * Fixed typo in fire.t information about units firing on ships.
2460  * Loading military onto land units now resets fortification.  (You gotta
2461    re-fortify the new guys.)
2462  * Fixed bug where planes that were mine capable could not drop mines if
2463    they were not cargo capable.
2464  * Fixed bug in potentially crashing in update code for nations tech/research.
2465  * Fixed bug in execute putting you into execute mode incorrectly.
2466  * Fixed bug in board not allowing land units to board from 0 mobility
2467    sectors.
2468  * Fixed bug where interdicted land units that were missed displayed
2469    a "SPLASH! Bombs miss your ships" message.
2470  * Fixed bug in minesweeping sectors where, even with mobility or
2471    having the sweep ability, ships would get hit by mines for doing
2472    nothing.
2473  * Fixed bug in count_land_planes always writing out land units unnecessarily.
2474  * Fixed bug in count_planes always writing out ships unnecessarily.
2475  * Fixed bug in lnd_count_units always writing out land units unnecessarily.
2476  * Fixed bug in count_units always writing out ships unnecessarily.
2477  * Fixed bug in llook that reported units on ships.
2478  * Fixed bug in llook that reported satellites launched over the unit.
2479  * Fixed bug in llook that always reported spies (it should be a 10-100%
2480    chance)
2481  * Fixed bug in anti possibly not saving lost items correctly.
2482  * Fixed bug in planes getting extended range when on missions and the
2483    op center is not where the plane is located.
2484  * Fixed bug in land unit defensive strength not being based on the eff of
2485    the unit when calculating odds of a battle.
2486  * Fixed bug in board not reporting consistant information.
2487  * Fixed bug in the way land unit casualties were being taken.
2488  * Fixed bug where land units on ships could return fire.
2489  * Fixed bug where land units on other land units could return fire.
2490  * Fixed bug where land units on other land units could fire.
2491  * Fixed bug in attacks/assaults/boardings spreading plague incorrectly.
2492  * Fixed bug in updating plague for ships.
2493  * Fixed bug in updating plague for land units.
2494  * Fixed bug in updating plague for attacking/defending land units.
2495  * Fixed bug where you couldn't pin-bomb land units that were < 20% eff.
2496  * Fixed bug which revealed the owner of torping subs when on a mission.
2497
2498 Changes to Empire 4.0.16 - Fri Jun 12 08:52:06 EDT 1998
2499  * Added patches sent in by Steve McClure, Sverker Wiberg and Curtis
2500    Larsen.  They are described with other changes below.
2501  * Fixed bugs in the following commands that allowed two cooperating
2502    countries to create infinite numbers of any commodity and/or cash
2503    at any time (race conditions in the server): build, board, deliver,
2504    designate, distribute, explore, fuel, improve, load, ltend, mobquota,
2505    move, name, order, reset, sail, sell, set, tend, territory, test,
2506    threshold, torpedo, transport, unload
2507  * Fixed bug in board command giving out too much information about a
2508    non-owned sector when it shouldn't be.
2509  * Fixed bug in board command when firing on a sector in defense before
2510    checking mobility.
2511  * Fixed bug in rangeedit allowing plane(s) to possibly be stored wrong.
2512  * Fixed bug in launch allowing plane to possibly be stored wrong after
2513    launch.
2514  * Fixed bug in lrangeedit allowing land unit(s) to possibly be stored wrong.
2515  * Fixed bug in morale allowing land unit(s) to possibly be stored wrong.
2516  * Fixed bug in arm/disarm allowing a plane to possibly be stored wrong.
2517  * Fixed bug in loan sometimes not writing database correctly.
2518  * Fixed bug in collect.
2519  * Fixed bug in dropping mines from land units.
2520  * Fixed crashing bug in sector_strength routine when oceans take
2521    collateral damage.
2522  * Fixed bug in transport possibly decrementing too much mobility when
2523    moving a nuke.
2524  * Fixed some little warning type messages building with gcc -Wall.
2525  * Fixed problem compiling lwp threads with glibc6 under Linux.
2526  * Changed flash so that players can always flash deities.
2527  * Changed players command to always show deities and visitor countries
2528    that are logged on, and only show allied countries for normal player
2529    countries.
2530  * Fixed bug in anti command not stopping sectors when they revolt.
2531  * Fixed bug in set_coastal function not counting bridge spans as
2532    water based sectors (after all, the land is still a coastal sector,
2533    even if next to a bridge span.)
2534  * "flash" and "players" is re-enabled for visitor accounts.
2535  * Fixed bug in bleeding of technology and research to other players.
2536  * Fixed bug in explore not spreading plague correctly.
2537  * Fixed bug in move not spreading plague correctly.
2538  * Fixed bug in deliver not spreading plague correctly.
2539  * Fixed bug in distribute not spreading plague.
2540  * Included "postresults" script in the scripts directory which can be
2541    used to auto-post daily power chart/announcements to rec.games.empire.
2542  * Updated Plague.t
2543  * Updated Innards.t
2544  * Removed OVCONFIG from build.conf, and patched doconfig to match.
2545  * doconfig is only run if needed
2546  * emp_client and emp_server are only linked if needed
2547  * Added list of disabled options to the version command.
2548  * Fixed bug in survey allowing you to see hidden variables.
2549  * Re-enabled escort missions due to above bug fix most likely the problem.
2550  * Changed one instance of "restrict" to "restricted" in bestpath.c.  For
2551    some reason, this was causing a problem on one of the Linux builds (??).
2552  * Added "show sector capabilities" functionality (this didn't exist
2553    before.)
2554  * Fixed bug in neweff not reporting stopped sectors.  It now (correctly)
2555    reports them as not changing eff.
2556
2557 Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
2558  * Fixed the spelling of Markus' name in CHANGES4.0 files.
2559  * Added Markus' patches/fixes.  Some are detailed below.
2560  * Added 'mipsultrix.gxx' build target.
2561  * Fixed doconfig to write ipglob.c in the correct target area.
2562  * Fixed a bunch of type casting that needed to be done correctly.
2563  * Only print out last connect by for non-visitor accounts.
2564  * 'players' command is only useable by non-visitor accounts.
2565  * Fixed ask_off in attsub.c to not print out allied sector mil counts
2566    when attacking from neighboring sectors.
2567  * Fixed targetting of che when taking over sectors.
2568  * 'anti' command only fights che that are targetted at you.
2569  * Fixed update not updating timestamps of objects (ships, planes, land
2570    units, sectors.)
2571  * Fixed bug delivering conquered populace.
2572  * Fixed potential bug scuttling ship with land units on it.
2573  * Moved heavy bombers to tech 90.
2574  * Fixed bug in setsector telling the deity coordinates of sectors being
2575    granted/taken away.
2576  * Fixed bug in setting budget of enlistment sectors to 0.
2577
2578 Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
2579  * Fixed time_t problem in common/log.c
2580  * Fixed bug in headlines
2581  * Replaced vaxultrix build flags with proper vanilla ones.
2582  * Fixed bug in update/prepare.c (sometimes not getting charged for
2583    mil on units and ships)
2584  * Fixed bug in printing of "No ship(s)" twice in cargo command when no
2585    ships were selected.
2586  * Temporarily disabled escort missions until a fix is found. They are
2587    randomly crashing the server.
2588  * Fixed morale.t to reflect that retreat percentage is based off of
2589    morale_base and not 75.
2590  * Fixed bug in bridgefall where planes and units on ship in a sector
2591    that has a bridge collapse are being sunk.
2592  * Fixed bug in update/produce.c when a sector overflows it's capacity
2593    on production.
2594  * Fixed bug in produce command reporting incorrect costs (sometimes).
2595  * Land units on ships will now try to draw supply from the ship they
2596    are on.
2597
2598 Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
2599  * Fixed bug in distribute when world sizes are other than 64x32
2600  * Fixed bug in getcommand (not really a bug, just made it work like
2601    it used to so that the players command is useful for deities
2602    again)
2603  * Fixed building of POSIX threads on Alpha running Digital Unix.
2604  * Fixed line_of_sight prototype in sona.c
2605  * Fixed fairland not to conuse stupid C++ compilers.
2606
2607 Changes to Empire 4.0.12 - Tue Feb 24 11:27:31 EST 1998
2608  * Fixed client build on linux (whoops)
2609
2610 Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
2611  * AIX build seems to only work with gcc right now (but at least that works)
2612  * Vax Ultrix (vaxultrix) build should work now (hopefully) out of the box.
2613  * Took out autosupply of airports when bombing or dropping shells.
2614     (This was the only commodity this was done for, and it was creating
2615     problems since supply is still somewhat broken somewhere)
2616  * Included Curtis Larsen's, Markus Armbruster's and Sverker Wiberg's
2617     submitted patches, which collectively included cleaning up most
2618     of the server prototypes and bogus declarations.  Many thanks.
2619  * Increased incoming command buffer to 1024 from 512 bytes
2620  * Increased the # of parsed arguments from 64 to 100
2621  * Fixed bug where spies were not dying when damaged.
2622  * Fixed bug in HIDDEN mods in declare command not printing country # of
2623     uncontacted country correctly (or at all as a matter of fact)
2624
2625 Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
2626  * Fixed bug where fleets were being interdicted but the damage was being
2627     spread to ships not in the same sectors.
2628  * Fixed but in market when buying goods without enough cash.
2629  * Planes in orbit over airports are no longer fixed up during updates.
2630  * Planes in orbit are no longer damaged when the sectors they are over
2631     are damaged.
2632  * Planes on ships are no longer damaged when the sectors they are in are
2633     damaged, unless the ship is damaged.
2634  * Fixed problem with no newline after partisan activity telegram in
2635     anti.c
2636  * Fixed problem in chan.c printing out change costs incorrectly.
2637  * Fixed problem in dispatch.c screwing things up on redirection.
2638  * financial should now handle 6 and 7 digit loans.
2639  * Planes on ships that are in sectors that revolt are no longer taken
2640     over.
2641  * Fixed bug in powe.c where the power report was mis-calculating the
2642     efficiency of planes.
2643  * Fixed doconfig.c to use STDC instead of multi-level #ifdefs.
2644  * Fixed bug in parse.c that was screwing up double quotes in conditional
2645     arguments.
2646  * Military in a sector now only produce up to maxpop, just like civvies
2647     and uw's.  No more stuffing 6K mil into a mountain to max it out.  You
2648     can still hold more mil there over the updates, but the extras just
2649     won't produce anymore.
2650  * Fixed bug in shark that allowed you to shark up loans even if you couldn't
2651     cover the debt.
2652  * Fixed bug in day of week calculation for server up time in common/keyword.c
2653     that is used for gamedays.
2654  * Documented what happens to standing military in collect.t when you collect
2655     a sector.
2656  * Documented mountains only holding and using 1/10th of the normal sector
2657     population in Sector-types.t.
2658  * Fixed documentation on ship's firing ranges in fire.t to be less
2659     ambiguous.
2660  * Updated nukes in nuke.t
2661  * Added apropos command (thanks to Mike Wise)
2662  * Added case-insensitivity to the info command (thanks to Mike Wise).  If
2663     there are two files of the same name, and you don't get a complete match,
2664     then whichever file is found first in the directory is used.
2665  * Changed documentation in wantupd.h
2666
2667 Changes to Empire 4.0.9 - Sat Apr 19 23:01:51 EDT 1997
2668  * Fixed dump info pages that were getting formatted funny.
2669  * Fixed improve info page.
2670  * Fixed bug in allied planes/units not moving when the carriers move.
2671  * Fixed bug in satellite output for <100% satellites.
2672  * Fixed bug in load/unload not putting a newline after some unloadings
2673     in allied sectors.
2674  * Fixed bug in harden not printing correct values.
2675  * Fixed bug in creating/moving/etc. nuclear stockpiles.
2676  * Fixed bug where subs were trying to torp commodities moving on land when
2677     on interdiction.  (This was funny ;-) )
2678  * Fixed bug in "move" where you could keep a sector even after someone else
2679     took it from you.
2680  * Budget now correctly reports the # of units being built.
2681  * Mil on units & ships are now reported as normal military costs, not
2682     ship or unit maintainence costs in budget.
2683  * Fixed bug in update code where taxes could potentially be initialized
2684     incorrectly (affected budgets too.)
2685  * Fixed bug in nat.h header so that it uses SCT_MAXDEF instead of a fixed
2686     number (that was incorrect.)
2687  * Fixed bug with trains - they needed the xlight flag to carry planes.
2688  * Revamped and improved flak.
2689  * Added "Flak" info page.
2690  * Added "Fallout" info page.
2691  * Fixed repay/offer/consider to all need a capital to be used.
2692  * Fixed bug with air defense missions not running when not AT WAR.  They now
2693     fly when HOSTILE.
2694  * plane/ship/unit short names are all now 4 characters, padded if needed.
2695  * pdump/sdump/ldump/ndump now just print the short name for the type.
2696  * sdump now has ship name at very end in quotes.
2697     These were done at the request of some client developers for ease of use.
2698  * Fixed extra space in the dump output.
2699  * Fixed fallout - not quite so nasty anymore.
2700  * Fixed fallout - things on ships/units are damaged now.
2701  * Fixed and balanced planes/ships/units/nukes in conjunction with each other.
2702  * Fixed bug in doconfig.c calculating wrong s_p_etu sometimes.
2703  * Fixed bug where harbors weren't being used to resupply.
2704  * Fixed bug where selling units loaded with planes and units wouldn't take
2705     the loaded planes or units - they are now dropped.
2706  * Fixed bug in arm/disarm where you could arm/disarm planes on the trading
2707     block.
2708  * Deities can now remove things from the trading block/market.
2709  * Fixed bug in "work" not charging engineers enough mob.
2710  * Fixed bug in "work" not adding teardown and buildup avail costs together.
2711  * Subs no longer need mobility to return fire when fired upon.
2712  * Fixed "reset".
2713  * Fixed bug in "trade" allowing 2 players to pay for the same item, but only
2714     the last player gets it.
2715  * Fixed bug where you couldn't launch missiles from allied ships or sectors.
2716  * Fixed bombing so that pin-bombing can cause collateral damage too.
2717  * Fixed sector damage to damage planes there too.
2718  * Fixed flag in lload so that it doesn't always print if not needed.
2719  * Fixed "sell.t" info page.
2720  * Fixed bug in "buy" where not entering the price correctly could cause
2721     a crash.
2722  * Fixed "sell" so that at least 1 mobility is required to sell goods.  Keeps
2723     the midnight "raid and sell" abuse down. :)
2724  * Fixed "show plane cap" to move the last column over 1 more where it should
2725     be.
2726  * Fixed timestamps to be updated for units/planes on ships/units that move,
2727     since those units/planes move too.
2728
2729 Changes to Empire 4.0.8 - Wed Feb 26 23:00:51 EST 1997
2730  * Fixed bug in nstr_exec that was wiping out the previous conditional.
2731     This was major because it affected timestamp values which are more
2732     than 65535.
2733  * Fixed bug in sdump.c for typo in reporting the trade ships origin.
2734
2735 Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
2736  * Fixed bug in aircombat.c when calculating the air combat odds.  Negative
2737     numbers were screwing things up good...
2738  * Fort sector's coordinates are no longer printed when auto-firing at
2739     ships.
2740  * Subs can now surface and fire deck guns (again)  They can also be
2741     hit by return fire when doing so.
2742  * Fixed bug in setting of plane attack and defensive values so that
2743     negative numbers don't keep going further negative.
2744  * Fixed incorrect military control calculation in the sell command.
2745  * Trading posts are no longer required to sell goods from.  You can sell
2746     from harbors and warehouses now too.
2747  * Spy now prints out the owner of land units you see when spying.  Before
2748     this was assumed to be sector owner, which is no longer true.
2749  * Loading land units now prints out what was loaded onto each unit,
2750     just as loading ships do.
2751  * Added fallout, coast, c_del, m_del, c_cut and m_cut to dump output.
2752  * Added "GO_RENEW" option.  This option means that gold and oil resources
2753     are renewable.
2754  * Added "lost_items_timeout" config variable, and set the default to
2755     48 hours.  This determines how long lost items stay in the lost items
2756     database.
2757  * Fixed land unit names to be more consistent.
2758  * Fixed mission.t info page.
2759  * Fixed bug in that if mission_mob_cost was set to 0, even negative
2760     mob units should be able to be put on missions.
2761  * Removed restriction on things needing to be at least 60% to be put
2762     on a mission.  Note that while you can put them on missions at < 60%
2763     now, when trying to do the mission, it still checks the eff.  This
2764     is to help in automatic setup (build, put on mission, forget) instead
2765     of having to come back repeatedly.
2766  * Spies caught in Neutral or Friendly countries cause the Neutral or
2767     Friendly country to go Hostile towards the owner of the spy.
2768  * Tweaked ammunition numbers for artillery units.
2769  * No more automatic declarations of War should be made.  You will go
2770     hostile, but since going to war doesn't increase your countries
2771     defenses, and is purely political, it is left to the player to go
2772     that final step.
2773  * Fixed bug in trade that wasn't incrementing the time if last second bidding.
2774  * Fixed bug in "lmine" that was crashing the server if the land unit was
2775     out of mobility.
2776  * Fixed buy so that if you specify a product, you can only bid on that
2777     type of product.
2778  * Added "lost.t" info page.
2779  * Added "lost items" database (EF_LOST)
2780  * Fixed bug where you could move in allied forces after an attack if they
2781     bordered the victim area.
2782  * Fixed nstr_comp to deal with values > 16 bits coming in from
2783     client for comparisons.
2784  * Changed last minute market/trade timers to increment 5 minutes.  2 minutes
2785     was too quick.
2786  * Fixed decode in lib/common/nstr_subs.c to deal with NSC_TIME better.
2787  * Commented out the logging of the market checking in server/marketup.c,
2788     lib/commands/buy.c and lib/commands/trad.c  It was generating lots of
2789     pretty much useless data that made parsing the server.log file more
2790     more difficult than it needed to be.
2791  * Fixed crashing bug in ldump.
2792  * sdump, ldump, ndump, pdump and dump now print out the current
2793     timestamp on the "DUMP XXX" line.
2794  * Fixed denial of service bug in lib/player/accept.c in
2795     player_find_other function.
2796  * Fixed bug in shark reporting incorrect buyer of the loan.
2797  * Fixed bug in sdump.c (case 0 should have been case 10)
2798  * ldump and sdump now always print the fuel column if asked for,
2799     even if opt_FUEL is turned off.  In the case that it is turned
2800     off, the fuel is listed as 0.
2801  * Added "timestamp" field, which is updated every time an item is
2802     changed.
2803  * Fixed up the Clients.t info page.
2804  * sdump now prints trade ship building origin.
2805  * sdump now always prints name even if SHIPNAMES isn't defined.  If
2806     it is not defined, then the name is empty.
2807  * Added "timestamp" to info/Concepts/Selector.t
2808  * Added some more relevant info to info/Server/Empire4.t
2809  * Fixed Infrastructure.t info page to reflect the fact that infrastructure
2810     is no longer torn down when a sector is re-designated.
2811  * Fixed sell.t to more accurately reflect the time-delay market.
2812  * Fixed read.t and wire.t to reference accept and reject.
2813  * Fixed reject.t not referencing accept command.
2814  * Fixed collect.t to more accurately reflect what goes on when collecting
2815     sectors.
2816  * Fixed financial.t to reflect defaulted loans.
2817  * Fixed dump.t, sdump.t, ldump.t, ndump.t, pdump.t to reflect new
2818     timestamp info.
2819  * Fixed "census.t" (had incorrect reference to "info syntax" instead
2820     of "info Syntax".
2821
2822 Changes to Empire 4.0.6 - Thu Jan 16 11:33 EST 1997
2823  * Increased damage from depthcharges because on increased damage from
2824     torpedos.  Sub frange decreased to be more balanced with destroyer frange.
2825  * Intelligence reports (spy) on units will now report the estimated number
2826     of mil on the unit.
2827  * Fixed equation for ship visibility so it will drop as tech increases.
2828  * Added new commands sdump, ldump, pdump, and ndump to dump data on ships,
2829     land units, planes, and nukes.
2830  * If fields are provided, dump will only supply those fields requested.
2831  * Decreased speed of subs.
2832  * When options NO_LCMS or NO_HCMS are set, those commodities are no longer
2833     required for infrastructure improvements.
2834  * Units that lose an assault or a boarding attempt from a ship will no
2835     longer swim back to the ship they came from.
2836  * Units that take extra casualties will no longer lose all their mil at
2837     once.
2838  * Infrastucture is retained when redesignating a sector.
2839  * Dieing spies will no longer crash the server.
2840  * Units, planes, and ships must have mobility to perform missions.
2841  * Units on ship being scrapped are transferred to harbor.
2842  * Food is no longer autoloaded onto units when they are built.
2843  * Fixed show plane stat to show correct range.
2844  * Infantries now take damage at same rate as casualties.
2845  * Fixed bug with hap_fact.  Having more happiness now helps with fighting
2846     che.
2847  * Fixed anti to write back target country so che will continue to fight
2848     when they survive.
2849  * Fixed llookout to show correct estimate on number of mil on unit.
2850  * Added buildable architecture "hp".  This type will build the server on
2851     a HP/UX machine using the standard compiler instead of gcc.
2852
2853 Changes to Empire 4.0.5 - Thu Dec 12 10:28:48 EST 1996
2854  * Fixed bug in update/distribute.c where pathcost was not being called with
2855     the MOB_ROAD argument (and thus distribution costs could be GREATLY
2856     affected.) - Thanks Ice!
2857
2858 Changes to Empire 4.0.4 - Mon Dec  9 11:00:00 EST 1996
2859  * Fixed Solaris port using gcc.
2860  * Fixed doconfig.c to create directories with right modes.
2861  * Fixed install macros in makefiles to move binaries to the right
2862     places.
2863
2864 Changes to Empire 4.0.3 - Wed Dec  4 22:46:53 EST 1996
2865  * Added HP/UX port.
2866  * Fixed doconfig.c (put exit(0) at the end of main.)
2867  * Fixed improve.c (moved the prompt[] string outside the fcn.)
2868
2869 Changes to Empire 4.0.2 - Mon Oct 14 12:26:40 EDT 1996
2870  * Put in LND_MINMOBCOST in land.h
2871  * Put in change in lnd_mobcost in lndsub.c
2872  * Put in new nuke costs in nuke.c
2873  * Put in fix so that total work can only be done by the max pop. No more extra
2874     civvies tossed in will do it anymore in human.c.
2875  * Put in fix for src/util/Makefile - beefed it up.
2876  * Put in fix to show where your ship is when it gets shelled in mfir.c.
2877  * Changed infrastructure of roads from .040 to .020 (122 instead of 150 in
2878     common/move.c)
2879  * Fixed Update-sequence.t.
2880  * Put in fix for mobcost bonus for 0% highways.
2881  * Fixed stop.t
2882  * Fixed commodity.t
2883  * Spruced up torpedo damage somewhat. :) :)
2884  * Fixed "assault bmap bug" in attsub.c
2885  * Fixed Produce.t (bars cost)
2886  * Changed mountains to get an automatic "2" for defensive bonus in attsub.c
2887  * Fixed consider.t
2888  * Fixed repay.t
2889  * Fixed offer.t
2890  * Fixed "offer" and "consider" not being legal commands in player/empmod.c
2891  * Fixed Damage.t
2892  * Fixed sstat.t
2893  * Fixed lstat.c, pstat.c and sstat.c
2894  * Fixed cutoff command in cuto.c
2895  * Fixed attack value in attack_val in lndsub.c
2896  * Fixed lload in commands/load.c
2897  * Fixed defense_val in lndsub.c - Made it a minimum of 1, so that units will
2898     always fight until dead or retreating.  0 makes them get stuck.
2899  * Fixed update/deliver.c - no delivery of non-oldowned civvies (or anything
2900     else for that matter.)
2901  * Fixed llook in commands/look.c
2902  * Fixed che bug in subs/nstr.c
2903  * Fixed bug in strv.c by overcompensating by 1 food per sector (minute amounts
2904     of people would starve.)
2905  * Fixed update/human.c - feed_people rounding problems (I hope.)
2906  * Fixed morale problem in update/land.c
2907  * Fixed count_bodies in attsub.c
2908  * Fixed lnd_mobcost.
2909  * Fixed subs/land,plane,ship.c to handle sunken units and planes correctly.
2910  * Fixed interest rate in commands/offe.c
2911  * Fixed bug in buy.c.
2912  * Put in DEFENSE_INFRA soption o you can turn on/off the use of the defensive
2913     infrastructure.  When off, the defensive infrastructure is the same
2914     as the sector efficiency, and you can't improve it.  This is OFF by
2915     default.
2916  * Fixed Empire4.t
2917  * Added Wolfpack.t
2918  * Land units are now built with a default reaction radius of 0.
2919  * Changed name of lt artilleries to "lat" from "lart" so you can now build
2920     "lar"s again.
2921  * Lowered the speed and firing range of pt boats.
2922  * Lowered the initial att strength of cavs from 1.5 to 1.3 (they were TOO
2923     powerful.)
2924  * Changed the max mob gain defaults of units/planes to 1.0 and ships to 1.5
2925     (This is * ETU_RATE, so it is equal to ETU_RATE for units/planes and
2926      1.5 * ETU_RATE for ships.)
2927  * Conquered civvies only pay 1/4 taxes.
2928  * Railways don't get torn down when you rebuild sectors anymore (but roads
2929     and defenses do (if enabled.)
2930
2931 Changes to Empire 4.0.1 - Wed Aug 28 11:35:40 EDT 1996
2932  * Added "extern double tradetax" to check_trade in trad.c
2933  * Improved description of data directory in build.conf
2934  * Fixed bug in attacking land units that retreat so they now get
2935     charged mobility for attacking.
2936  * Fixed dump to report road, rail and defense of a sector at the end.
2937  * Fixed doconfig bug in not checking the right directory to see if the
2938     "data" directory existed or not before trying to create it.
2939  * "change" now works for sanctuary countries.
2940  * Fixed the description of "sinfrastructure".
2941  * Added more info to "Infrastructure".
2942  * Units/planes are no longer reduced to 75% when bought from the trading
2943     block.
2944  * Supply units were slowed down to the speed of infantry units.
2945  * Trade-ship payoffs have been lowered to 2.5, 3.5 and 5.0
2946  * Bars interest is up to $250 per 1K again.
2947  * Civ taxes were raised back up to a 10:1 mil/civ tax ratio (was 20:1)
2948  * Fixed various info pages.
2949  * Fixed bug in people not getting truncated when broke (this was thought
2950     to be fixed, but wasn't. Now it is, dammit!)
2951  * Fixed bug with units marching across oceans (scuba gear not included. ;-) )
2952  * Market/trade taxes and trade ship payoff figures were added to version.
2953  * "cede" has been removed as a default command.
2954  * Makefile rule was fixed for depend build.
2955  * Fixed bug in mapdist not taking world edges into account nicely enough.
2956  * Added a "scuttle" order for autoscuttling trade ships.  Makes using them
2957     easier.  Cleaned up scuttle code while in there.
2958  * Fixed bug with scuttling a ship with units on it not scuttling the units
2959     too.
2960
2961 Changes to Empire 4.0.0 - Wed Aug 21 1996
2962  * Initial Wolfpack release - Long live the Wolfpack!!!!
2963  * Cleaned up the build environment.  Now all that is needed is to edit the
2964     build.conf file, answer the questions there and type "make <arch>" to
2965     build for a specific architecture.  Thus, no more reliance on gnumake
2966     or special shell scripts.
2967  * We are now shipping the pre-built info pages with the server for those who
2968     Don't want to build them.  You can also still just type "make" and have
2969     the info pages build, but it doesn't completely work (i.e. rebuild new
2970     Subjects) if you don't have perl5 installed.
2971  * Put in the "help" command that does the same thing as "info".
2972  * Removed C_SYNC.  This is done for 2 reasons.  1) None of us like it or
2973     wish to support it.  2) We envision a better scheme for doing similar
2974     things will come along.
2975  * Put in MOB_ACCESS - This allows real-time updating of mobility.
2976  * Put in MARKET - This is the time-based market (yes, still teleports,
2977     but it's not as bad as it was.)
2978  * Lots of the documenation has been updated, but there is more to do.
2979  * Added NO_LCMS, NO_HCMS and NO_OIL options.  When any of these options are
2980     enabled, you don't need any of that type of material to build things.
2981     If NO_HCMS is enabled, you don't need HCMS to build bridges, you need
2982     lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need
2983     any materials to build a bridge.
2984  * There is no mobility cost for assigning missions.  But, there is also
2985     no longer any benefit for being on a mission either.
2986  * Damage is the same for all commodities (people too.)  This means you
2987     can deity shell/bomb sectors again.
2988  * Units are now dependant on tech.  What this means is that their statistics
2989     now increase with tech.  In addition, there is only 1 type of each basic
2990     unit now (i.e. just "cavalry" instead of "cavalry 1", "cavalry 2", etc.)
2991     This reflects the idea that as you learn more, you learn how to not only
2992     build better units, but you learn to build units better. :)  This also
2993     opens the door for a "lupgrade" command along the same lines as the
2994     "upgrade" command for ships.
2995  * Units now have a minimum mob cost for attacking a sector.  Marching
2996     mob costs have not changed.
2997  * Starting units have been removed.  This means that at the beginning, people
2998     may live a little longer since their neighbor can't come visiting quite
2999     as quick.
3000  * Shells are no longer required to build units.
3001  * Mil are no longer required to build units.
3002  * Mil are no longer an intrinsic part of a unit.  They are now a loadable
3003     commodity.  The way a unit's defense/att bonuses work now are
3004         attack = (att * mil * eff)
3005         defense = (def * mil * eff)
3006     In addition, when a unit takes damage, both the eff and the mil go
3007     down.  You can quickly toss in new hacks, but you need to wait to repair
3008     the unit at the update.  Thus, you can now look at unit's efficiency
3009     as their training.
3010  * You need at least 1 mil on a unit to march it (spies are the exception.)
3011  * Units always react if in range and they have the mobility, no matter
3012     what their efficency.
3013  * Units may now march anywhere - in your own sectors, deity owned sectors
3014     or allied sectors, with 1 exception, spies.  Also, your units can get
3015     trapped if your ally declares non-alliance with you while your units
3016     are still in his country.)
3017  * Units always march at their speed, efficiency doesn't matter.
3018  * LANDSPIES was added - This creates land unit based spies.  Spies may march
3019     anywhere, with a chance of getting caught (except in allied territory.)
3020     See "info Spies" for more info on them.
3021  * Planes may now be based out of allied airports.  Landing planes on
3022     ships/sectors you do not own no longer changes thier owner.  You can only
3023     land on owned/allied sectors/ships, and you may only
3024     fly/bomb/para/recon/drop from owned/allied sectors.  So, if a country
3025     you are allied with goes hostile at you, your planes are now stuck there.
3026     Note that if you are using an allied airport, their commodities get
3027     sucked up, not yours (obviously.)
3028  * Planes are now tech-based.  Their statistics increase as their tech
3029     increases.  Deleted extraneous planes.
3030  * There is a new toggle, "techlists", which allows you to see what you
3031     can build/stats/capabilities sorted by tech instead of groupings.
3032  * Ships are now tech-based.  Their statistics increase as their tech
3033     increases.  Deleted extraneous ships.
3034  * Che can now be lessened by making happiness.  If you have more happiness
3035     than your conquered populace, they don't fight as hard or recruit as
3036     much.  If you have less than them, they fight harder and recruit more.
3037     It's not much though - it ranges from 2.0 in your favor to only 0.8
3038     against you (whereas it was always 1.0 before.)  So, it definitely
3039     favors the attackers to make lots of happy now.
3040  * Bridgeheads can only be built on coasts.
3041  * Players command was fixed so you only see allies, and don't get
3042     approx #'s of players anymore.
3043  * POSIX threads support has been added.
3044  * The attack bmap bug has been fixed.
3045  * BTUs regenerate 3 times faster now.
3046  * GRAB_THINGS is off by default.
3047  * Big nuclear bombs are back, and FALLOUT has been fixed and enabled
3048     as a default (you couldn't make wasteland before with FALLOUT, now
3049     you can.)
3050  * You can now deliver military and civilians.
3051  * Added SHIP_DECAY option - off by default (turns off ships decaying out
3052     at sea if not enough mil.)
3053  * The reverting owner bug has been fixed in territory, thresh, dist
3054     and deliver.  There are probably more, and when found, will be fixed.
3055  * The "sectors don't starve when stopped or broke" bug has been fixed.
3056  * The "people never get truncated" bug has been fixed.
3057  * Added infrastructure to sectors.  What this means is that a sector
3058     can now have it's mobility improved by building both roads and
3059     railways.  It also means that a sectors defense is now based on the
3060     defensive infrastructure you build into the sector (no more intrinsic
3061     better defenses based on the sector, you determine which sectors are
3062     defended heavily, and which aren't.)
3063  * The defensive value of a sector no longer relies on the efficiency of
3064     the sector. Instead, it relies on the defensive efficiency of the sector.
3065     Thus, the "production" and "defensive" aspects of sectors have been
3066     separated.
3067  * "show sect stats" now shows the maximum defensive value for sectors.
3068  * Changed sector structure to take floats for off/def values so we can use
3069     a base of 1 instead of 2.
3070  * Added "improve" and "sinfrastructure" to support the infrastructure
3071     concepts.
3072  * Added L_TRAIN units which can only travel along railways.  Very fast on
3073     efficient railways, slow on non-efficient ones.
3074  * Added the ability for units to carry other units.
3075  * Fixed census (shortened up "fallout" and "coast" to "fall" and "coa".)
3076  * Forts only cost $500 to build and 100 hcms now (since they don't get any
3077     better defenses automagically.)
3078  * Modified "show sect build" to show the costs for building up the
3079     infrastructure of a sector.
3080  * Changed "spy" and the satellite recon stuff (which shows sector stuff for
3081     spyplanes too) to show the new infrastructure stuff, rounded of course.
3082  * Added Drake's info->html scripts, with some modifications, so you can
3083     now type "make html" and have your info pages built as html files too.
3084     This adds a new directory, "info.html", to the build tree.
3085  * Modified upgrade so that planes and land units may now be upgraded.
3086  * Added pstat command to list the statistics of your planes.
3087  * Added lstat command to list the statistics of your land units.
3088  * Added sstat command to list the statistics of your ships.
3089  * Added nmap command to show a map of your sectors after their new
3090     designations have taken place.
3091
3092 .FI
3093 .s1
3094 .SA "Clients, Server, Infrastructure, Sectors, LandUnits, Planes, Ships"