]> git.pond.sub.org Git - empserver/blob - doc/CHANGES4.X
More 4.2.21 changes.
[empserver] / doc / CHANGES4.X
1 Changes to Empire 4.2.21 - Thu Jun 23 19:51:04 UTC 2005
2  * Fix mil duplication in board.  Broken in 4.2.14.
3  * Fix stack smash in lrange, shoot and execute.  Remote holes, and
4    the last one doesn't even require authentication.
5  * Fix crash bug in emp_config parsing.
6  * Fix buffer overruns in turn and shutdown.
7  * Fix second argument of shutdown.
8  * tele and turn now abort on EOF.
9  * Fix display of MOTD and game down message of maximum size.
10  * Correctly support telnet line termination on input.  Previously,
11    carriage returns could slip into ship names and such.
12  * Fix flash not to lie about recipients that are just logging in.
13  * Remove obscure login command list.
14  * Convert client from obsolete termcap to terminfo, and clean up
15    terminal handling.
16  * Rename info topics so they don't just differ in case.  Rename deity
17    command hidden to peek because its info topic clashed with that of
18    option HIDDEN.
19  * New fairland option -h to print usage information.  Improved
20    command line syntax diagnostics.  Exit unsuccessfully on unknown
21    options.
22  * fleet and army now copy retreat orders of the fleet's or army's
23    first member with group retreat orders in the same sector.
24    Previously, they used the retreat orders of the first fleet or army
25    member, which is less than useful, and failed to take ownership
26    into account, which is an abusable bug.
27  * New xdump nation.
28  * Fix xdump not to disclose other countries' losses.
29  * Fix exit status of files program when it can't create files.
30  * Support UTF-8 encoded Unicode in human-human communications.  This
31    affects MOTD, game down message, telexes, announcements and flash
32    messages.  See new doc/unicode for technical details.
33  * New login command `options' for client/server option negotiation.
34    See new doc/clients-howto for technical details.  The only option
35    so far is UTF-8.
36  * emp_client -u now requests UTF-8.  This requires a terminal that
37    understands UTF-8.
38  * Fix news for defensive land unit support.
39  * Properly mark seamines hit by retreating ships.  Unmark mines
40    cleared by bridges.
41  * Fix diagnostics for unknown selector names in conditionals.  Broken
42    in 4.2.20.
43  * Fix selector name clashes: rename ship selector mobquota to mquota,
44    land selector for reaction range limit from rad to rmax.
45  * Fix Windows services for relative file names on command line or in
46    econfig.  Broken in 4.2.20.
47  * econfig keys ship_grow_scale, plane_grow_scale and land_grow_scale
48    are now loat.  This gives deities finer control over maximum
49    efficiency gain.
50  * Fix production command for sectors with 60% efficiency.
51  * Improve syntax of read for deities.
52  * Code cleanups.
53  * Some info topic names differed only in case, which loses on
54    case-insensitive filesystems, and is a bad user interface even when
55    it works.  Change those names.
56  * Thanks to Doug Wescott, sheep are finally covered properly in info.
57  * Documentation fixes.
58
59 Changes to Empire 4.2.20 - Tue Mar 22 21:07:18 UTC 2005
60  * When units in different sectors marched, only units in the sector
61    with the highest-numbered unit were interdicted.  A marching
62    non-spy made all marching spies visible to interdiction regardless
63    of location.
64  * Fix crash when interdiction sinks second ship in a sector.  Broken
65    in 4.0.10.
66  * Fix an ancient bug in simulation of level production that clobbered
67    stack and could lead to low predictions, typically zero, which
68    screwed up budget.  The bug had no effect until 4.2.19.
69  * When a sector revolts, and there wasn't enough space to liberate
70    all uw, the number of remaining uw got the wrong sign.  Broken in
71    4.2.14.
72  * Log and abort when LWP stack check detects stack smash.  Server
73    option -s no longer implies -p.
74  * The native Windows build now supports -p and -s.
75  * The native Windows build now properly deals with ^C when running in
76    the foreground.  It no longer prompts for a quit command on the
77    terminal.
78  * The meaning of server option -D in presence of -e is unclear.
79    Other programs only support -e.  Remove option -D.  Use -e
80    DIR/econfig instead of -D DIR.
81  * New server option -v shows version information.
82  * Fix the server's exit status with -h.  Broken in 4.2.19.
83  * The linux-pthreads build failed to shut down on signals.
84  * Fix threading bugs in the native Windows build that made shutdown
85    unsafe and screwed up update aborting commands.
86  * New econfig key pre_update_hook to allow automatic, safe backup
87    right before the update.  See scripts/backup for an example.
88  * The server now prints log messages to stderr as well when running
89    in the foreground.
90  * Fix potential buffer overflows in logerror() and lwpStatus().
91  * Server now requires POSIX signals.  It no longer catches SIGUSR1.
92  * Remove support for ancient versions of HP-UX.
93  * Fix seeding of PRNG broken in 4.2.19.
94  * Don't reseed the PRNG in commands, it hurts randomness and could be
95    abused by crafty players.
96  * The server now makes the data directory its working directory.
97    This also gets rid of a bug that changed the file name of the
98    sector, power, nation and lostitems file unless econfig could not
99    be read.
100  * The server now writes a pid file.  Thanks to Daniel O'Connor.
101  * More user friendly server startup: more errors are detected while
102    the server still runs in the foreground, which makes it possible to
103    complain to stderr and to exit unsuccessfully.
104  * Early log messages went to the log file in the default data
105    directory, even though econfig specifies another data directory.
106  * Specifying an econfig file on the command line that can't be read
107    is now fatal.
108  * Errors in econfig are now fatal.
109  * The server now refuses to start when it can't open data files.
110  * News are now sorted and expire sanely.
111  * Conditionals can now compare strings as well.
112  * Corrupted down and motd files could cause buffer overflows.
113  * Fix recon to let player abort at the flight path prompt.
114  * power no longer rounds worldwide numbers for deities.
115  * power command failed to recognize deities with non-zero country
116    number.
117  * Change output of production command so that columns are aligned
118    even for large values.  Replace column wkfc by more useful column
119    avail.
120  * neweff and production miscalculated work when mil exceeded
121    population limit.
122  * neweff miscalculated work when the population limit exceeded 999.
123  * Fix capping of avail when a big city is torn down.
124  * Fix a bug in fire that allowed players to find all submarine uids.
125  * Maximum sector population is no longer hardcoded, and now covered
126    by xdump.  Option RES_POP now affects mountains and plains as
127    well.  From Ray Hyatt.
128  * Fix fina and news not to ignore errors in conditions.
129  * The native Windows build now requires Windows Sockets 2.
130  * The native Windows build now supports multiple instances of the
131    service.  The ability to supply additional startup parameters to
132    the service has been removed.
133  * Implement fairland command line parsing under Windows.
134  * Improved fairland and emp_server usage message.
135  * Code cleanups.
136  * Minor info file and documentation fixes.
137  * Much of the above was contributed by Ron Koenderink.  Many thanks!
138
139 Changes to Empire 4.2.19 - Thu Dec 23 20:24:24 UTC 2004
140  * Fix order not to unload into full sectors.
141  * Fix scrap not to dump stuff into full sectors.  Excess stuff is now
142    destroyed.
143  * Fix distribute not to conjure up a civilian when importing
144    civilians from a dist center that doesn't have any.
145  * Fix flak to resupply no more shells than actually needed.
146  * Fix rounding error in shoot that could result in more people shot
147    than actually there.
148  * Fix info and apro error handling.  In particular, do not leak
149    potentially sensitive information on the server to players.
150  * info no longer shows a random matching page when the topic argument
151    is ambiguous.  Instead, it lists all matching topics.
152  * Embarked land units and overflying planes no longer spot each
153    other.
154  * Fix show command to show only sectors that players can designate
155    (was broken in 4.2.18).
156  * Fix a rounding error in production command column `max'.
157  * Fix production command for overpopulated mountains and plains.
158  * Fix tradeship ally cut to match documentation.
159  * Fix plague, which was was broken in 4.2.14: it got stuck in stage I.
160  * Fix a bug in aerial sonar where ships could mask submarines with
161    the same number modulo 256.
162  * Don't allow bombing of subs that were not detected.
163  * MOTD and the game down message are now entirely separate: use `turn
164    motd' for the MOTD, and `turn on' and `turn off' for the game down
165    message.  `turn on' no longer lets you edit the MOTD.
166  * Remove option NUKEFAILDETONATE.
167  * Option ORBIT is no longer optional.
168  * New option GUINEA_PIGS to control experimental stuff not ready for
169    prime time.  If your deity enables this in a serious game, run!
170  * Many xdump fixes.  xdump is now enabled by option GUINEA_PIGS.
171  * New ship and land selectors rflags, rpath.
172  * New ship selectors for order: xstart. xend, ystart, yend,
173    cargostart, cargend, amtstart, amtend
174  * New ship selectors for sail: mobquota, path, follow.
175  * New news selector uid.
176  * Implement command line parsing under Windows where it was missing.
177  * emp_server and and files print a usage message on command line
178    syntax errors.
179  * Fix how emp_server exits after being panicked by a signal.  It can
180    now dump core when this happens.
181  * Fix bug in client that could crash it when a line of input starts
182    with '?'.
183  * Client now gets user name from environment variable LOGNAME if set,
184    else from system.
185  * The native Windows build can now run as a service.
186  * Redirecting client input now works under Windows.
187  * Code cleanups.
188  * Don't confuse work with loyalty in info Citizens.
189  * Minor info file and manual page fixes.
190  * Much of the above was contributed by Ron Koenderink and Marc
191    Olzheim.  Many thanks!
192
193 Changes to Empire 4.2.18 - Tue Sep  7 14:08:59 UTC 2004
194  * Fix info to accept abbreviated arguments under Windows.  From Ron
195    Koenderink.
196  * Buying planes or land units loaded on something didn't work when
197    that something moved.
198  * Fix a bug that could produce update cascades with update policy
199    UDP_TIMES.
200  * Fix delivery and distribution to grant packing bonus only to
201    efficient sectors, just like move.  Previously, delivery ignored
202    efficiency, and distribution behaved as if it were an efficient
203    sector without special bonuses.
204  * New sector selectors loyal, access; ship selectors radius, access,
205    xbuilt, ybuilt, builder, name; plane selectors radius, access,
206    theta; land unit selectors radius, react, nland, access; lost
207    selector id.
208  * Fix sector selectors che, che_target; plane selectors att, def;
209    nuke selector types; treaty selector exp; news selector time;
210    commodity selectors type, xbuy, ybuy.
211  * Option PLANENAMES is no longer optional.
212  * Ensure config parameter variables and their description in
213    configkeys[] are consistent.  Inconsistencies there caused bugs in
214    the past.  From Marc Olzheim.
215  * Complain if econfig file can't be read.
216  * Better messages for errors in econfig file.
217  * Remove unused econfig keys hard_tech and last_demand_update.
218  * New econfig key news_keep_days to configure news expiry.
219  * New econfig key anno_keep_days to configure announcement expiry.
220  * Fix announcement expiry.  It leaked file descriptors and memory,
221    and could corrupt the anno file.  From Ron Koenderink.
222  * New command xdump: experimental extended dump.  Disabled for now.
223  * Bankers no longer round down debts, and they collect interest for
224    the time debtors are idling at sub-prompts.
225  * Loan interest calculation was broken at the due date and after a
226    last payment made at the due date.  With luck, debtors could abuse
227    this to repay loans cheap (they couldn't gain cash, though), sharks
228    to purchase loans cheap, and creditors to collect excessively.
229  * Fix major bug in transport that allowed two cooperating countries
230    to duplicate items.
231  * Don't report interdiction damage twice when transporting planes.
232  * Fix message for attempting to transport a plane in a sector not
233    owned by the player.
234  * Fix confusing diagnostics when refusing to improve defense because
235    option DEFENSE_INFRA is off.
236  * Simplify confusing code in budget.
237  * Fix spacing in output of budget and show.
238  * Change one-way plane sorties to match ordinary sorties: offer
239    carriers regardless of the sector they're in, require carriers to
240    be efficient.
241  * Allow `realm #'.
242  * Don't print owner of incoming missile twice when intercepting it.
243  * Simplify constituent storage in product characteristics.
244  * Replace remaining `variables' leftovers; mainly in unit
245    characteristics.
246  * Remove leading spaces in deity unit dumps.
247  * Replace inappropriate uses of compile time constant ETUS by 60.
248    Deities don't change ETUS, they change etu_per_update by editing
249    econfig.  This nonsense dates back at least to chainsaw 3.31.
250  * Change ship production (fishing and drilling for oil) to match
251    sector production.  Ship efficiency and tech are now relevant, and
252    all people on board work.  From Ron Koenderink.
253  * Code cleanups.
254  * Minor info file fixes.
255
256 Changes to Empire 4.2.17 - Mon Aug 16 16:21:53 UTC 2004
257  * Fix seeding of PRNG under Windows.  The bug made updates occur at
258    a predictable time in the update window.  From Ron Koenderink.
259  * Close major loophole in drop that allowed players to determine
260    whether an arbitrary sector is sea, allied land, or other land.
261  * fly could fly civilians into occupied sectors.  For consistency
262    with other means to move around stuff, this is no longer possible.
263  * Don't allow flying to a carrier that doesn't have space for the
264    planes.  Previously, planes that did this were teleported home,
265    which could be abused.
266  * Close loophole in bomb that allowed players to find all
267    sanctuaries.
268  * Fix move and explore not to crash when moving civilians to a sector
269    without civilians, and interdiction destroys them all.  Found and
270    debugged by Jeff Cotter.
271  * Fix printing of messages entered with turn command.  '%' characters
272    could cause havoc, even crashes.
273  * Use sector's actual maximum population to compute chance of plague
274    outbreak.  Previously, code used 9999 for big cities and 999 for
275    other sectors, and info Plague said 999.  This makes all crowded
276    sectors equally vulnerable, even mountains, plains, and inefficient
277    big cities.
278  * Oil derricks no longer drill and deplete more oil than they can
279    hold.  From Ron Koenderink.
280  * Version 4.2.15's coordinate and list parsing fixes reject trailing
281    junk.  That's too strict.  Silently ignore trailing junk as long as
282    it starts with whitespace.
283  * Version 4.2.15's selector rewrite broke some type literals,
284    e.g. `?des=n' was interpreted as `?des=newdes'.  Change to prefer
285    type literals to selectors.
286  * Nightly build patches game to get repeatable PRNG results.  From
287    Marc Olzheim.
288
289 Changes to Empire 4.2.16 - Wed Jun 16 18:56:16 UTC 2004
290  * Previous version broke sector production when part of the work is
291    used for sector construction.  Fix courtesy Jeff Cotter.
292  * Add rudimentary tests to nightly build.  From Marc Olzheim.
293
294 Changes to Empire 4.2.15 - Wed May 26 17:55:58 UTC 2004
295  * test command no longer asks whether to abandon the sector.
296  * explore command could generate a bogus `lost' record when it
297    regains an abandoned start sector.
298  * edit command now properly updates stats when editing tech level of
299    ships, planes or land units.  A few of these stats can be edited
300    separately, which doesn't make much sense, and is now deprecated.
301  * edit command no longer accepts efficiency values that would destroy
302    the edited unit.  Deities can still delete units by setting the
303    owner to zero.
304  * upgrade command used to charge an amount of avail that didn't match
305    info upgrade.  Neither the implemented nor the documented amount
306    made much sense.  Change it to 15% of the full build cost.  Rewrite
307    info upgrade.
308  * Commands upgrade and build could be off by one when reporting
309    required avail.
310  * upgrade command reported rounded cost but charged unrounded
311    cost.  Round cost of upgrade down to match behavior of build.
312  * Upgrading planes now preserves range when it is less than the
313    maximum range.  It used to set it to the new maximum range.
314  * show bridge and show tower no longer claim bridge building requires
315    `workers' (whatever that is), since it doesn't.
316  * Replace option ROLLOVER_AVAIL by econfig parameter
317    rollover_avail_max, which is the maximum amount of avail that rolls
318    over.  Previously, avail was limited after rollover, and even when
319    ROLLOVER_AVAIL was off.  Fix that.
320  * Ships weren't always charged mobility for firing with option
321    NOMOBCOST off.
322  * Fix shell use of return torpedoes.
323  * designate no longer complains twice about deity only designations.
324  * Ensure designate zaps efficiency only when sector type really
325    changes.
326  * Fix strength to always report mines to deities.
327  * Remove option SHIP_DECAY.
328  * Fix bug in sonar that could crash or yield unpredictable results
329    near the true origin.
330  * Fix buffer overflow in flash and wall.
331  * Fix wall not to strip out first word of message.
332  * Change market and order to use item types instead of mnemo
333    characters internally.
334  * Market now reports sales with full item names instead of single
335    letter codes.
336  * buy now requires first argument to be an item name, as documented.
337  * production command handled production backlog incorrectly, failed
338    to limit production for production efficiency greater than one,
339    e.g. agribusiness, and incorrectly limited raw material
340    consumption.  Also fix a rounding error.  With help from Ron
341    Koenderink.
342  * Sector work was accidentally truncated to even.
343  * Fix coordinate parsing for large numbers when WORLD_X or WORLD_Y
344    don't divide SHRT_MAX+1.
345  * Properly diagnose over-long unit lists.
346  * Rewrite selector code.  Old code let players smash the stack by
347    supplying too many conditions.  New code properly rejects ambiguous
348    abbreviations and prefers exact matches.  Selectors with names that
349    collide with types, like land units' rad and spy, now work.  Selectors with
350    non-integral values, like land units' att, now work.
351  * survey used to display hundreds for everything but variables.  Now
352    it displays hundreds only for values that can be large.
353  * Rewrite info survey.  Document ability to survey properties other
354    than items and resources.
355  * Rewrite info build, since it was inaccurate and poorly structured.
356  * Fix info fire on required military.  From Marc Olzheim.
357  * New fairland argument -R to set the PRNG seed.  Print the seed.
358    This allows you to recreate the same world again.
359  * New facilities to deal with internal errors.  These crash when the
360    server is started with -d, which is appropriate for debugging, and
361    potentially disastrous for running a real game.
362  * Automated nightly builds.
363  * Code cleanups.
364
365 Changes to Empire 4.2.14 - Mon Mar 22 09:04:12 UTC 2004
366  * Options NEWPOWER, NEW_STARVE and NEW_WORK are no longer optional.
367  * Gripe about unknown options in econfig.
368  * Remove option GRAB_THINGS.
369  * Utility program files takes new option -f.
370  * Remove utility programs land, ore and perfect, which don't compile
371    since 4.2.0 (Oct '98).
372  * fairland no longer warns when it added resources, but when it
373    didn't.
374  * Fallout code could claim destruction of more items than actually
375    existed.
376  * Fix recursive resupply (resupply from supply land unit triggering a
377    resupply of the land unit) when just testing for how much can be
378    resupplied.  The bug could have led to insufficient resupply.
379  * Fix recursive resupply not to consume all fuel in supply units.  No
380    supply units consuming fuel exist in the stock game.
381  * Limit delivery and distribution thresholds to ITEM_MAX (9999).
382    Distribution threshold were previously limited to 10000, and
383    delivery thresholds to 65528.
384  * Limit items in sectors to ITEM_MAX (9999).  Commands give and buy
385    used to limit to 9990.  Market transactions and commands explore,
386    move, drop and fly to 32767.  Limiting in autonav code (order
387    command) didn't work.  Item delivery used to stop at 9990,
388    distribution at 9999.  Food growing and sector production used to
389    stop at 9999.  Grind, assault lunchboxes, demobilization, mine
390    sweeping and che liberating uw could theoretically attempt to
391    increase items beyond 65535, which would have been ignored
392    (destroying the increase).
393  * Properly saturate fallout at FALLOUT_MAX (9999).  Previously,
394    fallout increases behaved inconsistently.  Increases beyond 65535
395    could get ignored, or fallout could saturate at 9999, or it could
396    overflow at 65536 (that would take quite some nuking, though).
397  * Properly saturate mines at MINES_MAX (65535).  Previously, a mining
398    operation that would have gone beyond 65535 was ignored.
399  * Fix `are we loading or unloading' tests for load, unload, lload and
400    lunload.
401  * Fix editing of land unit attack and defense values.  Implement
402    editing of ship defense values.  Contributed by Ron Koenderink.
403  * edit now edits che number and target separately.
404  * Fix edit to properly extend unit files.  Contributed by Ron
405    Koenderink.
406  * Major internal reorganisation: Sectors need space for items,
407    deliveries and distribution thresholds.  To save space, the
408    ancients invented `variables': a collection of key-value pairs,
409    missing means zero value, space for `enough' keys.  This
410    complicates the code, as assigning to a `variable' can fail for
411    lack of space.  Over time, `enough' increased, and for quite some
412    time now `variables' have been *wasting* space.  Replace them,
413    except in unit characteristics, where they are read-only, and will
414    be replaced later.  This also removes misfeatures like plague
415    outbreaks silently deleting deliveries.
416  * Remove disabled commands dissolve and mult.  Remove configuration
417    parameters minmult and maxmult.
418  * trade command indexed an array out of bounds when attempting to
419    display the plague as commodity.  Fix.
420  * New make goal interix.  Contributed by Ron Koenderink.
421  * The type selector now prefers an exact match to a partial match.
422    ?type=sb now selects sb, not sbc, even when sbc happens to be found
423    first.
424  * Value of selector sell was always zero, remove it.
425  * Clean up selector code.
426  * satellite now displays all sectors owned by other players, and none
427    else.  It used to display all but sea, mountains, sanctuaries,
428    wasteland and wilderness.
429  * map commands now display wilderness and plains owned by other
430    players as '?'.  Radar commands now display all wilderness and
431    plains as '?'.
432  * Fix power timestamp for Windows.  Contributed by Ron Koenderink.
433  * Make client abort the current command on ^C under Windows, as
434    everywhere else.  Contributed by Ron Koenderink.
435  * Command line parser interpreted trailing whitespace as an another
436    (empty) argument.  Ignore it instead.
437  * Properly declare stuff in headers, include proper system headers.
438    Remove all nested external declarations.  Source code is now fully
439    prototyped.  Enable appropriate gcc warnings.
440  * Fix several type errors.  Some may have been show-stoppers on big
441    endian machines where sizeof(long) != sizeof(int).
442  * Remove pre-ISO C compatibility cruft (hey, it's been only fifteen
443    years).
444  * Various portability fixes.  Some bugs may have been show-stoppers
445    when sizeof(long) != sizeof(int).  With help from Marc Olzheim and
446    Ron Koenderink.
447  * Move some code to more logical places.  Remove some unused code,
448    some of which was hard to port.
449  * The files program could print error messages to a log file in some
450    circumstances.  Make it print to stderr.
451  * deliver can now change direction without changing the threshold.
452  * deliver now provides appropriate context when prompting for
453    thresholds.
454  * Login command play no longer ignores up to two arguments if there
455    isn't a third one.
456  * Fix payoff (was broken in 4.2.13).
457  * Capability fish didn't work together with capability oil.
458  * Fix and clarify plague outbreak chance in info Plague.
459  * Fix RES_POP maximum population in info Research.
460  * Fix info telegram and info announce on ~ escapes.
461  * Update info Selector to match code.
462  * Document all undocumented unit capabilities and stats.
463  * Document submarines' ability to carry landspies.
464  * Fix info shoot on security units.
465  * Various small info file fixes.
466  * Many fixes in the troff macro package for info files.
467  * Many fixes for translating info files to HTML.
468  * Many info file markup fixes.
469
470 Changes to Empire 4.2.13 - Fri Feb 13 22:12:36 UTC 2004
471  * Source code reindented and cleaned up somewhat.
472  * Various small info file fixes.
473  * Fixed change requiring 254 BTUs even when not charging any
474    (BLITZ).
475  * Fixed tactical non-marine missile crash.
476  * Fixed spy unit detection chance for eff<100.
477  * Fixed output of sorder.
478  * `edit' can now work non-interactively.  Contributed by Ron
479    Koenderink.
480  * Fixed and extended edit for sectors.
481  * Fixed use of errno.
482  * Minor security fix: doconfig now writes example auth entry as
483    comment.
484  * Fixed reading of country name and password in client for Windows.
485  * Replace use of some obsolete non-portable library functions by
486    portable equivalents.
487  * designate now warns about redesignated capital only when it
488    succeeds in redesignating the capital.
489  * attack could be off by one when reporting required unit mobility.
490  * Fixed command matching.  Unique prefixes were not always
491    recognized, and junk suffixes were ignored.
492  * Removed bestdistpath.  bestpath yields the same results.
493  * Renamed lstats to lstat for consistency and to match info page.
494  * Fixed non-portable fd_set * arguments of select().
495  * New `map' flag `h' to highlight own sectors.  Contributed by Marc
496    Olzheim.
497  * Fixed `sabo' reporting damage to player in deity coordinates.
498  * New option ROLLOVER_AVAIL.  Contributed by Drake Diedrich.
499  * Fix Windows server shutdown on reading "quit" from stdin.
500  * Land units now fortify automatically at the update using excess
501    mobility.  With code from Marc Olzheim.
502  * Wandering che are less predictable.
503  * Land units no longer regenerate mobility faster while it is
504    negative.
505  * Fixed emp_client -k.
506  * No longer allow pirates to ferret out where a ship was built.
507  * Fixed map commands to reject bmap flags `t' and `r' instead of
508    turning into bmap.
509  * Fixed lmine shell resupply.
510  * News no longer call all sub-launched missiles nuclear.
511  * Incoming missiles are now reported with coordinates.
512  * Removed some code that served no purpose except crashing on
513    Windows. 
514  * Fixed Mac OSX and AIX build problems.
515  * Don't resolve player IP addresses for now, because it can crash
516    with certain versions of GNU libc.
517  * Fixed recording of lost nukes.
518
519 Changes to Empire 4.2.12 - Mon Aug 18 16:54:21 MDT 2003
520  * Corrected contact information for Wolfpack.
521  * Sector isn't abandoned until move or explore is complete.
522  * Fixed multiple cases where return value of getstarg() was
523    used without being checked which crashed the server.
524  * Used stdarg.h instead of varargs.h.
525  * Call only_subs and save result before mission frees attacker
526    list.  Call with free list could cause server crash.
527  * Fixed spy sat map for units on opposite side of world wrap.
528  * Don't sleep in main thread when called from signal handler.
529  * Fixed error checking in pthreads.
530  * Properly detach pthreads.
531  * Pass unlocked mutex to pthread_mutex_unlock.
532  * Cope with interrupted sleep in pthread empth_sleep to prevent
533    double update.
534  * Added server configurable update window.
535  * Initialized variables passed to setsockopt in accept.c.
536  * Fixed bug where sharing bmap with uncontacted country crashes
537    server.
538
539 Changes to Empire 4.2.11 - Sun Sep  1 09:54:59 MDT 2002
540  * Added compile option for the Mac OSX architecture.
541  * Fixed bug in cargo where unit array was indexed by shp_maxno
542    instead of lnd_maxno.
543  * Fixed bug in reject where aborting the command crashes the
544    server.
545  * Can't buy land units into enemy headquarters.
546  * Added sabotage command and commando unit.
547  * Spies moving by themselves will not trigger interdiction.
548  * Fixed error in map distance calculation that caused errant
549    interdiction.
550  * Ships going under -127 mobility will be set to -127 mob and
551    not roll over to positive mobility.
552  * Corrected plane cost in info Maintenance.
553  * Changed error message for loans rejected for being too big.
554  * Land units will take casualty damage proportional to their
555    ability to carry mil.
556  * Fixed bug where "route i *" crashes server.
557  * Cannot upgrade planes in orbit.
558  * Fixed bug in declare with deity aborting command at last
559    prompt crashes the server.
560  * Coastwatch notify works with NO_FORT_FIRE option.
561  * Thread that kills idle connection will charge player for
562    minutes the player was logged on.
563  * Removed separate sendeof at end of execute from emp_client
564    that logged players off on certain platforms.
565  * Updated player idle counter during read prompt so players
566    wouldn't be kicked off during long flashes or writing telegrams.
567  * LOSE_CONTACT will work as advertised.
568  * Allied units marching through 0 mobility conquered sectors
569    are charged at least LND_MINMOBCOST.
570
571 Changes to Empire 4.2.10 - Mon Aug 13 14:34:39 MDT 2001
572  * Assault can reinforce own sector when SLOW_WAR is enabled.
573  * emp_client no longer converts lines into tags but still verifies executes,
574    pipes, and file redirect match players input.
575  * Added pboard command to capture enemy planes in your territory.
576  * Declaring war when at Sitzkrieg won't return relations to Mobilizing.
577  * Declaring war won't charge money if you're already Mobilizing.
578  * Added multiple territory fields.
579  * "show nuke build" displays the proper avail.
580  * retreating land units will only retreat to sectors owned by the player
581    that owns the unit.
582  * added hard cap of "250 + easy" to limit_level.
583  * education p.e. calculation divides edu constant by etu per update.
584  * Added patch for Linux for the PowerPC.
585
586 Changes to Empire 4.2.9 - Sun Jan  7 15:49:13 PST 2001
587  * Fixed data corruption when bogus target gets fired upon.
588  * Increased size of ancillary stacks to prevent stack overflow.
589  * Changed all references to empire.cx.
590  * Ships, planes, and land units lost to lack of maintenance will now be
591    lost.
592  * No longer allowed to sack deity's capital.
593  * Accuracy calculation in land unit support was backwards.
594  * Corrected formula for likelihood of plague in info Plague.
595  * Fixed files to correctly size map and bmap files from econfig file.
596  * No longer allowed to add country 0.  It corrupts deity country.
597
598 Changes to Empire 4.2.8 - Mon Oct  9 17:35:35 MDT 2000
599  * Fixed range in radar.t and Sector-types.t.  Maximum range at infinite
600    tech is 16.
601  * Changed so that player can't drop civilians into occupied sectors.
602  * Fixed bug that crashes update if etus/update is less than 8.
603  * Fixed sometimes not reporting overflights
604  * Fixing flak for units/ships to be in all sectors as they should be
605  * Updated order of firing flak in Flak.t.
606  * Fixed 80% efficient planes on ships must be maintained.
607  * Fixed initial MOB_ACCESS check thread sleep time was set by an uninitialized
608    variable. 
609  * Removed "TEMPORARILY DISABLED" message from mission command for escort
610    missions.  Escort missions have been re-enabled since 4.0.15.
611  * Using sonar from the navigate command will print the sonar map.
612  * Eliminated annoying error messages when using navigate with conditionals.
613  * Fixed Technology.t to correctly add 1 before taking the logarithm.
614  * Fixed bug that allowed players to steal opponents maps.
615  * Put time limit for bidding on market and trade in econfig file.
616  * Moved hours file information into econfig file.
617  * Added comments on setting update policy in econfig file.
618  * Added logging of cases where write extends data file by more than one id.
619  * Option MARKET is turned off by default.
620
621 Changes to Empire 4.2.7 - Fri Mar 10 18:41:04 PST 2000
622  * Added new NF_SACKED flag to indicate when a country has had it's
623    capital sacked.  This flag is only cleared when the country actively
624    redesignates it's capital using the "capital" command, and changed
625    capital.t to reflect this (no more re-sacking after an update if the
626    country doesn't reset and repeating until they are out of cash.)
627  * Added land unit to edit command for planes.
628  * Added nuketype to edit command for planes.
629  * Changed so that if the leader of a group of units is a train, the
630    railways are used for bestpath instead of roadways.
631  * Changed mission command to also print reaction radius of reserve
632    missions when set for land units.
633  * Changed Flak.t to reflect guns having to be loaded onto a land unit
634    for flak to fire.
635  * Changed so that visitor countries cannot change their name or password.
636  * Changed so that you cannot upgrade deity planes, ships or units.
637  * Changed so that you know where missions are flown from.
638  * Changed so that the airport owner you fly a mission from is informed.
639  * Changed so that preperations for takeoff are reported to the owner of
640    the sector, ship or unit a plane is taking off from if it is not owned
641    by the owner of the plane.
642  * Changed so that when a sector reverts during a guerrilla revolt, the
643    mobility is not reset.  When MOB_ACCESS is not enabled, this used to mean
644    you would always get at least an updates worth of mobility.  With
645    MOB_ACCESS, sectors that reverted during the update were useless, since you
646    got no mobility for a long time.  This fixes that problem, and makes che
647    more useful as well.
648  * Changed so that air defense missions don't always send up every plane in the
649    area, but instead always send up at most two times the number of incoming
650    planes (for each interdicting country.) This helps to stop 1 plane from
651    stripping the mobility from 25 air defense planes all at once, but doesn't
652    limit it to n+1 as there is for regular interception.
653  * Clarified deity reversion of sectors in Sector-ownership.t
654  * Clarified production efficiency and added pointer to "show sector cap"
655    in Product.t
656  * Clarified nuketype selector for planes in Selector.t
657  * Clarified that fortifying units does not affect mission status in info
658    pages for mission and fortify.
659  * Clarified fuel syntax upon error in fuel command in empmod.c.
660  * Cleaned up comments causing minor complaints in some builds.
661  * Fixed bug in loans where you could collect on proposed loans.
662  * Fixed production command to be more accurate (though it *still* has some
663    rounding errors, it's better.)
664  * Fixed potential memory leak in air defense missions.
665  * Fixed bug where you couldn't pinbomb some commodities if other commodities
666    didn't already exist in the sector.
667  * Fixed bug where you couldn't build 0 crew planes without military in the
668    sector.  (This is different from needing at least 1 military to build all
669    planes that need a crew which introduced another related bug earlier.)
670  * Fixed bug where scrapping land unit 0 could cause erroneous transfer
671    messages to be displayed for deity owned planes.
672  * Fixed bug where land units on ships in a sector taken over were blown
673    up or captured.
674  * Fixed bug where planes on ships in a sector taken over were blown up
675    or captured.
676  * Fixed bug in sdump printing origx and origy in deity coordinates.
677  * Fixed bug in satellites showing wrong sectors (sometimes) when using the
678    optional arguments.
679  * Fixed bug in launch showing wrong satellite target (showed asat instead
680    of the target satellite.)
681  * Fixed bug where you could gain information not normally available using
682    the "fire" command to determine sector type information.
683  * Fixed bug in market/trade creating extra money when loans are taken out.
684  * Fixed problem with land units not being reported sunk after being sunk
685    on a ship that was nuked or wastelanded in a sector.
686  * Fixed problem with Spies.t using "llook" instead of "llookout".
687  * Fixed problem in lwp/arch.c including jmp_buf.h instead of setjmp.h
688    on some Linux boxes.
689  * Fixed problem with plague infection being way too high in cities when
690    the BIG_CITY option is enabled.
691  * Fixed bug in edit command getting confused with arguments.
692  * Fixed bug in ask_move_in_off asking you to move in a negative number of
693    troops (hey, it could happen. :) )
694  * Fixed bug in add command not keeping flags or relations initially correct.
695  * Fixed bug in torpedo command sometimes telling victim about torpedo
696    sightings even when way out of range.
697  * Fixed bug in spy command not reporting planes in adjacent sectors, as well
698    as not formatting them properly when reporting them.
699  * Fixed bug in satellite with noisy transmission causing a potential
700    crash of the server with non-100% efficient satellites.
701  * Fixed potential crashing of the server during satellite display when not
702    calculating distances to ships and units correctly.
703  * Fixed bug where planes in non-allied sectors, ships and units could be
704    used on missions.
705  * Fixed bug where planes on the trading block could be used on missions.
706  * Fixed bug where planes and units that get traded don't have mobility set
707    correctly when using MOB_ACCESS option.
708  * Fixed bug which made security units virtually useless.
709  * Fixed access times and mobility not being set right when building planes,
710    ships, units, bridges and bridge towers when MOB_ACCESS is enabled.
711  * Fixed minor formatting problem with launch of satellites.
712  * Fixed minor formatting problem with planes with greater than 999 tech.
713  * Fixed minor formatting problem with ships with greater than 999 tech.
714  * Fixed problem with "llook" showing up in TOP info file.
715  * Fixed problem with lwp Makefile choking on NT builds with clean target.
716  * General cleanup of potentially ambiguous statements.
717
718 Changes to Empire 4.2.6 - Fri Jun  4 05:55:20 PDT 1999
719  * Added "TECH_POP" as an option where technology costs more to make
720    as your population grows past 50K civilians.  It is disabled by
721    default.
722  * Changed "produce" command to accurately print what the true p.e. is.
723  * Changed "update" command to display if mobility updating is enabled for
724    MOB_ACCESS option.
725  * Fixed bug where toggling off the coastwatch flag also turned off
726    forts firing on hostile ships coming into range.
727  * Fixed bug where assaulting your own land would violate any treaties
728    you have where assaults are a violation.
729  * Fixed bug where all planes (even those without need for a crew, such
730    as missiles) needed at least 1 military to build.
731  * Fixed bug where when a ship sinks during the update due to lack of maint,
732    land units and planes on it were left stranded.
733  * Fixed bug where when a land unit dies during the update due to lack of
734    maint, land units and planes on it were left stranded on it.
735  * Fixed bug where nukes could be lost due to MOB_ACCESS updating mobility
736    while arming.
737  * Fixed bug in "show sector capabilities" not showing products correctly.
738  * Fixed bug in "show tower build" printing "bridges" instead of "bridge
739    towers".
740  * Fixed bug in sectors that don't revolt not showing up as lost items.
741  * Fixed bug where maps with an X of exactly 200 is not drawing third line.
742  * Fixed bug where MOB_ACCESS was not updating the mobility just before
743    the update. 
744  * Fixed bug in the way treaties are examined and sometimes produce
745    wrong results.
746  * Fixed edit to allow creating negative mobility for sectors.
747  * Fixed setsector to allow creating negative mobility for sectors.
748  * Fixed bug where when writing out the value of a sector that had
749    negative mobility and was damaged in combat, mobility was being
750    set back to 0.
751  * Fixed Taxes.t info page to reflect that captured civvies only pay
752    1/4 taxes.
753  * Fixed Technology.t info page to reflect TECH_POP option.
754  * Fixed navigate.t info page to reflect that only ships in the fleet
755    in the same sector that are fired upon have damage divided up.
756  * Made techlists toggle on by default (so things are shown in order of
757    technological advances.)
758
759 Changes to Empire 4.2.5 - Mon Mar  1 06:42:24 PST 1999
760  * Added optimization to increasing mobility to check if an object is
761    already at max mob, just return since it can't be increased.
762  * Added "-ltermcap" for client libs for hp build (it was already in
763    hpux build.)
764  * Added clearing of telegram flags after the update so that the next
765    telegram is flagged as new and not part of the update.
766  * Fixed Update-sequence.t to reflect MOB_ACCESS.
767  * Fixed bug where fortification amount was not being limited to
768    maximum mobility for land units (land_mob_max).
769  * Fixed bug where land unit fortification strength was being calculated
770    by using 127 instead of land_mob_max.
771  * Fixed bug where scrapping land units was creating military.
772  * Fixed description of sect_mob_neg_factor in econfig file.
773  * Increased speed of PT boats.
774         
775 Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
776  * Added check to make military values match up correctly for land
777    units.
778  * Fixed bug in doconfig not putting ipglob.c in the right place.
779  * Fixed bug where attacking deity sectors will violate a treaty.
780  * Fixed newspaper.t information file.
781  * Fixed potential bug in fixing up timestamp information when restarting a
782    game with MOB_ACCESS turned on.
783  * Fixed bug in explore command not setting mobility to correct
784    value when MOB_ACCESS was enabled.
785  * Fixed bug in enlist setting mobility incorrectly sometimes.
786  * Added doc/backup file for deities which recommends how backups and 
787    restores of the data directory should be done.
788
789 Changes to Empire 4.2.3 - Wed Jan 13 06:02:35 PST 1999
790  * Added linux-pthreads target and build for using pthreads under Linux.
791  * Added NO_FORT_FIRE option which disables the ability of forts to
792    fire when enabled.
793  * Added more error checking and recovery for corrupt data files.
794  * Changed alphapos target to alpha-pthreads for better clarity.
795  * Changed fairland to allow 0 sector distance to other islands and
796    continents (James Risner)
797  * Changed "frg" and "dam" land unit stats to "rng" and "fir" so they
798    match the way ships are described (since this is how they really work.)
799  * Changed Unit-types.t to now describe "rng" as firing range of a unit,
800    and "fir" as the number of guns that a land unit fires.
801  * Cleaned up misc. build warnings.
802  * Changed artillery damage to be 5 + d6 per gun firing from just d6
803    per gun firing and updated Damage.t to reflect this change.
804  * Changed artillery firing ranges to be like ships ranges - divided
805    by two, and modified them to make more sense.
806  * Changed artillery units to be "slightly" :) more powerful.
807  * Changed "cavalry" unit to tech 30 and lowered mil content to 20.
808  * Changed "artillery" unit to tech 35.
809  * Changed so that guns are no longer required to build units, and
810    that guns must be loaded onto artillery units for them to fire.
811    Client developers note: the show command has not changed yet to
812    remove the 'guns' column (since guns are no longer required) but
813    will in a future revision (possibly 4.2.4) so "be prepared" for
814    "show land build" to change. :)
815  * Fixed landunitgun to handle all the damage calculations like it should.
816  * Fixed bug sinking planes when the ship they are on sinks.
817  * Fixed bug destroying planes when the land unit they are on is destroyed.
818  * Fixed bug where land units could fire support without enough military.
819  * Fixed bug in abandoning sectors by marching out a land unit where it
820    would not let you sometimes (uninitialized variable problem.)
821  * Fixed gets problem in files.c (James Risner)
822  * Fixed bug in determinig operations range of a ship.
823  * Fixed bug in building planes where you could manufacture military.
824  * Fixed warnings in threading package(s).
825  * Fixed fire.t to reflect new firing changes.
826  * Fixed lstat.t to reflect new firing changes.
827  * Fixed sstat.t to reflect the way things really work.
828  * Fixed Ship-types.t to reflect the way things really work.
829  * Fixed the way shutdowns work to hopefully better protect data files.
830  * Fixed bug in attacking when sector mobility is less than 0 and it would
831    prompt for attacking with a negative amount of military.
832  * Fixed typo in fire.t stating wrong parameters for firing from a sector.
833  * Fixed bug in client when it prompts for country name it was putting
834    an extraneous end of line on the end that needed to be stripped off.
835  * Fixed problems running on Linux running on an Alpha machine.  Thanks
836    to Rocky Mountain Internet and Jeremy A. Cunningham for giving us time
837    on a machine to work out the bugs.  (Note that the only build that
838    works on Linux/Alpha is the linux-pthreads)
839
840 Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
841  * Added some code optimizations into the update code when building paths.
842  * Added some new cacheing for building paths to help speed up updates.
843  * Added so that you can use "name" and "password" with the change command
844    as well as "country" and "representative".
845  * Added flag to power command so that if you are a deity and enter
846    a negative number of countries you want to see, you see the power chart
847    for that many countries without power numbers on the next line.  Only
848    useful for deities that want to see the chart un-broken up by that line.
849  * Added new functionality to fortify command.  You can now use a negative
850    fortification value to cause the unit to be fortified and leave at
851    least that much mobility on the unit. I.E. "fort * -67" will fortify
852    all units and make sure the mobility of each unit doesn't go below
853    67.  If the mobility is already below that level (or equal) the unit
854    is left unchanged.
855  * Added that the realm command prints "Realm #n is x:x,y:y" after
856    you set a new realm.
857  * Added TREATIES option and enabled it by default.
858  * Added "no depth-charging subs" and "no new land units" treaty
859    clauses.
860  * Added Trannie Carter's basic client fix to use fgets instead of gets.
861  * Changed market and command to only print the lowest priced lot of
862     each given commodity by default.  If you specify "all" it shows
863     all lots on the market, and if you specify a specific item, it shows
864     all lots of that item type.
865  * Changed start command to only write out sector if it changed.
866  * Changed stop command to only write out sector if it changed.
867  * Changed how plane names were changed on server startup if the
868    PLANENAMES option was enabled.
869  * Changed move command to use standard askyn function for abandoning
870    sector prompt.
871  * Changed plane overlight sightings to take stealth into account,
872    and if the planes managed to evade all flak and interceptors, they
873    are not marked as "spotted" over enemy sectors.
874  * Changed all units with the supply flag to have their marching speeds
875    based on efficiency since that is their purpose.  What this means is
876    that supply units and trains are more effective at 100% than at 10%
877    (just as fighting units are more effective at 100% than at 10%, but
878     their effectiveness is determined by how well they fight, not how well
879     they "run away, run away!" :) )
880  * Changed so that flash toggle is on by default for POGO at setup
881    time.
882  * Changed so that when a sector is taken, all land units owned by the
883    current owner are treated as planes are during takeovers (i.e. there
884    is a pretty good chance they are blown up, and if not, they change owner
885    to the attacker and are beat up pretty good.)
886  * Fixed treaties to work again.
887  * Fixed bug in taking over land units not using correct pointer (can
888    cause a crash or data corruption.)
889  * Fixed collect command to wipe deliver and distribution information
890    correctly.
891  * Fixed potential bug in bmap not working when destination bmap has
892    blank spaces in it.
893  * Fixed bug in shark command not getting right nation structure.
894  * Fixed bug in server where empty commands (for example, all spaces
895    or tabs) were being reported as bogus commands.  They are now just
896    ignored.
897  * Fixed bug in scrap not dropping land units off of scrapped units carrying
898    them.
899  * Fixed bug in news where boarding of land units was reported backwards.
900  * Fixed bug in calculating new people when growing them during an update.
901  * Fixed missing -ltermcap in HP/UX build.
902  * Fixed setsector to limit mobility to 127 not 255 (255 was being caught
903    later and being reset to 0 anyway)
904  * Fixed Sector-types.t to show a '\' instead of a '/' for wasteland,
905    since that is what it really is.
906  * Fixed retreat.t documentation to reflect the "retreat upon failed
907    boarding" flag.
908  * Fixed bug where satellites were not orbiting the world during the
909    update.
910  * Fixed bug in torpedos being too smart.  They knew how to jump over
911    land! :)  Now the "line_of_sight" routine is used to determine if a 
912    torpedo has a straight path to the destination.  If it doesn't, the
913    torpedo no longer jumps over land, but instead slams into it.  This was
914    an interesting bug because you could torp ships on the other side of
915    a very skinny island as long as they were in range, even if there was
916    no sea route possible.
917  * Fixed bug when pinbombing and you run out of an object to pinbomb (land
918    units for example) but you still have to pick something to bomb.  For
919    ships it worked ok (just aborted that it couldn't find any more ships)
920    and this was fixed for land units and planes.
921  * Fixed server crashing bug when flying a plane and not carrying
922    any cargo.
923  * Fixed bug in move losing commodities when it runs out of room in the
924    destination sector.  Goods are now attempted to be returned to the
925    start sector, and apporpriate steps taken if the start sector is no
926    longer available.
927  * Fixed march to prompt you before you abandon a sector you own by 
928    marching out the last land unit.
929  * Fixed check functions to only check the relevant portions of the structure 
930    and not the timestamp info that doesn't affect how the object functions.
931  * Fixed bug in spy command that always told you if a spy unit was in a
932    non-owned sector.
933  * Fixed bug in displaying of land unit missions not showing correct land
934    unit range.
935  * Fixed bug in wire command where new announcements that you read at
936    the last second don't get wiped out properly.
937  * Fixed bug where announcement file could be corrupted by very long lines.
938  * Fixed bug where bmap was not set when player was told what kind of
939    sector they were attacking (this was an old abusable bug that was
940    removed long ago to fix the abuse, and it's been fixed in a non-abusable
941    way finally.)
942  * Fixed bug where change command would warn you about monetary and
943    BTU costs, but not prompt you to break out if you didn't want to really
944    change your country name.
945  * Fixed bug in sub-launched nukes that are intercepted being reported in
946    the news incorrectly.
947  * Fixed bug in load where you could abandon a sector and not know it by
948    loading your last civilians or military onto a ship.
949  * Fixed potential memory leak in autonav code.
950  * Fixed potential bug where you could possibly determine if a sector is
951    owned or not using one way plane missions.
952  * Fixed Damage.t info page to properly show damages for planes and
953    land unit shelling.
954  * Fixed deliver.t to include syntax for command.
955  * Fixed country.t to include syntax for command.
956  * Fixed bug where ships on orders were not adding radar information to
957    the bmap during an update.
958  * Fixed bug where ships on sail were not adding radar information to
959    the bmap during an update.
960  * Fixed bestownedpath code to use the bmap properly.  Note this is a very
961    important bug fix.  When navigating a ship, players are no longer given
962    free information that they would not normally know.  For example, if you
963    try sailing your ship off into uncharted areas of your bmap, the bestpath
964    code will only use as much information as you have on-hand (i.e. your
965    bmap) to plan out your path for you.  If you have no information on an
966    area, it just keeps forging on, until bumping into something.  Of course,
967    after the initial exploration through an area, the bmap will be set and
968    used for all future sailings through that area.  Harbors and bridges
969    are still checked for construction worthiness if you know where they
970    are (i.e. they are on your bmap.) (Overall, what happened before
971    was that the bestpath code would route your ship around islands that
972    you didn't even know were there, and you could use various commands
973    to see how that ship was going to sail during the update and thus you
974    gained information that you wouldn't normally know.)
975  * Merged bestpath and bestownedpath and wrote new wrappers, "BestShipPath"
976    and "BestAirPath" to use it properly.  It is also good to note that
977    bestownedpath is used to determine paths for ships and for planes, 
978    and that best_path (which uses the A* algorithm) is used for all land
979    based paths, and that the two are never interchanged.
980  * Removed "jet recon" plane (it slipped in during the PLANENAMES conversion,
981    and RECON was never used before.)
982  * Removed extraneous "resnoise" and "resbenefit" functions and combined
983    the two for setresource and setsector commands.
984
985 Changes to Empire 4.2.1 - Tue Nov  3 12:56:20 PST 1998
986  * Fixed problem with global/plane.c not defining last structure element
987    properly, and thus causing crashes when accessing certain plane
988    routines.  This happened during the move to make the PLANENAMES option
989    run-time configurable.
990         
991 Changes to Empire 4.2.0 - Thu Oct 29 06:27:15 PST 1998
992  * Bumped rev to 4.2.0 since this is a major release (the server is now
993    run-time configurable for just about everything and is released under
994    the GNU GPL.)
995  * Put in official licensing information.
996  * Re-arranged and commented the econfig (Empire Configuration) file.  The
997    auto-generated "data/econfig" file is now pumped out chock full of
998    comments (which may or may not be useful.)  Since the server is
999    pretty much fully run-time configurable (MAXNOC is not, but it gets
1000    a default of 99 anyway) deities will probably be spending more time
1001    in the config file.
1002  * Added server support for building under NT, including mods from
1003    Doug Hay and Steve McClure to get the server building and running
1004    under NT. (This was built using MSVC++ 5.0 on NT 4.0 and command
1005    line "nmake nt")
1006  * Added Doug Hay's ntthread.c implementation for NT threading.
1007  * Added max pop column to "show sector stats" output.
1008  * Added lboard command for boarding land units from sectors.  Only raw
1009    mil can board land units, and only mil and land units aboard the unit
1010    being boarded fight back.
1011  * Added GODNEWS option.  When enabled, the deity giving people stuff
1012    is shown in the news.
1013  * Added bridge tower sector ('@')
1014  * Added BRIDGETOWERS option.  When enabled you can build bridge towers
1015    from a bridge span.  You can then build bridge spans from the tower.
1016    If the tower is destroyed ( <20% eff) bridges connected fall unless
1017    supported on the other side.  You can only build bridge towers in open
1018    water not adjacent to land and other towers.  Expensive.
1019  * Added plains sector ('~') - Max pop is 1/40th regular sectors, and
1020    it is deity creatable only (can't redesignate unless you wasteland it
1021    with a nuke :) )
1022  * Changed "info all" to no longer use printdir, instead it just uses the "all"
1023    info page which contains this information.
1024  * Changed so you can now load up to 2 spy units onto non-land unit carrying
1025    submarines if the LANDSPIES option is enabled.  Useful for sneaking up
1026    to shore and spying on your neighbors.
1027  * Changed so spies unloaded from ships are not given as gifts, they are just
1028    unloaded quietly.
1029  * Changed build command to handle building towers ("build t")
1030  * Changed show command to show tower stats ("show t b")
1031  * Changed reject so you can now reject things from any country except
1032    deity countries (this now includes sanctuary countries and visitor
1033    countries you don't want to deal with)
1034  * Changed ndump to dump nuclear stockpile ID as well.
1035  * Changed flash so that if someone allied to you is either not logged on or
1036    not accepting flashes, you are notified.  This is info you could gain
1037    otherwise since you can see other countries that are allied to you via
1038    players.
1039  * Fixed bug in news command when HIDDEN mods are enabled.
1040  * Fixed distribute command to only write out to the database if we
1041    actually changed the sector (i.e. if we really moved the dist
1042    center, we write.  Otherwise, it makes no point.)
1043  * Fixed threshold command to only write out to the database if
1044    we actually changed the sector (i.e. if we really changed the
1045    threshold, we write.  Otherwise, it makes no point.)
1046  * Fixed - population growth and truncation in "Update-sequence.t" info
1047    file is now clearer
1048  * Fixed the way fortify takes mobility away from a land unit if
1049    engineers are present.
1050  * Fixed bug in buying commodities at the last minute not resetting the
1051    time correctly in all situations.
1052  * Fixed bug in building nukes where it would always ask if you tried
1053    building more than one at a time.
1054  * Fixed bug where if you put (either by building or by transporting)
1055    more than 127 of one type of nuke in a sector, they all got lost. A
1056    negative wrapover sort of thing.
1057  * Fixed ndump to print # of stockpiles dumped.
1058  * Fixed ndump.t to reflect changes
1059  * Fixed bug in build command that didn't account for EOL characters.
1060  * Fixed bug where you could use planes to drop conquered populace
1061  * Fixed bug in distribute command in how it checked for current distribution
1062    sector.
1063  * Fixed pr_flash and pr_inform to no longer send messages if the player
1064    is still in the process of logging in (i.e. not in the PLAYING state)
1065  * Fixed report command output for deities.
1066  * Fixed bug in nuclear damage either taking out submarines when it
1067    shouldn't, or not taking them out when it should.
1068  * Fixed bug in loading units that are carrying units onto other units
1069    (note that it doesn't happen since only HEAVY units can carry other
1070    units and that check works, but that might change some day, and we
1071    don't want units carrying units to be carried by other units, etc. :) )
1072  * Fixed info pages to reflect new sector types.
1073  * Fixed info pages to reflect new spy unit capabilities.
1074  * Fixed show commands to only show trade ships if the TRADESHIPS option
1075    is enabled.
1076  * Fixed build command to only allow building of trade ships if the
1077    TRADESHIPS options is enabled.
1078  * Fixed up some definitions located in many places used for checking
1079    sectors for navigation rights.
1080  * Fixed power.t to correctly describe NEW_POWER formula.
1081  * Made HIDDEN option run time configurable.
1082  * Made LOSE_CONTACT option run time configurable.
1083  * Made ORBIT option run time configurable.
1084  * Made SAIL option run time configurable.
1085  * Made MOB_ACCESS option run time configurable.
1086  * Made FALLOUT option run time configurable.
1087  * Made SLOW_WAR option run time configurable.
1088  * Made SNEAK_ATTACK option run time configurable.
1089  * Made WORLD_X and WORLD_Y run time configurable.
1090  * Made MARKET option run time configurable.
1091  * Made LOANS option run time configurable.
1092  * Made BIG_CITY option run time configurable.
1093  * Made TRADESHIPS option run time configurable.
1094  * Made SHIPNAMES option run time configurable.
1095  * Made DEMANDUPDATE option run time configurable.
1096  * Made UPDATESCHED option run time configurable.
1097  * Made LANDSPIES option run time configurable.
1098  * Made NONUKES option run time configurable.
1099  * Made PLANENAMES option run time configurable.
1100  * Removed SMALL_SERVER stuff (unused baggage)
1101  * Removed trading post sector ('v')
1102
1103 Changes to Empire 4.0.18 - Thu Sep 24 06:54:27 PDT 1998
1104  * Fixed bug in aircombat where planes in flight could intercept air
1105    defense planes and take no damage (i.e. they got to fight twice,
1106    once for free.)
1107  * Fixed bug in freeing memory after performing missions that could crash
1108    the server (it mainly happened after an interdiction mission using
1109    planes and escorts, where some escorts came from airports that didn't have
1110    bombers going up.  Freeing the leftover escorts was crashing the server.)
1111  * Fixed bug where you could load non-existant units if you were allied
1112    with country #0.
1113  * Fixed bug where you could pin-bomb a plane with itself.
1114  * Fixed bug where satellites over a bridge may get killed if the bridge
1115    is sunk.
1116  * Fixed bug where land units on a ship in the same sector as a bridge
1117    that is splashed may get sunk.
1118  * Fixed bug where planes on a ship in the same sector as a bridge
1119    that is splashed may get sunk.
1120  * Fixed doconfig with correct empire site text.
1121  * Fixed major problem with abms not firing, and sometimes crashing
1122    server.
1123  * Fixed bug in land units counting up loaded units wrong.
1124  * Fixed doconfig makefile to have doconfig.c as a dependency.
1125  * Fixed bug in resetting commodities (the comm_uid was not being
1126    properly set.)
1127  * Fixed bug in repaying loans not working correctly (the l_uid was not
1128    being properly set.)
1129  * Fixed bug in buying items from the trading block not allowing you
1130    to due to a perceived change in item status.
1131  * Fixed bug in mfir.c where a bogus input to a target could crash
1132    the server.
1133  * Fixed bug that after you read telegrams new telegrams may not send
1134    an inform message (the old telegram flags were not cleared.)
1135  * Fixed bug where fort support distance calculations are calculated
1136    twice instead of just once.  This bug caused a lower percentage
1137    of support fire than designed.
1138  * Fixed bomb.t to reflect land unit changes.
1139  * Put in some integrity checking for planes returing from bombing runs.
1140  * Added ability to edit land unit that a land unit is loaded on in
1141    edit command.
1142  * Consolidated bridgefall code into "knockdown" function (this code
1143    existed in at least 3 places, and was different in all of them.)
1144  * Subs returning fire are no longer reported in the news.
1145  * Visitor countries can now use the 'motd' command.
1146  * When trying to use a visitor country, if it is in use, you are not told
1147    by whom, just that it is in use.
1148  * Optimized (slightly) support fire from forts not getting supply and
1149    shells if not needed (out of range)
1150  * Updated Education.t
1151  * Modified (increased) chances of hitting mines slightly.
1152  * Removed unused variables from shp_check_mines.
1153         
1154 Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
1155  * Added ability in edit to change coastal flag for sectors.
1156  * Added ability in edit to edit plague values for ships.
1157  * Added ability for "spy" to report all units/planes not owned by you
1158    that exist in the sector you are spying from.
1159  * Modified naval planes and anti-sub planes.
1160  * Changed so that missiles and bombs that miss their targets cause
1161    collateral damage in the target sector (they have to land somewhere!)
1162  * Changed llook so that non-spy units are required to have at least 1
1163    military personnel on board to see anything.
1164  * Fixed "llookout.t" to reflect change for military requirement.
1165  * Updated Plague.t
1166  * Updated upgrade.t
1167  * Added "lmine" flag for deities to see what sectors have mines in them
1168    (works for sea and land mines, used "lmine" to distinguish it from "min"
1169    which determines mineral (iron) content of a sector.)
1170  * No longer able to pin bomb land units on a ship.
1171  * Land units are required to have at least one military loaded to perform 
1172    a mission.
1173  * Firing land units are required to have at least on military loaded to
1174    be able to fire (or return fire.)
1175  * Spies are not always seen when being pinbombed.  You have to look very
1176    carefully for them (as you usually would.)
1177  * Fixed typo in "Spies.t"
1178  * Added new info about spy ability to spy.t.
1179  * Updated tax information in Innards.t and Update-sequence.t
1180  * Fixed typo in fire.t information about units firing on ships.
1181  * Loading military onto land units now resets fortification.  (You gotta
1182    re-fortify the new guys.)
1183  * Fixed bug where planes that were mine capable could not drop mines if
1184    they were not cargo capable.
1185  * Fixed bug in potentially crashing in update code for nations tech/research.
1186  * Fixed bug in execute putting you into execute mode incorrectly.
1187  * Fixed bug in board not allowing land units to board from 0 mobility 
1188    sectors.
1189  * Fixed bug where interdicted land units that were missed displayed
1190    a "SPLASH! Bombs miss your ships" message.
1191  * Fixed bug in minesweeping sectors where, even with mobility or
1192    having the sweep ability, ships would get hit by mines for doing
1193    nothing.
1194  * Fixed bug in count_land_planes always writing out land units unnecessarily.
1195  * Fixed bug in count_planes always writing out ships unnecessarily.
1196  * Fixed bug in lnd_count_units always writing out land units unnecessarily.
1197  * Fixed bug in count_units always writing out ships unnecessarily.
1198  * Fixed bug in llook that reported units on ships.
1199  * Fixed bug in llook that reported satellites launched over the unit.
1200  * Fixed bug in llook that always reported spies (it should be a 10-100%
1201    chance)
1202  * Fixed bug in anti possibly not saving lost items correctly.
1203  * Fixed bug in planes getting extended range when on missions and the
1204    op center is not where the plane is located.
1205  * Fixed bug in land unit defensive strength not being based on the eff of
1206    the unit when calculating odds of a battle.
1207  * Fixed bug in board not reporting consistant information.
1208  * Fixed bug in the way land unit casualties were being taken.
1209  * Fixed bug where land units on ships could return fire.
1210  * Fixed bug where land units on other land units could return fire.
1211  * Fixed bug where land units on other land units could fire.
1212  * Fixed bug in attacks/assaults/boardings spreading plague incorrectly.
1213  * Fixed bug in updating plague for ships.
1214  * Fixed bug in updating plague for land units.
1215  * Fixed bug in updating plague for attacking/defending land units.
1216  * Fixed bug where you couldn't pin-bomb land units that were < 20% eff.
1217  * Fixed bug which revealed the owner of torping subs when on a mission.
1218
1219 Changes to Empire 4.0.16 - Fri Jun 12 08:52:06 EDT 1998
1220  * Added patches sent in by Steve McClure, Sverker Wiberg and Curtis
1221    Larsen.  They are described with other changes below.
1222  * Fixed bugs in the following commands that allowed two cooperating
1223    countries to create infinite numbers of any commodity and/or cash
1224    at any time (race conditions in the server): build, board, deliver,
1225    designate, distribute, explore, fuel, improve, load, ltend, mobquota,
1226    move, name, order, reset, sail, sell, set, tend, territory, test,
1227    threshold, torpedo, transport, unload
1228  * Fixed bug in board command giving out too much information about a
1229    non-owned sector when it shouldn't be.
1230  * Fixed bug in board command when firing on a sector in defense before
1231    checking mobility.
1232  * Fixed bug in rangeedit allowing plane(s) to possibly be stored wrong.
1233  * Fixed bug in launch allowing plane to possibly be stored wrong after
1234    launch.
1235  * Fixed bug in lrangeedit allowing land unit(s) to possibly be stored wrong.
1236  * Fixed bug in morale allowing land unit(s) to possibly be stored wrong.
1237  * Fixed bug in arm/disarm allowing a plane to possibly be stored wrong.
1238  * Fixed bug in loan sometimes not writing database correctly.
1239  * Fixed bug in collect.
1240  * Fixed bug in dropping mines from land units.
1241  * Fixed crashing bug in sector_strength routine when oceans take
1242    collateral damage.
1243  * Fixed bug in transport possibly decrementing too much mobility when
1244    moving a nuke.
1245  * Fixed some little warning type messages building with gcc -Wall.
1246  * Fixed problem compiling lwp threads with glibc6 under Linux.
1247  * Changed flash so that players can always flash deities.
1248  * Changed players command to always show deities and visitor countries
1249    that are logged on, and only show allied countries for normal player
1250    countries.
1251  * Fixed bug in anti command not stopping sectors when they revolt.
1252  * Fixed bug in set_coastal function not counting bridge spans as
1253    water based sectors (after all, the land is still a coastal sector,
1254    even if next to a bridge span.)
1255  * "flash" and "players" is re-enabled for visitor accounts.
1256  * Fixed bug in bleeding of technology and research to other players.
1257  * Fixed bug in explore not spreading plague correctly.
1258  * Fixed bug in move not spreading plague correctly.
1259  * Fixed bug in deliver not spreading plague correctly.
1260  * Fixed bug in distribute not spreading plague.
1261  * Included "postresults" script in the scripts directory which can be
1262    used to auto-post daily power chart/announcements to rec.games.empire.
1263  * Updated Plague.t
1264  * Updated Innards.t
1265  * Removed OVCONFIG from build.conf, and patched doconfig to match.
1266  * doconfig is only run if needed
1267  * emp_client and emp_server are only linked if needed
1268  * Added list of disabled options to the version command.
1269  * Fixed bug in survey allowing you to see hidden variables.
1270  * Re-enabled escort missions due to above bug fix most likely the problem.
1271  * Changed one instance of "restrict" to "restricted" in bestpath.c.  For
1272    some reason, this was causing a problem on one of the Linux builds (??).
1273  * Added "show sector capabilities" functionality (this didn't exist
1274    before.)
1275  * Fixed bug in neweff not reporting stopped sectors.  It now (correctly)
1276    reports them as not changing eff.
1277         
1278 Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
1279  * Fixed the spelling of Markus' name in CHANGES4.0 files.
1280  * Added Markus' patches/fixes.  Some are detailed below.
1281  * Added 'mipsultrix.gxx' build target.
1282  * Fixed doconfig to write ipglob.c in the correct target area.
1283  * Fixed a bunch of type casting that needed to be done correctly.
1284  * Only print out last connect by for non-visitor accounts.
1285  * 'players' command is only useable by non-visitor accounts.
1286  * Fixed ask_off in attsub.c to not print out allied sector mil counts
1287    when attacking from neighboring sectors.
1288  * Fixed targetting of che when taking over sectors.
1289  * 'anti' command only fights che that are targetted at you.
1290  * Fixed update not updating timestamps of objects (ships, planes, land
1291    units, sectors.)
1292  * Fixed bug delivering conquered populace.
1293  * Fixed potential bug scuttling ship with land units on it.
1294  * Moved heavy bombers to tech 90.
1295  * Fixed bug in setsector telling the deity coordinates of sectors being
1296    granted/taken away.
1297  * Fixed bug in setting budget of enlistment sectors to 0.
1298         
1299 Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
1300  * Fixed time_t problem in common/log.c
1301  * Fixed bug in headlines
1302  * Replaced vaxultrix build flags with proper vanilla ones.
1303  * Fixed bug in update/prepare.c (sometimes not getting charged for
1304    mil on units and ships)
1305  * Fixed bug in printing of "No ship(s)" twice in cargo command when no
1306    ships were selected.
1307  * Temporarily disabled escort missions until a fix is found. They are
1308    randomly crashing the server.  
1309  * Fixed morale.t to reflect that retreat percentage is based off of
1310    morale_base and not 75.
1311  * Fixed bug in bridgefall where planes and units on ship in a sector
1312    that has a bridge collapse are being sunk.
1313  * Fixed bug in update/produce.c when a sector overflows it's capacity
1314    on production.
1315  * Fixed bug in produce command reporting incorrect costs (sometimes).
1316  * Land units on ships will now try to draw supply from the ship they
1317    are on.
1318         
1319 Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
1320  * Fixed bug in distribute when world sizes are other than 64x32
1321  * Fixed bug in getcommand (not really a bug, just made it work like
1322    it used to so that the players command is useful for deities
1323    again)
1324  * Fixed building of POSIX threads on Alpha running Digital Unix.
1325  * Fixed line_of_sight prototype in sona.c
1326  * Fixed fairland not to conuse stupid C++ compilers.
1327         
1328 Changes to Empire 4.0.12 - Tue Feb 24 11:27:31 EST 1998
1329  * Fixed client build on linux (whoops)
1330         
1331 Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
1332  * AIX build seems to only work with gcc right now (but at least that works)
1333  * Vax Ultrix (vaxultrix) build should work now (hopefully) out of the box.
1334  * Took out autosupply of airports when bombing or dropping shells.
1335     (This was the only commodity this was done for, and it was creating
1336     problems since supply is still somewhat broken somewhere)
1337  * Included Curtis Larsen's, Markus Armbruster's and Sverker Wiberg's
1338     submitted patches, which collectively included cleaning up most
1339     of the server prototypes and bogus declarations.  Many thanks.
1340  * Increased incoming command buffer to 1024 from 512 bytes
1341  * Increased the # of parsed arguments from 64 to 100
1342  * Fixed bug where spies were not dying when damaged.
1343  * Fixed bug in HIDDEN mods in declare command not printing country # of
1344     uncontacted country correctly (or at all as a matter of fact)
1345         
1346 Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
1347  * Fixed bug where fleets were being interdicted but the damage was being
1348     spread to ships not in the same sectors.
1349  * Fixed but in market when buying goods without enough cash.
1350  * Planes in orbit over airports are no longer fixed up during updates.
1351  * Planes in orbit are no longer damaged when the sectors they are over
1352     are damaged.
1353  * Planes on ships are no longer damaged when the sectors they are in are
1354     damaged, unless the ship is damaged.
1355  * Fixed problem with no newline after partisan activity telegram in
1356     anti.c
1357  * Fixed problem in chan.c printing out change costs incorrectly.
1358  * Fixed problem in dispatch.c screwing things up on redirection.
1359  * financial should now handle 6 and 7 digit loans.
1360  * Planes on ships that are in sectors that revolt are no longer taken
1361     over.
1362  * Fixed bug in powe.c where the power report was mis-calculating the
1363     efficiency of planes.
1364  * Fixed doconfig.c to use STDC instead of multi-level #ifdefs.
1365  * Fixed bug in parse.c that was screwing up double quotes in conditional
1366     arguments.
1367  * Military in a sector now only produce up to maxpop, just like civvies
1368     and uw's.  No more stuffing 6K mil into a mountain to max it out.  You
1369     can still hold more mil there over the updates, but the extras just
1370     won't produce anymore.
1371  * Fixed bug in shark that allowed you to shark up loans even if you couldn't
1372     cover the debt.
1373  * Fixed bug in day of week calculation for server up time in common/keyword.c
1374     that is used for gamedays.
1375  * Documented what happens to standing military in collect.t when you collect
1376     a sector.
1377  * Documented mountains only holding and using 1/10th of the normal sector
1378     population in Sector-types.t.
1379  * Fixed documentation on ship's firing ranges in fire.t to be less 
1380     ambiguous.
1381  * Updated nukes in nuke.t
1382  * Added apropos command (thanks to Mike Wise)
1383  * Added case-insensitivity to the info command (thanks to Mike Wise).  If
1384     there are two files of the same name, and you don't get a complete match,
1385     then whichever file is found first in the directory is used.
1386  * Changed documentation in wantupd.h
1387         
1388 Changes to Empire 4.0.9 - Sat Apr 19 23:01:51 EDT 1997
1389  * Fixed dump info pages that were getting formatted funny.
1390  * Fixed improve info page.
1391  * Fixed bug in allied planes/units not moving when the carriers move.
1392  * Fixed bug in satellite output for <100% satellites.
1393  * Fixed bug in load/unload not putting a newline after some unloadings
1394     in allied sectors.
1395  * Fixed bug in harden not printing correct values.
1396  * Fixed bug in creating/moving/etc. nuclear stockpiles.
1397  * Fixed bug where subs were trying to torp commodities moving on land when
1398     on interdiction.  (This was funny ;-) )
1399  * Fixed bug in "move" where you could keep a sector even after someone else
1400     took it from you.
1401  * Budget now correctly reports the # of units being built.
1402  * Mil on units & ships are now reported as normal military costs, not
1403     ship or unit maintainence costs in budget.
1404  * Fixed bug in update code where taxes could potentially be initialized
1405     incorrectly (affected budgets too.)
1406  * Fixed bug in nat.h header so that it uses SCT_MAXDEF instead of a fixed
1407     number (that was incorrect.)
1408  * Fixed bug with trains - they needed the xlight flag to carry planes.
1409  * Revamped and improved flak.
1410  * Added "Flak" info page.
1411  * Added "Fallout" info page.
1412  * Fixed repay/offer/consider to all need a capital to be used.
1413  * Fixed bug with air defense missions not running when not AT WAR.  They now
1414     fly when HOSTILE.
1415  * plane/ship/unit short names are all now 4 characters, padded if needed.
1416  * pdump/sdump/ldump/ndump now just print the short name for the type.
1417  * sdump now has ship name at very end in quotes.
1418     These were done at the request of some client developers for ease of use.
1419  * Fixed extra space in the dump output.
1420  * Fixed fallout - not quite so nasty anymore.
1421  * Fixed fallout - things on ships/units are damaged now.
1422  * Fixed and balanced planes/ships/units/nukes in conjunction with each other.
1423  * Fixed bug in doconfig.c calculating wrong s_p_etu sometimes.
1424  * Fixed bug where harbors weren't being used to resupply.
1425  * Fixed bug where selling units loaded with planes and units wouldn't take
1426     the loaded planes or units - they are now dropped.
1427  * Fixed bug in arm/disarm where you could arm/disarm planes on the trading
1428     block.
1429  * Deities can now remove things from the trading block/market.
1430  * Fixed bug in "work" not charging engineers enough mob.
1431  * Fixed bug in "work" not adding teardown and buildup avail costs together.
1432  * Subs no longer need mobility to return fire when fired upon.
1433  * Fixed "reset".
1434  * Fixed bug in "trade" allowing 2 players to pay for the same item, but only
1435     the last player gets it.
1436  * Fixed bug where you couldn't launch missiles from allied ships or sectors.
1437  * Fixed bombing so that pin-bombing can cause collateral damage too.
1438  * Fixed sector damage to damage planes there too.
1439  * Fixed flag in lload so that it doesn't always print if not needed.
1440  * Fixed "sell.t" info page.
1441  * Fixed bug in "buy" where not entering the price correctly could cause
1442     a crash.
1443  * Fixed "sell" so that at least 1 mobility is required to sell goods.  Keeps
1444     the midnight "raid and sell" abuse down. :)
1445  * Fixed "show plane cap" to move the last column over 1 more where it should
1446     be.
1447  * Fixed timestamps to be updated for units/planes on ships/units that move,
1448     since those units/planes move too.
1449
1450 Changes to Empire 4.0.8 - Wed Feb 26 23:00:51 EST 1997
1451  * Fixed bug in nstr_exec that was wiping out the previous conditional.
1452     This was major because it affected timestamp values which are more
1453     than 65535.
1454  * Fixed bug in sdump.c for typo in reporting the trade ships origin.
1455         
1456 Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
1457  * Fixed bug in aircombat.c when calculating the air combat odds.  Negative
1458     numbers were screwing things up good...
1459  * Fort sector's coordinates are no longer printed when auto-firing at
1460     ships.
1461  * Subs can now surface and fire deck guns (again)  They can also be
1462     hit by return fire when doing so.
1463  * Fixed bug in setting of plane attack and defensive values so that
1464     negative numbers don't keep going further negative.
1465  * Fixed incorrect military control calculation in the sell command.
1466  * Trading posts are no longer required to sell goods from.  You can sell
1467     from harbors and warehouses now too.
1468  * Spy now prints out the owner of land units you see when spying.  Before
1469     this was assumed to be sector owner, which is no longer true.
1470  * Loading land units now prints out what was loaded onto each unit,
1471     just as loading ships do.
1472  * Added fallout, coast, c_del, m_del, c_cut and m_cut to dump output.
1473  * Added "GO_RENEW" option.  This option means that gold and oil resources
1474     are renewable.
1475  * Added "lost_items_timeout" config variable, and set the default to
1476     48 hours.  This determines how long lost items stay in the lost items
1477     database.
1478  * Fixed land unit names to be more consistent.
1479  * Fixed mission.t info page.
1480  * Fixed bug in that if mission_mob_cost was set to 0, even negative
1481     mob units should be able to be put on missions.
1482  * Removed restriction on things needing to be at least 60% to be put
1483     on a mission.  Note that while you can put them on missions at < 60%
1484     now, when trying to do the mission, it still checks the eff.  This
1485     is to help in automatic setup (build, put on mission, forget) instead
1486     of having to come back repeatedly.
1487  * Spies caught in Neutral or Friendly countries cause the Neutral or
1488     Friendly country to go Hostile towards the owner of the spy.
1489  * Tweaked ammunition numbers for artillery units.
1490  * No more automatic declarations of War should be made.  You will go 
1491     hostile, but since going to war doesn't increase your countries
1492     defenses, and is purely political, it is left to the player to go
1493     that final step.
1494  * Fixed bug in trade that wasn't incrementing the time if last second bidding.
1495  * Fixed bug in "lmine" that was crashing the server if the land unit was
1496     out of mobility.
1497  * Fixed buy so that if you specify a product, you can only bid on that
1498     type of product.
1499  * Added "lost.t" info page.
1500  * Added "lost items" database (EF_LOST)
1501  * Fixed bug where you could move in allied forces after an attack if they
1502     bordered the victim area.
1503  * Fixed nstr_comp to deal with values > 16 bits coming in from
1504     client for comparisons.
1505  * Changed last minute market/trade timers to increment 5 minutes.  2 minutes
1506     was too quick.
1507  * Fixed decode in lib/common/nstr_subs.c to deal with NSC_TIME better.
1508  * Commented out the logging of the market checking in server/marketup.c,
1509     lib/commands/buy.c and lib/commands/trad.c  It was generating lots of
1510     pretty much useless data that made parsing the server.log file more
1511     more difficult than it needed to be.
1512  * Fixed crashing bug in ldump.
1513  * sdump, ldump, ndump, pdump and dump now print out the current
1514     timestamp on the "DUMP XXX" line.
1515  * Fixed denial of service bug in lib/player/accept.c in
1516     player_find_other function.
1517  * Fixed bug in shark reporting incorrect buyer of the loan.
1518  * Fixed bug in sdump.c (case 0 should have been case 10)
1519  * ldump and sdump now always print the fuel column if asked for,
1520     even if opt_FUEL is turned off.  In the case that it is turned
1521     off, the fuel is listed as 0.
1522  * Added "timestamp" field, which is updated every time an item is
1523     changed.
1524  * Fixed up the Clients.t info page.
1525  * sdump now prints trade ship building origin.
1526  * sdump now always prints name even if SHIPNAMES isn't defined.  If
1527     it is not defined, then the name is empty.
1528  * Added "timestamp" to info/Concepts/Selector.t
1529  * Added some more relevant info to info/Server/Empire4.t
1530  * Fixed Infrastructure.t info page to reflect the fact that infrastructure
1531     is no longer torn down when a sector is re-designated.
1532  * Fixed sell.t to more accurately reflect the time-delay market.
1533  * Fixed read.t and wire.t to reference accept and reject.
1534  * Fixed reject.t not referencing accept command.
1535  * Fixed collect.t to more accurately reflect what goes on when collecting
1536     sectors.
1537  * Fixed financial.t to reflect defaulted loans.
1538  * Fixed dump.t, sdump.t, ldump.t, ndump.t, pdump.t to reflect new
1539     timestamp info.
1540  * Fixed "census.t" (had incorrect reference to "info syntax" instead
1541     of "info Syntax".
1542
1543 Changes to Empire 4.0.6 - Thu Jan 16 11:33 EST 1997
1544  * Increased damage from depthcharges because on increased damage from
1545     torpedos.  Sub frange decreased to be more balanced with destroyer frange.
1546  * Intelligence reports (spy) on units will now report the estimated number
1547     of mil on the unit.
1548  * Fixed equation for ship visibility so it will drop as tech increases.
1549  * Added new commands sdump, ldump, pdump, and ndump to dump data on ships,
1550     land units, planes, and nukes.
1551  * If fields are provided, dump will only supply those fields requested.
1552  * Decreased speed of subs.
1553  * When options NO_LCMS or NO_HCMS are set, those commodities are no longer
1554     required for infrastructure improvements.
1555  * Units that lose an assault or a boarding attempt from a ship will no
1556     longer swim back to the ship they came from.
1557  * Units that take extra casualties will no longer lose all their mil at
1558     once.
1559  * Infrastucture is retained when redesignating a sector.
1560  * Dieing spies will no longer crash the server.
1561  * Units, planes, and ships must have mobility to perform missions.
1562  * Units on ship being scrapped are transferred to harbor.
1563  * Food is no longer autoloaded onto units when they are built.
1564  * Fixed show plane stat to show correct range.
1565  * Infantries now take damage at same rate as casualties.
1566  * Fixed bug with hap_fact.  Having more happiness now helps with fighting
1567     che.
1568  * Fixed anti to write back target country so che will continue to fight
1569     when they survive.
1570  * Fixed llookout to show correct estimate on number of mil on unit.
1571  * Added buildable architecture "hp".  This type will build the server on
1572     a HP/UX machine using the standard compiler instead of gcc.
1573
1574 Changes to Empire 4.0.5 - Thu Dec 12 10:28:48 EST 1996
1575  * Fixed bug in update/distribute.c where pathcost was not being called with
1576     the MOB_ROAD argument (and thus distribution costs could be GREATLY
1577     affected.) - Thanks Ice!
1578
1579 Changes to Empire 4.0.4 - Mon Dec  9 11:00:00 EST 1996
1580  * Fixed Solaris port using gcc.
1581  * Fixed doconfig.c to create directories with right modes.
1582  * Fixed install macros in makefiles to move binaries to the right
1583     places.
1584         
1585 Changes to Empire 4.0.3 - Wed Dec  4 22:46:53 EST 1996
1586  * Added HP/UX port.
1587  * Fixed doconfig.c (put exit(0) at the end of main.)
1588  * Fixed improve.c (moved the prompt[] string outside the fcn.)
1589
1590 Changes to Empire 4.0.2 - Mon Oct 14 12:26:40 EDT 1996
1591  * Put in LND_MINMOBCOST in land.h
1592  * Put in change in lnd_mobcost in lndsub.c
1593  * Put in new nuke costs in nuke.c
1594  * Put in fix so that total work can only be done by the max pop. No more extra
1595     civvies tossed in will do it anymore in human.c.
1596  * Put in fix for src/util/Makefile - beefed it up.
1597  * Put in fix to show where your ship is when it gets shelled in mfir.c.
1598  * Changed infrastructure of roads from .040 to .020 (122 instead of 150 in
1599     common/move.c)
1600  * Fixed Update-sequence.t.
1601  * Put in fix for mobcost bonus for 0% highways.
1602  * Fixed stop.t
1603  * Fixed commodity.t
1604  * Spruced up torpedo damage somewhat. :) :)
1605  * Fixed "assault bmap bug" in attsub.c
1606  * Fixed Produce.t (bars cost)
1607  * Changed mountains to get an automatic "2" for defensive bonus in attsub.c
1608  * Fixed consider.t
1609  * Fixed repay.t
1610  * Fixed offer.t
1611  * Fixed "offer" and "consider" not being legal commands in player/empmod.c
1612  * Fixed Damage.t
1613  * Fixed sstat.t
1614  * Fixed lstat.c, pstat.c and sstat.c
1615  * Fixed cutoff command in cuto.c
1616  * Fixed attack value in attack_val in lndsub.c
1617  * Fixed lload in commands/load.c
1618  * Fixed defense_val in lndsub.c - Made it a minimum of 1, so that units will
1619     always fight until dead or retreating.  0 makes them get stuck. 
1620  * Fixed update/deliver.c - no delivery of non-oldowned civvies (or anything
1621     else for that matter.)
1622  * Fixed llook in commands/look.c
1623  * Fixed che bug in subs/nstr.c
1624  * Fixed bug in strv.c by overcompensating by 1 food per sector (minute amounts
1625     of people would starve.)
1626  * Fixed update/human.c - feed_people rounding problems (I hope.)
1627  * Fixed morale problem in update/land.c
1628  * Fixed count_bodies in attsub.c
1629  * Fixed lnd_mobcost.
1630  * Fixed subs/land,plane,ship.c to handle sunken units and planes correctly.
1631  * Fixed interest rate in commands/offe.c
1632  * Fixed bug in buy.c.
1633  * Put in DEFENSE_INFRA soption o you can turn on/off the use of the defensive
1634     infrastructure.  When off, the defensive infrastructure is the same
1635     as the sector efficiency, and you can't improve it.  This is OFF by
1636     default.
1637  * Fixed Empire4.t
1638  * Added Wolfpack.t
1639  * Land units are now built with a default reaction radius of 0.
1640  * Changed name of lt artilleries to "lat" from "lart" so you can now build
1641     "lar"s again.
1642  * Lowered the speed and firing range of pt boats.
1643  * Lowered the initial att strength of cavs from 1.5 to 1.3 (they were TOO
1644     powerful.)
1645  * Changed the max mob gain defaults of units/planes to 1.0 and ships to 1.5
1646     (This is * ETU_RATE, so it is equal to ETU_RATE for units/planes and
1647      1.5 * ETU_RATE for ships.)
1648  * Conquered civvies only pay 1/4 taxes.
1649  * Railways don't get torn down when you rebuild sectors anymore (but roads
1650     and defenses do (if enabled.)
1651
1652 Changes to Empire 4.0.1 - Wed Aug 28 11:35:40 EDT 1996
1653  * Added "extern double tradetax" to check_trade in trad.c
1654  * Improved description of data directory in build.conf
1655  * Fixed bug in attacking land units that retreat so they now get
1656     charged mobility for attacking.
1657  * Fixed dump to report road, rail and defense of a sector at the end.
1658  * Fixed doconfig bug in not checking the right directory to see if the
1659     "data" directory existed or not before trying to create it.
1660  * "change" now works for sanctuary countries.
1661  * Fixed the description of "sinfrastructure".
1662  * Added more info to "Infrastructure".
1663  * Units/planes are no longer reduced to 75% when bought from the trading
1664     block.
1665  * Supply units were slowed down to the speed of infantry units.
1666  * Trade-ship payoffs have been lowered to 2.5, 3.5 and 5.0
1667  * Bars interest is up to $250 per 1K again.
1668  * Civ taxes were raised back up to a 10:1 mil/civ tax ratio (was 20:1)
1669  * Fixed various info pages.
1670  * Fixed bug in people not getting truncated when broke (this was thought
1671     to be fixed, but wasn't. Now it is, dammit!)
1672  * Fixed bug with units marching across oceans (scuba gear not included. ;-) )
1673  * Market/trade taxes and trade ship payoff figures were added to version.
1674  * "cede" has been removed as a default command.
1675  * Makefile rule was fixed for depend build.
1676  * Fixed bug in mapdist not taking world edges into account nicely enough.
1677  * Added a "scuttle" order for autoscuttling trade ships.  Makes using them
1678     easier.  Cleaned up scuttle code while in there.
1679  * Fixed bug with scuttling a ship with units on it not scuttling the units
1680     too.
1681
1682 Changes to Empire 4.0.0 - Initial release
1683  * Initial Wolfpack release - Long live the Wolfpack!!!!
1684  * Cleaned up the build environment.  Now all that is needed is to edit the
1685     build.conf file, answer the questions there and type "make <arch>" to
1686     build for a specific architecture.  Thus, no more reliance on gnumake
1687     or special shell scripts.
1688  * We are now shipping the pre-built info pages with the server for those who
1689     Don't want to build them.  You can also still just type "make" and have
1690     the info pages build, but it doesn't completely work (i.e. rebuild new
1691     Subjects) if you don't have perl5 installed.
1692  * Put in the "help" command that does the same thing as "info".
1693  * Removed C_SYNC.  This is done for 2 reasons.  1) None of us like it or
1694     wish to support it.  2) We envision a better scheme for doing similar
1695     things will come along.
1696  * Put in MOB_ACCESS - This allows real-time updating of mobility.
1697  * Put in MARKET - This is the time-based market (yes, still teleports,
1698     but it's not as bad as it was.)
1699  * Lots of the documenation has been updated, but there is more to do.
1700  * Added NO_LCMS, NO_HCMS and NO_OIL options.  When any of these options are
1701     enabled, you don't need any of that type of material to build things.
1702     If NO_HCMS is enabled, you don't need HCMS to build bridges, you need
1703     lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need 
1704     any materials to build a bridge.
1705  * There is no mobility cost for assigning missions.  But, there is also
1706     no longer any benefit for being on a mission either.
1707  * Damage is the same for all commodities (people too.)  This means you
1708     can deity shell/bomb sectors again.
1709  * Units are now dependant on tech.  What this means is that their statistics
1710     now increase with tech.  In addition, there is only 1 type of each basic
1711     unit now (i.e. just "cavalry" instead of "cavalry 1", "cavalry 2", etc.)
1712     This reflects the idea that as you learn more, you learn how to not only
1713     build better units, but you learn to build units better. :)  This also
1714     opens the door for a "lupgrade" command along the same lines as the
1715     "upgrade" command for ships.
1716  * Units now have a minimum mob cost for attacking a sector.  Marching
1717     mob costs have not changed.
1718  * Starting units have been removed.  This means that at the beginning, people
1719     may live a little longer since their neighbor can't come visiting quite
1720     as quick.
1721  * Shells are no longer required to build units.
1722  * Mil are no longer required to build units.
1723  * Mil are no longer an intrinsic part of a unit.  They are now a loadable
1724     commodity.  The way a unit's defense/att bonuses work now are
1725         attack = (att * mil * eff)
1726         defense = (def * mil * eff)
1727     In addition, when a unit takes damage, both the eff and the mil go
1728     down.  You can quickly toss in new hacks, but you need to wait to repair
1729     the unit at the update.  Thus, you can now look at unit's efficiency
1730     as their training.
1731  * You need at least 1 mil on a unit to march it (spies are the exception.)
1732  * Units always react if in range and they have the mobility, no matter
1733     what their efficency.
1734  * Units may now march anywhere - in your own sectors, deity owned sectors
1735     or allied sectors, with 1 exception, spies.  Also, your units can get
1736     trapped if your ally declares non-alliance with you while your units
1737     are still in his country.)
1738  * Units always march at their speed, efficiency doesn't matter.
1739  * LANDSPIES was added - This creates land unit based spies.  Spies may march
1740     anywhere, with a chance of getting caught (except in allied territory.)
1741     See "info Spies" for more info on them.
1742  * Planes may now be based out of allied airports.  Landing planes on
1743     ships/sectors you do not own no longer changes thier owner.  You can only
1744     land on owned/allied sectors/ships, and you may only
1745     fly/bomb/para/recon/drop from owned/allied sectors.  So, if a country
1746     you are allied with goes hostile at you, your planes are now stuck there.
1747     Note that if you are using an allied airport, their commodities get
1748     sucked up, not yours (obviously.)
1749  * Planes are now tech-based.  Their statistics increase as their tech
1750     increases.  Deleted extraneous planes.
1751  * There is a new toggle, "techlists", which allows you to see what you
1752     can build/stats/capabilities sorted by tech instead of groupings.
1753  * Ships are now tech-based.  Their statistics increase as their tech
1754     increases.  Deleted extraneous ships.
1755  * Che can now be lessened by making happiness.  If you have more happiness
1756     than your conquered populace, they don't fight as hard or recruit as
1757     much.  If you have less than them, they fight harder and recruit more.
1758     It's not much though - it ranges from 2.0 in your favor to only 0.8 
1759     against you (whereas it was always 1.0 before.)  So, it definitely
1760     favors the attackers to make lots of happy now.
1761  * Bridgeheads can only be built on coasts.
1762  * Players command was fixed so you only see allies, and don't get
1763     approx #'s of players anymore.
1764  * POSIX threads support has been added.
1765  * The attack bmap bug has been fixed.
1766  * BTUs regenerate 3 times faster now.
1767  * GRAB_THINGS is off by default.
1768  * Big nuclear bombs are back, and FALLOUT has been fixed and enabled
1769     as a default (you couldn't make wasteland before with FALLOUT, now
1770     you can.)
1771  * You can now deliver military and civilians.
1772  * Added SHIP_DECAY option - off by default (turns off ships decaying out
1773     at sea if not enough mil.)
1774  * The reverting owner bug has been fixed in territory, thresh, dist
1775     and deliver.  There are probably more, and when found, will be fixed.
1776  * The "sectors don't starve when stopped or broke" bug has been fixed.
1777  * The "people never get truncated" bug has been fixed.
1778  * Added infrastructure to sectors.  What this means is that a sector
1779     can now have it's mobility improved by building both roads and
1780     railways.  It also means that a sectors defense is now based on the
1781     defensive infrastructure you build into the sector (no more intrinsic
1782     better defenses based on the sector, you determine which sectors are
1783     defended heavily, and which aren't.)
1784  * The defensive value of a sector no longer relies on the efficiency of
1785     the sector. Instead, it relies on the defensive efficiency of the sector.
1786     Thus, the "production" and "defensive" aspects of sectors have been
1787     separated.
1788  * "show sect stats" now shows the maximum defensive value for sectors.
1789  * Changed sector structure to take floats for off/def values so we can use
1790     a base of 1 instead of 2.
1791  * Added "improve" and "sinfrastructure" to support the infrastructure
1792     concepts.
1793  * Added L_TRAIN units which can only travel along railways.  Very fast on
1794     efficient railways, slow on non-efficient ones.
1795  * Added the ability for units to carry other units.
1796  * Fixed census (shortened up "fallout" and "coast" to "fall" and "coa".)
1797  * Forts only cost $500 to build and 100 hcms now (since they don't get any
1798     better defenses automagically.)
1799  * Modified "show sect build" to show the costs for building up the
1800     infrastructure of a sector.
1801  * Changed "spy" and the satellite recon stuff (which shows sector stuff for
1802     spyplanes too) to show the new infrastructure stuff, rounded of course.
1803  * Added Drake's info->html scripts, with some modifications, so you can
1804     now type "make html" and have your info pages built as html files too.
1805     This adds a new directory, "info.html", to the build tree.
1806  * Modified upgrade so that planes and land units may now be upgraded.
1807  * Added pstat command to list the statistics of your planes.
1808  * Added lstat command to list the statistics of your land units.
1809  * Added sstat command to list the statistics of your ships.
1810  * Added nmap command to show a map of your sectors after their new
1811     designations have taken place.
1812