1 .TH Server "Empire4 Changes"
2 .NA Empire4.2 "Changes in Empire 4.2 (1998-2005)"
5 This document outlines the various changes to the game and how they
6 will affect you, the player. These were coded as the Wolfpack project.
8 Changes to Empire 4.2.23 - Sun Oct 23 09:28:26 UTC 2005
9 * Make version pretend option SHIPNAMES still exists, for the benefit
10 of clients that still depend on it.
11 * The change to conv in 4.2.22 could crash or compute incorrect
13 * Info updates missing in 4.2.22.
14 * A few code cleanups.
16 Changes to Empire 4.2.22 - Tue Oct 11 20:23:51 UTC 2005
17 * Log player login, logout and session kill.
18 * Close loophole in assembly point rules that allowed players to find
19 all unowned sectors. The assembly point must now be owned by you
20 or an ally, or you or an ally must have a ship there.
21 * Don't let embarked land units fire flak.
22 * Fix display of the last connection's host when the host name was
24 * Fix change command to accept full length representative (password),
25 currently 19 characters. It used to chop off after eight
27 * Non-recon missions no longer establish contact to owners of
28 overflown sectors, because those missions do not identify the
29 owner. This matches info Hidden.
30 * The following events now establish contact:
32 - Sighting a ship when toggle coastwatch is off
33 - Spotting overflying planes
34 - satellite spotting land units
35 - lookout and llookout spotting ships, planes and land units
36 - Any relations change
37 * The country command's `temporary' state of disorder ended after
39 * Telegram notifications could get lost in exotic circumstances,
40 e.g. while a second client attempted to connect. Can be abused for
42 * Remove option SNEAK_ATTACK.
43 * Fix lboard not to let you board dead land units.
44 * Fix stack smash in bomb, drop, fly, paradrop, recon and sail.
46 * bomb, drop, fly, paradrop, recon and sail now deal with EOF
48 * Fix fly to let the player abort the command at the last prompt.
49 * Client no longer reads execute scripts in binary mode under
51 * New econfig key listen_address.
52 * econfig key port can now be a service name. Service empire no
53 longer takes precedence over econfig.
54 * Client falls back to compiled-in host only if environment doesn't
55 supply one, not if it can't be resolved. Same for port.
56 * Oil derrick could extract slightly more oil than was in the ground.
57 * test command checked start sector for space and some other things
58 instead of end sector.
59 * convert now silently limits conversions to avoid exceeding maximum
61 * shoot no longer limits you to 999 victims.
62 * 4.2.19 broke pin-bombing commodities on some platforms.
63 * Don't block on output while update is pending. This is required to
64 ensure the update can abort commands.
65 * Commands submitted while the update is waiting for commands to
67 * The force command no longer waits for the specified time. It
68 starts a scheduling thread instead, just like shutdown.
69 * Correct grammar and punctuation in output of version.
70 * Option SHIPNAMES is no longer optional.
71 * Fix output of qorder and sorder for ships with sail path.
72 * Don't change capital to agribusiness on retake. From Pat Loney.
73 * bdes prompt for new designation was messed up for empty bmaps.
74 * Client now supports pipes under Windows.
75 * Care for subtle Windows socket incompatibilities.
76 * Fix strength command not to lie about units reacting into
78 * strength now yields the processor periodically, to keep the game
80 * Schedule commands more fairly. Previously, a sufficiently fast
81 player could starve out the others.
82 * launch assumed plane maximum mobility 127 for calculating when
83 satellites will be ready to use.
84 * Drop support for DCE threads.
85 * Drop support for pthread implementations lacking pthread_kill().
86 This includes ancient versions of OS X.
88 * Minor info file fixes.
89 * The above includes major contributions from Ron Koenderink. Many
92 Changes to Empire 4.2.21 - Sat Jul 16 17:51:01 UTC 2005
93 * Don't let threads block on output to another player thread's
94 socket. Such blocking violates basic design assumptions and can
95 cause all kinds of grief. In particular, it causes player session
96 hangs under Windows with 4.2.20. Broken since the introduction of
97 flash and asynchronous telegram notification many years ago.
98 * Threads sleeping until a specified time could return early under
99 Windows. This could cause double-updates.
100 * Fix fallout damage (was broken in 4.2.19).
101 * Fix show sector s (was broken in 4.2.19).
102 * Fix deliver not to deliver friendly civilians into occupied
104 * Fix mil duplication in board (was broken in 4.2.14).
105 * Fix stack smash in lrange, shoot and execute. Remote holes, and
106 the last one doesn't even require authentication.
107 * Fix crash bug in emp_config parsing.
108 * Fix buffer overruns in turn and shutdown.
109 * Fix second argument of shutdown.
110 * announce, pray, telegram and turn now abort on EOF.
111 * Fix display of MOTD and game down message of maximum size.
112 * Correctly support telnet line termination on input. Previously,
113 carriage returns could slip into ship names and such.
114 * Fix flash not to lie about recipients that are just logging in.
115 * Remove obscure login command list.
116 * Convert client from obsolete termcap to terminfo, and clean up
118 * New fairland option -h to print usage information. Improved
119 command line syntax diagnostics. Exit unsuccessfully on unknown
121 * fleet and army now copy retreat orders of the fleet's or army's
122 first member with group retreat orders in the same sector.
123 Previously, they used the retreat orders of the first fleet or army
124 member, which is less than useful, and failed to take ownership
125 into account, which is an abusable bug.
127 * Fix xdump not to disclose other countries' losses.
128 * Fix exit status of files program when it can't create files.
129 * Support UTF-8 encoded Unicode in human-human communications. This
130 affects MOTD, game down message, telexes, announcements and flash
131 messages. See new doc/unicode for technical details.
132 * New login command `options' for client/server option negotiation.
133 See new doc/clients-howto for technical details. The only option
135 * emp_client -u now requests UTF-8. This requires a terminal that
137 * Fix news for land unit defensive support.
138 * Properly mark sea mines hit by retreating ships. Unmark mines
140 * Fix diagnostics for unknown selector names in conditionals (was
142 * Fix selector name clashes: rename ship selector mobquota to mquota,
143 land selector for reaction range limit from rad to rmax.
144 * Fix Windows services for relative file names on command line or in
145 econfig (was broken in 4.2.20).
146 * econfig keys ship_grow_scale, plane_grow_scale and land_grow_scale
147 are now float. This gives deities finer control over maximum
149 * Fix production command for sectors with 60% efficiency.
150 * Improve syntax of read for deities.
152 * Some info topic names differed only in case, which loses on
153 case-insensitive file systems, and is a bad user interface even
154 when it works. Change those names. Rename deity command hidden to
155 peek because its info topic clashed with that of option HIDDEN.
156 * Thanks to Doug Wescott sheep are finally covered properly in info.
157 * Documentation fixes.
158 * Much of the above was contributed by Ron Koenderink. Many thanks!
160 Changes to Empire 4.2.20 - Tue Mar 22 21:07:18 UTC 2005
161 * When units in different sectors marched, only units in the sector
162 with the highest-numbered unit were interdicted. A marching
163 non-spy made all marching spies visible to interdiction regardless
165 * Fix crash when interdiction sinks second ship in a sector. Broken
167 * Fix an ancient bug in simulation of level production that clobbered
168 stack and could lead to low predictions, typically zero, which
169 screwed up budget. The bug had no effect until 4.2.19.
170 * When a sector revolts, and there wasn't enough space to liberate
171 all uw, the number of remaining uw got the wrong sign. Broken in
173 * Log and abort when LWP stack check detects stack smash. Server
174 option -s no longer implies -p.
175 * The native Windows build now supports -p and -s.
176 * The native Windows build now properly deals with ^C when running in
177 the foreground. It no longer prompts for a quit command on the
179 * The meaning of server option -D in presence of -e is unclear.
180 Other programs only support -e. Remove option -D. Use -e
181 DIR/econfig instead of -D DIR.
182 * New server option -v shows version information.
183 * Fix the server's exit status with -h. Broken in 4.2.19.
184 * The linux-pthreads build failed to shut down on signals.
185 * Fix threading bugs in the native Windows build that made shutdown
186 unsafe and screwed up update aborting commands.
187 * New econfig key pre_update_hook to allow automatic, safe backup
188 right before the update. See scripts/backup for an example.
189 * The server now prints log messages to stderr as well when running
191 * Fix potential buffer overflows in logerror() and lwpStatus().
192 * Server now requires POSIX signals. It no longer catches SIGUSR1.
193 * Remove support for ancient versions of HP-UX.
194 * Fix seeding of PRNG broken in 4.2.19.
195 * Don't reseed the PRNG in commands, it hurts randomness and could be
196 abused by crafty players.
197 * The server now makes the data directory its working directory.
198 This also gets rid of a bug that changed the file name of the
199 sector, power, nation and lostitems file unless econfig could not
201 * The server now writes a pid file. Thanks to Daniel O'Connor.
202 * More user friendly server startup: more errors are detected while
203 the server still runs in the foreground, which makes it possible to
204 complain to stderr and to exit unsuccessfully.
205 * Early log messages went to the log file in the default data
206 directory, even though econfig specifies another data directory.
207 * Specifying an econfig file on the command line that can't be read
209 * Errors in econfig are now fatal.
210 * The server now refuses to start when it can't open data files.
211 * News are now sorted and expire sanely.
212 * Conditionals can now compare strings as well.
213 * Corrupted down and motd files could cause buffer overflows.
214 * Fix recon to let player abort at the flight path prompt.
215 * power no longer rounds worldwide numbers for deities.
216 * power command failed to recognize deities with non-zero country
218 * Change output of production command so that columns are aligned
219 even for large values. Replace column wkfc by more useful column
221 * neweff and production miscalculated work when mil exceeded
223 * neweff miscalculated work when the population limit exceeded 999.
224 * Fix capping of avail when a big city is torn down.
225 * Fix a bug in fire that allowed players to find all submarine UIDs.
226 * Maximum sector population is no longer hardcoded, and now covered
227 by xdump. Option RES_POP now affects mountains and plains as
228 well. From Ray Hyatt.
229 * Fix fina and news not to ignore errors in conditions.
230 * The native Windows build now requires Windows Sockets 2.
231 * The native Windows build now supports multiple instances of the
232 service. The ability to supply additional startup parameters to
233 the service has been removed.
234 * Implement fairland command line parsing under Windows.
235 * Improved fairland and emp_server usage message.
237 * Minor info file and documentation fixes.
238 * Much of the above was contributed by Ron Koenderink. Many thanks!
240 Changes to Empire 4.2.19 - Thu Dec 23 20:24:24 UTC 2004
241 * Fix order not to unload into full sectors.
242 * Fix scrap not to dump stuff into full sectors. Excess stuff is now
244 * Fix distribute not to conjure up a civilian when importing
245 civilians from a dist center that doesn't have any.
246 * Fix flak to resupply no more shells than actually needed.
247 * Fix rounding error in shoot that could result in more people shot
249 * Fix info and apro error handling. In particular, do not leak
250 potentially sensitive information on the server to players.
251 * info no longer shows a random matching page when the topic argument
252 is ambiguous. Instead, it lists all matching topics.
253 * Embarked land units and overflying planes no longer spot each
255 * Fix show command to show only sectors that players can designate
256 (was broken in 4.2.18).
257 * Fix a rounding error in production command column `max'.
258 * Fix production command for overpopulated mountains and plains.
259 * Fix tradeship ally cut to match documentation.
260 * Fix plague, which was broken in 4.2.14: it got stuck in stage I.
261 * Fix a bug in aerial sonar where ships could mask submarines with
262 the same number modulo 256.
263 * Don't allow bombing of subs that were not detected.
264 * MOTD and the game down message are now entirely separate: use `turn
265 motd' for the MOTD, and `turn on' and `turn off' for the game down
266 message. `turn on' no longer lets you edit the MOTD.
267 * Remove option NUKEFAILDETONATE.
268 * Option ORBIT is no longer optional.
269 * New option GUINEA_PIGS to control experimental stuff not ready for
270 prime time. If your deity enables this in a serious game, run!
271 * Many xdump fixes. xdump is now enabled by option GUINEA_PIGS.
272 * New ship and land selectors rflags, rpath.
273 * New ship selectors for order: xstart. xend, ystart, yend,
274 cargostart, cargend, amtstart, amtend
275 * New ship selectors for sail: mobquota, path, follow.
276 * New news selector uid.
277 * Implement command line parsing under Windows where it was missing.
278 * emp_server and files print a usage message on command line syntax
280 * Fix how emp_server exits after being panicked by a signal. It can
281 now dump core when this happens.
282 * Fix bug in client that could crash it when a line of input starts
284 * Client now gets user name from environment variable LOGNAME if set,
286 * The native Windows build can now run as a service.
287 * Redirecting client input now works under Windows.
289 * Don't confuse work with loyalty in info Citizens.
290 * Minor info file and manual page fixes.
291 * Much of the above was contributed by Ron Koenderink and Marc
292 Olzheim. Many thanks!
294 Changes to Empire 4.2.18 - Tue Sep 7 14:08:59 UTC 2004
295 * Fix info to accept abbreviated arguments under Windows. From Ron
297 * Buying planes or land units loaded on something didn't work when
298 that something moved.
299 * Fix a bug that could produce update cascades with update policy
301 * Fix delivery and distribution to grant packing bonus only to
302 efficient sectors, just like move. Previously, delivery ignored
303 efficiency, and distribution behaved as if it were an efficient
304 sector without special bonuses.
305 * New sector selectors loyal, access; ship selectors radius, access,
306 xbuilt, ybuilt, builder, name; plane selectors radius, access,
307 theta; land unit selectors radius, react, nland, access; lost
309 * Fix sector selectors che, che_target; plane selectors att, def;
310 nuke selector types; treaty selector exp; news selector time;
311 commodity selectors type, xbuy, ybuy.
312 * Option PLANENAMES is no longer optional.
313 * Ensure config parameter variables and their description in
314 configkeys[] are consistent. Inconsistencies there caused bugs in
315 the past. From Marc Olzheim.
316 * Complain if econfig file can't be read.
317 * Better messages for errors in econfig file.
318 * Remove unused econfig keys hard_tech and last_demand_update.
319 * New econfig key news_keep_days to configure news expiry.
320 * New econfig key anno_keep_days to configure announcement expiry.
321 * Fix announcement expiry. It leaked file descriptors and memory,
322 and could corrupt the anno file. From Ron Koenderink.
323 * New command xdump: experimental extended dump. Disabled for now.
324 * Bankers no longer round down debts, and they collect interest for
325 the time debtors are idling at sub-prompts.
326 * Loan interest calculation was broken at the due date and after a
327 last payment made at the due date. With luck, debtors could abuse
328 this to repay loans cheap (they couldn't gain cash, though), sharks
329 to purchase loans cheap, and creditors to collect excessively.
330 * Fix major bug in transport that allowed two cooperating countries
332 * Don't report interdiction damage twice when transporting planes.
333 * Fix message for attempting to transport a plane in a sector not
335 * Fix confusing diagnostics when refusing to improve defense because
336 option DEFENSE_INFRA is off.
337 * Simplify confusing code in budget.
338 * Fix spacing in output of budget and show.
339 * Change one-way plane sorties to match ordinary sorties: offer
340 carriers regardless of the sector they're in, require carriers to
343 * Don't print owner of incoming missile twice when intercepting it.
344 * Simplify constituent storage in product characteristics.
345 * Replace remaining `variables' leftovers; mainly in unit
347 * Remove leading spaces in deity unit dumps.
348 * Replace inappropriate uses of compile time constant ETUS by 60.
349 Deities don't change ETUS, they change etu_per_update by editing
350 econfig. This nonsense dates back at least to chainsaw 3.31.
351 * Change ship production (fishing and drilling for oil) to match
352 sector production. Ship efficiency and tech are now relevant, and
353 all people on board work. From Ron Koenderink.
355 * Minor info file fixes.
357 Changes to Empire 4.2.17 - Mon Aug 16 16:21:53 UTC 2004
358 * Fix seeding of PRNG under Windows. The bug made updates occur at
359 a predictable time in the update window. From Ron Koenderink.
360 * Close major loophole in drop that allowed players to determine
361 whether an arbitrary sector is sea, allied land, or other land.
362 * fly could fly civilians into occupied sectors. For consistency
363 with other means to move around stuff, this is no longer possible.
364 * Don't allow flying to a carrier that doesn't have space for the
365 planes. Previously, planes that did this were teleported home,
366 which could be abused.
367 * Close loophole in bomb that allowed players to find all
369 * Fix move and explore not to crash when moving civilians to a sector
370 without civilians, and interdiction destroys them all. Found and
371 debugged by Jeff Cotter.
372 * Fix printing of messages entered with turn command. '%' characters
373 could cause havoc, even crashes.
374 * Use sector's actual maximum population to compute chance of plague
375 outbreak. Previously, code used 9999 for big cities and 999 for
376 other sectors, and info Plague said 999. This makes all crowded
377 sectors equally vulnerable, even mountains, plains, and inefficient
379 * Oil derricks no longer drill and deplete more oil than they can
380 hold. From Ron Koenderink.
381 * Version 4.2.15's coordinate and list parsing fixes reject trailing
382 junk. That's too strict. Silently ignore trailing junk as long as
383 it starts with whitespace.
384 * Version 4.2.15's selector rewrite broke some type literals,
385 e.g. `?des=n' was interpreted as `?des=newdes'. Change to prefer
386 type literals to selectors.
387 * Nightly build patches game to get repeatable PRNG results. From
390 Changes to Empire 4.2.16 - Wed Jun 16 18:56:16 UTC 2004
391 * Previous version broke sector production when part of the work is
392 used for sector construction. Fix courtesy Jeff Cotter.
393 * Add rudimentary tests to nightly build. From Marc Olzheim.
395 Changes to Empire 4.2.15 - Wed May 26 17:55:58 UTC 2004
396 * test command no longer asks whether to abandon the sector.
397 * explore command could generate a bogus `lost' record when it
398 regains an abandoned start sector.
399 * edit command now properly updates stats when editing tech level of
400 ships, planes or land units. A few of these stats can be edited
401 separately, which doesn't make much sense, and is now deprecated.
402 * edit command no longer accepts efficiency values that would destroy
403 the edited unit. Deities can still delete units by setting the
405 * upgrade command used to charge an amount of avail that didn't match
406 info upgrade. Neither the implemented nor the documented amount
407 made much sense. Change it to 15% of the full build cost. Rewrite
409 * Commands upgrade and build could be off by one when reporting
411 * upgrade command reported rounded cost but charged unrounded
412 cost. Round cost of upgrade down to match behavior of build.
413 * Upgrading planes now preserves range when it is less than the
414 maximum range. It used to set it to the new maximum range.
415 * show bridge and show tower no longer claim bridge building requires
416 `workers' (whatever that is), since it doesn't.
417 * Replace option ROLLOVER_AVAIL by econfig parameter
418 rollover_avail_max, which is the maximum amount of avail that rolls
419 over. Previously, avail was limited after rollover, and even when
420 ROLLOVER_AVAIL was off. Fix that.
421 * Ships weren't always charged mobility for firing with option
423 * Fix shell use of return torpedoes.
424 * designate no longer complains twice about deity only designations.
425 * Ensure designate zaps efficiency only when sector type really
427 * Fix strength to always report mines to deities.
428 * Remove option SHIP_DECAY.
429 * Fix bug in sonar that could crash or yield unpredictable results
430 near the true origin.
431 * Fix buffer overflow in flash and wall.
432 * Fix wall not to strip out first word of message.
433 * Change market and order to use item types instead of mnemo
434 characters internally.
435 * Market now reports sales with full item names instead of single
437 * buy now requires first argument to be an item name, as documented.
438 * production command handled production backlog incorrectly, failed
439 to limit production for production efficiency greater than one,
440 e.g. agribusiness, and incorrectly limited raw material
441 consumption. Also fix a rounding error. With help from Ron
443 * Sector work was accidentally truncated to even.
444 * Fix coordinate parsing for large numbers when WORLD_X or WORLD_Y
445 don't divide SHRT_MAX+1.
446 * Properly diagnose over-long unit lists.
447 * Rewrite selector code. Old code let players smash the stack by
448 supplying too many conditions. New code properly rejects ambiguous
449 abbreviations and prefers exact matches. Selectors with names that
450 collide with types, like land units' rad and spy, now work.
451 Selectors with non-integral values, like land units' att, now work.
452 * survey used to display hundreds for everything but variables. Now
453 it displays hundreds only for values that can be large.
454 * Rewrite info survey. Document ability to survey properties other
455 than items and resources.
456 * Rewrite info build, since it was inaccurate and poorly structured.
457 * Fix info fire on required military. From Marc Olzheim.
458 * New fairland argument -R to set the PRNG seed. Print the seed.
459 This allows you to recreate the same world again.
460 * New facilities to deal with internal errors. These crash when the
461 server is started with -d, which is appropriate for debugging, and
462 potentially disastrous for running a real game.
463 * Automated nightly builds.
466 Changes to Empire 4.2.14 - Mon Mar 22 09:04:12 UTC 2004
467 * Options NEWPOWER, NEW_STARVE and NEW_WORK are no longer optional.
468 * Gripe about unknown options in econfig.
469 * Remove option GRAB_THINGS.
470 * Utility program files takes new option -f.
471 * Remove utility programs land, ore and perfect, which don't compile
472 since 4.2.0 (Oct '98).
473 * fairland no longer warns when it added resources, but when it
475 * Fallout code could claim destruction of more items than actually
477 * Fix recursive resupply (resupply from supply land unit triggering a
478 resupply of the land unit) when just testing for how much can be
479 resupplied. The bug could have led to insufficient resupply.
480 * Fix recursive resupply not to consume all fuel in supply units. No
481 supply units consuming fuel exist in the stock game.
482 * Limit delivery and distribution thresholds to ITEM_MAX (9999).
483 Distribution threshold were previously limited to 10000, and
484 delivery thresholds to 65528.
485 * Limit items in sectors to ITEM_MAX (9999). Commands give and buy
486 used to limit to 9990. Market transactions and commands explore,
487 move, drop and fly to 32767. Limiting in autonav code (order
488 command) didn't work. Item delivery used to stop at 9990,
489 distribution at 9999. Food growing and sector production used to
490 stop at 9999. Grind, assault lunchboxes, demobilization, mine
491 sweeping and che liberating uw could theoretically attempt to
492 increase items beyond 65535, which would have been ignored
493 (destroying the increase).
494 * Properly saturate fallout at FALLOUT_MAX (9999). Previously,
495 fallout increases behaved inconsistently. Increases beyond 65535
496 could get ignored, or fallout could saturate at 9999, or it could
497 overflow at 65536 (that would take quite some nuking, though).
498 * Properly saturate mines at MINES_MAX (65535). Previously, a mining
499 operation that would have gone beyond 65535 was ignored.
500 * Fix `are we loading or unloading' tests for load, unload, lload and
502 * Fix editing of land unit attack and defense values. Implement
503 editing of ship defense values. Contributed by Ron Koenderink.
504 * edit now edits che number and target separately.
505 * Fix edit to properly extend unit files. Contributed by Ron
507 * Major internal reorganisation: Sectors need space for items,
508 deliveries and distribution thresholds. To save space, the
509 ancients invented `variables': a collection of key-value pairs,
510 missing means zero value, space for `enough' keys. This
511 complicates the code, as assigning to a `variable' can fail for
512 lack of space. Over time, `enough' increased, and for quite some
513 time now `variables' have been *wasting* space. Replace them,
514 except in unit characteristics, where they are read-only, and will
515 be replaced later. This also removes misfeatures like plague
516 outbreaks silently deleting deliveries.
517 * Remove disabled commands dissolve and mult. Remove configuration
518 parameters minmult and maxmult.
519 * trade command indexed an array out of bounds when attempting to
520 display the plague as commodity. Fix.
521 * New make goal interix. Contributed by Ron Koenderink.
522 * The type selector now prefers an exact match to a partial match.
523 ?type=sb now selects sb, not sbc, even when sbc happens to be found
525 * Value of selector sell was always zero, remove it.
526 * Clean up selector code.
527 * satellite now displays all sectors owned by other players, and none
528 else. It used to display all but sea, mountains, sanctuaries,
529 wasteland and wilderness.
530 * map commands now display wilderness and plains owned by other
531 players as '?'. Radar commands now display all wilderness and
533 * Fix power timestamp for Windows. Contributed by Ron Koenderink.
534 * Make client abort the current command on ^C under Windows, as
535 everywhere else. Contributed by Ron Koenderink.
536 * Command line parser interpreted trailing whitespace as an another
537 (empty) argument. Ignore it instead.
538 * Properly declare stuff in headers, include proper system headers.
539 Remove all nested external declarations. Source code is now fully
540 prototyped. Enable appropriate gcc warnings.
541 * Fix several type errors. Some may have been show-stoppers on big
542 endian machines where sizeof(long) != sizeof(int).
543 * Remove pre-ISO C compatibility cruft (hey, it's been only fifteen
545 * Various portability fixes. Some bugs may have been show-stoppers
546 when sizeof(long) != sizeof(int). With help from Marc Olzheim and
548 * Move some code to more logical places. Remove some unused code,
549 some of which was hard to port.
550 * The files program could print error messages to a log file in some
551 circumstances. Make it print to stderr.
552 * deliver can now change direction without changing the threshold.
553 * deliver now provides appropriate context when prompting for
555 * Login command play no longer ignores up to two arguments if there
557 * Fix payoff (was broken in 4.2.13).
558 * Capability fish didn't work together with capability oil.
559 * Fix and clarify plague outbreak chance in info Plague.
560 * Fix RES_POP maximum population in info Research.
561 * Fix info telegram and info announce on ~ escapes.
562 * Update info Selector to match code.
563 * Document all undocumented unit capabilities and stats.
564 * Document submarines' ability to carry landspies.
565 * Fix info shoot on security units.
566 * Various small info file fixes.
567 * Many fixes in the troff macro package for info files.
568 * Many fixes for translating info files to HTML.
569 * Many info file markup fixes.
571 Changes to Empire 4.2.13 - Fri Feb 13 22:12:36 UTC 2004
572 * Source code reindented and cleaned up somewhat.
573 * Various small info file fixes.
574 * Fixed change requiring 254 BTUs even when not charging any
576 * Fixed tactical non-marine missile crash.
577 * Fixed spy unit detection chance for eff<100.
578 * Fixed output of sorder.
579 * `edit' can now work non-interactively. Contributed by Ron
581 * Fixed and extended edit for sectors.
582 * Fixed use of errno.
583 * Minor security fix: doconfig now writes example auth entry as
585 * Fixed reading of country name and password in client for Windows.
586 * Replace use of some obsolete non-portable library functions by
587 portable equivalents.
588 * designate now warns about redesignated capital only when it
589 succeeds in redesignating the capital.
590 * attack could be off by one when reporting required unit mobility.
591 * Fixed command matching. Unique prefixes were not always
592 recognized, and junk suffixes were ignored.
593 * Removed bestdistpath. bestpath yields the same results.
594 * Renamed lstats to lstat for consistency and to match info page.
595 * Fixed non-portable fd_set * arguments of select().
596 * New `map' flag `h' to highlight own sectors. Contributed by Marc
598 * Fixed `sabo' reporting damage to player in deity coordinates.
599 * New option ROLLOVER_AVAIL. Contributed by Drake Diedrich.
600 * Fix Windows server shutdown on reading "quit" from stdin.
601 * Land units now fortify automatically when mobility plus growth
602 exceeds the maximum. With code from Marc Olzheim.
603 * Wandering che are less predictable.
604 * Land units no longer regenerate mobility faster while it is
606 * Fixed emp_client -k.
607 * No longer allow pirates to ferret out where a ship was built.
608 * Fixed map commands to reject bmap flags `t' and `r' instead of
610 * Fixed lmine shell resupply.
611 * News no longer call all sub-launched missiles nuclear.
612 * Incoming missiles are now reported with coordinates.
613 * Removed some code that served no purpose except crashing on
615 * Fixed Mac OSX and AIX build problems.
616 * Don't resolve player IP addresses for now, because it can crash
617 with certain versions of GNU libc.
618 * Fixed recording of lost nukes.
620 Changes to Empire 4.2.12 - Mon Aug 18 16:54:21 MDT 2003
621 * Corrected contact information for Wolfpack.
622 * Sector isn't abandoned until move or explore is complete.
623 * Fixed multiple cases where return value of getstarg() was
624 used without being checked which crashed the server.
625 * Used stdarg.h instead of varargs.h.
626 * Call only_subs and save result before mission frees attacker
627 list. Call with free list could cause server crash.
628 * Fixed spy sat map for units on opposite side of world wrap.
629 * Don't sleep in main thread when called from signal handler.
630 * Fixed error checking in pthreads.
631 * Properly detach pthreads.
632 * Pass unlocked mutex to pthread_mutex_unlock.
633 * Cope with interrupted sleep in pthread empth_sleep to prevent
635 * Added server configurable update window.
636 * Initialized variables passed to setsockopt in accept.c.
637 * Fixed bug where sharing bmap with uncontacted country crashes
640 Changes to Empire 4.2.11 - Sun Sep 1 09:54:59 MDT 2002
641 * Added compile option for the Mac OSX architecture.
642 * Fixed bug in cargo where unit array was indexed by shp_maxno
643 instead of lnd_maxno.
644 * Fixed bug in reject where aborting the command crashes the
646 * Can't buy land units into enemy headquarters.
647 * Added sabotage command and commando unit.
648 * Spies moving by themselves will not trigger interdiction.
649 * Fixed error in map distance calculation that caused errant
651 * Ships going under -127 mobility will be set to -127 mob and
652 not roll over to positive mobility.
653 * Corrected plane cost in info Maintenance.
654 * Changed error message for loans rejected for being too big.
655 * Land units will take casualty damage proportional to their
656 ability to carry mil.
657 * Fixed bug where "route i *" crashes server.
658 * Cannot upgrade planes in orbit.
659 * Fixed bug in declare with deity aborting command at last
660 prompt crashes the server.
661 * Coastwatch notify works with NO_FORT_FIRE option.
662 * Thread that kills idle connection will charge player for
663 minutes the player was logged on.
664 * Removed separate sendeof at end of execute from emp_client
665 that logged players off on certain platforms.
666 * Updated player idle counter during read prompt so players
667 wouldn't be kicked off during long flashes or writing telegrams.
668 * LOSE_CONTACT will work as advertised.
669 * Allied units marching through 0 mobility conquered sectors
670 are charged at least LND_MINMOBCOST.
672 Changes to Empire 4.2.10 - Mon Aug 13 14:34:39 MDT 2001
673 * Assault can reinforce own sector when SLOW_WAR is enabled.
674 * emp_client no longer converts lines into tags but still verifies executes,
675 pipes, and file redirect match players input.
676 * Added pboard command to capture enemy planes in your territory.
677 * Declaring war when at Sitzkrieg won't return relations to Mobilizing.
678 * Declaring war won't charge money if you're already Mobilizing.
679 * Added multiple territory fields.
680 * "show nuke build" displays the proper avail.
681 * retreating land units will only retreat to sectors owned by the player
683 * added hard cap of "250 + easy" to limit_level.
684 * education p.e. calculation divides edu constant by etu per update.
685 * Added patch for Linux for the PowerPC.
687 Changes to Empire 4.2.9 - Sun Jan 7 15:49:13 PST 2001
688 * Fixed data corruption when bogus target gets fired upon.
689 * Increased size of ancillary stacks to prevent stack overflow.
690 * Changed all references to empire.cx.
691 * Ships, planes, and land units lost to lack of maintenance will now be
693 * No longer allowed to sack deity's capital.
694 * Accuracy calculation in land unit support was backwards.
695 * Corrected formula for likelihood of plague in info Plague.
696 * Fixed files to correctly size map and bmap files from econfig file.
697 * No longer allowed to add country 0. It corrupts deity country.
699 Changes to Empire 4.2.8 - Mon Oct 9 17:35:35 MDT 2000
700 * Fixed range in radar.t and Sector-types.t. Maximum range at infinite
702 * Changed so that player can't drop civilians into occupied sectors.
703 * Fixed bug that crashes update if etus/update is less than 8.
704 * Fixed sometimes not reporting overflights
705 * Fixing flak for units/ships to be in all sectors as they should be
706 * Updated order of firing flak in Flak.t.
707 * Fixed 80% efficient planes on ships must be maintained.
708 * Fixed initial MOB_ACCESS check thread sleep time was set by an uninitialized
710 * Removed "TEMPORARILY DISABLED" message from mission command for escort
711 missions. Escort missions have been re-enabled since 4.0.15.
712 * Using sonar from the navigate command will print the sonar map.
713 * Eliminated annoying error messages when using navigate with conditionals.
714 * Fixed Technology.t to correctly add 1 before taking the logarithm.
715 * Fixed bug that allowed players to steal opponents maps.
716 * Put time limit for bidding on market and trade in econfig file.
717 * Moved hours file information into econfig file.
718 * Added comments on setting update policy in econfig file.
719 * Added logging of cases where write extends data file by more than one id.
720 * Option MARKET is turned off by default.
722 Changes to Empire 4.2.7 - Fri Mar 10 18:41:04 PST 2000
723 * Added new NF_SACKED flag to indicate when a country has had it's
724 capital sacked. This flag is only cleared when the country actively
725 redesignates it's capital using the "capital" command, and changed
726 capital.t to reflect this (no more re-sacking after an update if the
727 country doesn't reset and repeating until they are out of cash.)
728 * Added land unit to edit command for planes.
729 * Added nuketype to edit command for planes.
730 * Changed so that if the leader of a group of units is a train, the
731 railways are used for bestpath instead of roadways.
732 * Changed mission command to also print reaction radius of reserve
733 missions when set for land units.
734 * Changed Flak.t to reflect guns having to be loaded onto a land unit
736 * Changed so that visitor countries cannot change their name or password.
737 * Changed so that you cannot upgrade deity planes, ships or units.
738 * Changed so that you know where missions are flown from.
739 * Changed so that the airport owner you fly a mission from is informed.
740 * Changed so that preperations for takeoff are reported to the owner of
741 the sector, ship or unit a plane is taking off from if it is not owned
742 by the owner of the plane.
743 * Changed so that when a sector reverts during a guerrilla revolt, the
744 mobility is not reset. When MOB_ACCESS is not enabled, this used to mean
745 you would always get at least an updates worth of mobility. With
746 MOB_ACCESS, sectors that reverted during the update were useless, since you
747 got no mobility for a long time. This fixes that problem, and makes che
749 * Changed so that air defense missions don't always send up every plane in the
750 area, but instead always send up at most two times the number of incoming
751 planes (for each interdicting country.) This helps to stop 1 plane from
752 stripping the mobility from 25 air defense planes all at once, but doesn't
753 limit it to n+1 as there is for regular interception.
754 * Clarified deity reversion of sectors in Sector-ownership.t
755 * Clarified production efficiency and added pointer to "show sector cap"
757 * Clarified nuketype selector for planes in Selector.t
758 * Clarified that fortifying units does not affect mission status in info
759 pages for mission and fortify.
760 * Clarified fuel syntax upon error in fuel command in empmod.c.
761 * Cleaned up comments causing minor complaints in some builds.
762 * Fixed bug in loans where you could collect on proposed loans.
763 * Fixed production command to be more accurate (though it *still* has some
764 rounding errors, it's better.)
765 * Fixed potential memory leak in air defense missions.
766 * Fixed bug where you couldn't pinbomb some commodities if other commodities
767 didn't already exist in the sector.
768 * Fixed bug where you couldn't build 0 crew planes without military in the
769 sector. (This is different from needing at least 1 military to build all
770 planes that need a crew which introduced another related bug earlier.)
771 * Fixed bug where scrapping land unit 0 could cause erroneous transfer
772 messages to be displayed for deity owned planes.
773 * Fixed bug where land units on ships in a sector taken over were blown
775 * Fixed bug where planes on ships in a sector taken over were blown up
777 * Fixed bug in sdump printing origx and origy in deity coordinates.
778 * Fixed bug in satellites showing wrong sectors (sometimes) when using the
780 * Fixed bug in launch showing wrong satellite target (showed asat instead
781 of the target satellite.)
782 * Fixed bug where you could gain information not normally available using
783 the "fire" command to determine sector type information.
784 * Fixed bug in market/trade creating extra money when loans are taken out.
785 * Fixed problem with land units not being reported sunk after being sunk
786 on a ship that was nuked or wastelanded in a sector.
787 * Fixed problem with Spies.t using "llook" instead of "llookout".
788 * Fixed problem in lwp/arch.c including jmp_buf.h instead of setjmp.h
790 * Fixed problem with plague infection being way too high in cities when
791 the BIG_CITY option is enabled.
792 * Fixed bug in edit command getting confused with arguments.
793 * Fixed bug in ask_move_in_off asking you to move in a negative number of
794 troops (hey, it could happen. :) )
795 * Fixed bug in add command not keeping flags or relations initially correct.
796 * Fixed bug in torpedo command sometimes telling victim about torpedo
797 sightings even when way out of range.
798 * Fixed bug in spy command not reporting planes in adjacent sectors, as well
799 as not formatting them properly when reporting them.
800 * Fixed bug in satellite with noisy transmission causing a potential
801 crash of the server with non-100% efficient satellites.
802 * Fixed potential crashing of the server during satellite display when not
803 calculating distances to ships and units correctly.
804 * Fixed bug where planes in non-allied sectors, ships and units could be
806 * Fixed bug where planes on the trading block could be used on missions.
807 * Fixed bug where planes and units that get traded don't have mobility set
808 correctly when using MOB_ACCESS option.
809 * Fixed bug which made security units virtually useless.
810 * Fixed access times and mobility not being set right when building planes,
811 ships, units, bridges and bridge towers when MOB_ACCESS is enabled.
812 * Fixed minor formatting problem with launch of satellites.
813 * Fixed minor formatting problem with planes with greater than 999 tech.
814 * Fixed minor formatting problem with ships with greater than 999 tech.
815 * Fixed problem with "llook" showing up in TOP info file.
816 * Fixed problem with lwp Makefile choking on NT builds with clean target.
817 * General cleanup of potentially ambiguous statements.
819 Changes to Empire 4.2.6 - Fri Jun 4 05:55:20 PDT 1999
820 * Added "TECH_POP" as an option where technology costs more to make
821 as your population grows past 50K civilians. It is disabled by
823 * Changed "produce" command to accurately print what the true p.e. is.
824 * Changed "update" command to display if mobility updating is enabled for
826 * Fixed bug where toggling off the coastwatch flag also turned off
827 forts firing on hostile ships coming into range.
828 * Fixed bug where assaulting your own land would violate any treaties
829 you have where assaults are a violation.
830 * Fixed bug where all planes (even those without need for a crew, such
831 as missiles) needed at least 1 military to build.
832 * Fixed bug where when a ship sinks during the update due to lack of maint,
833 land units and planes on it were left stranded.
834 * Fixed bug where when a land unit dies during the update due to lack of
835 maint, land units and planes on it were left stranded on it.
836 * Fixed bug where nukes could be lost due to MOB_ACCESS updating mobility
838 * Fixed bug in "show sector capabilities" not showing products correctly.
839 * Fixed bug in "show tower build" printing "bridges" instead of "bridge
841 * Fixed bug in sectors that don't revolt not showing up as lost items.
842 * Fixed bug where maps with an X of exactly 200 is not drawing third line.
843 * Fixed bug where MOB_ACCESS was not updating the mobility just before
845 * Fixed bug in the way treaties are examined and sometimes produce
847 * Fixed edit to allow creating negative mobility for sectors.
848 * Fixed setsector to allow creating negative mobility for sectors.
849 * Fixed bug where when writing out the value of a sector that had
850 negative mobility and was damaged in combat, mobility was being
852 * Fixed Taxes.t info page to reflect that captured civvies only pay
854 * Fixed Technology.t info page to reflect TECH_POP option.
855 * Fixed navigate.t info page to reflect that only ships in the fleet
856 in the same sector that are fired upon have damage divided up.
857 * Made techlists toggle on by default (so things are shown in order of
858 technological advances.)
860 Changes to Empire 4.2.5 - Mon Mar 1 06:42:24 PST 1999
861 * Added optimization to increasing mobility to check if an object is
862 already at max mob, just return since it can't be increased.
863 * Added "-ltermcap" for client libs for hp build (it was already in
865 * Added clearing of telegram flags after the update so that the next
866 telegram is flagged as new and not part of the update.
867 * Fixed Update-sequence.t to reflect MOB_ACCESS.
868 * Fixed bug where fortification amount was not being limited to
869 maximum mobility for land units (land_mob_max).
870 * Fixed bug where land unit fortification strength was being calculated
871 by using 127 instead of land_mob_max.
872 * Fixed bug where scrapping land units was creating military.
873 * Fixed description of sect_mob_neg_factor in econfig file.
874 * Increased speed of PT boats.
876 Changes to Empire 4.2.4 - Tue Feb 2 05:47:44 PST 1999
877 * Added check to make military values match up correctly for land
879 * Fixed bug in doconfig not putting ipglob.c in the right place.
880 * Fixed bug where attacking deity sectors will violate a treaty.
881 * Fixed newspaper.t information file.
882 * Fixed potential bug in fixing up timestamp information when restarting a
883 game with MOB_ACCESS turned on.
884 * Fixed bug in explore command not setting mobility to correct
885 value when MOB_ACCESS was enabled.
886 * Fixed bug in enlist setting mobility incorrectly sometimes.
887 * Added doc/backup file for deities which recommends how backups and
888 restores of the data directory should be done.
890 Changes to Empire 4.2.3 - Wed Jan 13 06:02:35 PST 1999
891 * Added linux-pthreads target and build for using pthreads under Linux.
892 * Added NO_FORT_FIRE option which disables the ability of forts to
894 * Added more error checking and recovery for corrupt data files.
895 * Changed alphapos target to alpha-pthreads for better clarity.
896 * Changed fairland to allow 0 sector distance to other islands and
897 continents (James Risner)
898 * Changed "frg" and "dam" land unit stats to "rng" and "fir" so they
899 match the way ships are described (since this is how they really work.)
900 * Changed Unit-types.t to now describe "rng" as firing range of a unit,
901 and "fir" as the number of guns that a land unit fires.
902 * Cleaned up misc. build warnings.
903 * Changed artillery damage to be 5 + d6 per gun firing from just d6
904 per gun firing and updated Damage.t to reflect this change.
905 * Changed artillery firing ranges to be like ships ranges - divided
906 by two, and modified them to make more sense.
907 * Changed artillery units to be "slightly" :) more powerful.
908 * Changed "cavalry" unit to tech 30 and lowered mil content to 20.
909 * Changed "artillery" unit to tech 35.
910 * Changed so that guns are no longer required to build units, and
911 that guns must be loaded onto artillery units for them to fire.
912 Client developers note: the show command has not changed yet to
913 remove the 'guns' column (since guns are no longer required) but
914 will in a future revision (possibly 4.2.4) so "be prepared" for
915 "show land build" to change. :)
916 * Fixed landunitgun to handle all the damage calculations like it should.
917 * Fixed bug sinking planes when the ship they are on sinks.
918 * Fixed bug destroying planes when the land unit they are on is destroyed.
919 * Fixed bug where land units could fire support without enough military.
920 * Fixed bug in abandoning sectors by marching out a land unit where it
921 would not let you sometimes (uninitialized variable problem.)
922 * Fixed gets problem in files.c (James Risner)
923 * Fixed bug in determinig operations range of a ship.
924 * Fixed bug in building planes where you could manufacture military.
925 * Fixed warnings in threading package(s).
926 * Fixed fire.t to reflect new firing changes.
927 * Fixed lstat.t to reflect new firing changes.
928 * Fixed sstat.t to reflect the way things really work.
929 * Fixed Ship-types.t to reflect the way things really work.
930 * Fixed the way shutdowns work to hopefully better protect data files.
931 * Fixed bug in attacking when sector mobility is less than 0 and it would
932 prompt for attacking with a negative amount of military.
933 * Fixed typo in fire.t stating wrong parameters for firing from a sector.
934 * Fixed bug in client when it prompts for country name it was putting
935 an extraneous end of line on the end that needed to be stripped off.
936 * Fixed problems running on Linux running on an Alpha machine. Thanks
937 to Rocky Mountain Internet and Jeremy A. Cunningham for giving us time
938 on a machine to work out the bugs. (Note that the only build that
939 works on Linux/Alpha is the linux-pthreads)
941 Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
942 * Added some code optimizations into the update code when building paths.
943 * Added some new cacheing for building paths to help speed up updates.
944 * Added so that you can use "name" and "password" with the change command
945 as well as "country" and "representative".
946 * Added flag to power command so that if you are a deity and enter
947 a negative number of countries you want to see, you see the power chart
948 for that many countries without power numbers on the next line. Only
949 useful for deities that want to see the chart un-broken up by that line.
950 * Added new functionality to fortify command. You can now use a negative
951 fortification value to cause the unit to be fortified and leave at
952 least that much mobility on the unit. I.E. "fort * -67" will fortify
953 all units and make sure the mobility of each unit doesn't go below
954 67. If the mobility is already below that level (or equal) the unit
956 * Added that the realm command prints "Realm #n is x:x,y:y" after
958 * Added TREATIES option and enabled it by default.
959 * Added "no depth-charging subs" and "no new land units" treaty
961 * Added Trannie Carter's basic client fix to use fgets instead of gets.
962 * Changed market and command to only print the lowest priced lot of
963 each given commodity by default. If you specify "all" it shows
964 all lots on the market, and if you specify a specific item, it shows
965 all lots of that item type.
966 * Changed start command to only write out sector if it changed.
967 * Changed stop command to only write out sector if it changed.
968 * Changed how plane names were changed on server startup if the
969 PLANENAMES option was enabled.
970 * Changed move command to use standard askyn function for abandoning
972 * Changed plane overlight sightings to take stealth into account,
973 and if the planes managed to evade all flak and interceptors, they
974 are not marked as "spotted" over enemy sectors.
975 * Changed all units with the supply flag to have their marching speeds
976 based on efficiency since that is their purpose. What this means is
977 that supply units and trains are more effective at 100% than at 10%
978 (just as fighting units are more effective at 100% than at 10%, but
979 their effectiveness is determined by how well they fight, not how well
980 they "run away, run away!" :) )
981 * Changed so that flash toggle is on by default for POGO at setup
983 * Changed so that when a sector is taken, all land units owned by the
984 current owner are treated as planes are during takeovers (i.e. there
985 is a pretty good chance they are blown up, and if not, they change owner
986 to the attacker and are beat up pretty good.)
987 * Fixed treaties to work again.
988 * Fixed bug in taking over land units not using correct pointer (can
989 cause a crash or data corruption.)
990 * Fixed collect command to wipe deliver and distribution information
992 * Fixed potential bug in bmap not working when destination bmap has
994 * Fixed bug in shark command not getting right nation structure.
995 * Fixed bug in server where empty commands (for example, all spaces
996 or tabs) were being reported as bogus commands. They are now just
998 * Fixed bug in scrap not dropping land units off of scrapped units carrying
1000 * Fixed bug in news where boarding of land units was reported backwards.
1001 * Fixed bug in calculating new people when growing them during an update.
1002 * Fixed missing -ltermcap in HP/UX build.
1003 * Fixed setsector to limit mobility to 127 not 255 (255 was being caught
1004 later and being reset to 0 anyway)
1005 * Fixed Sector-types.t to show a '\e' instead of a '/' for wasteland,
1006 since that is what it really is.
1007 * Fixed retreat.t documentation to reflect the "retreat upon failed
1009 * Fixed bug where satellites were not orbiting the world during the
1011 * Fixed bug in torpedos being too smart. They knew how to jump over
1012 land! :) Now the "line_of_sight" routine is used to determine if a
1013 torpedo has a straight path to the destination. If it doesn't, the
1014 torpedo no longer jumps over land, but instead slams into it. This was
1015 an interesting bug because you could torp ships on the other side of
1016 a very skinny island as long as they were in range, even if there was
1017 no sea route possible.
1018 * Fixed bug when pinbombing and you run out of an object to pinbomb (land
1019 units for example) but you still have to pick something to bomb. For
1020 ships it worked ok (just aborted that it couldn't find any more ships)
1021 and this was fixed for land units and planes.
1022 * Fixed server crashing bug when flying a plane and not carrying
1024 * Fixed bug in move losing commodities when it runs out of room in the
1025 destination sector. Goods are now attempted to be returned to the
1026 start sector, and apporpriate steps taken if the start sector is no
1028 * Fixed march to prompt you before you abandon a sector you own by
1029 marching out the last land unit.
1030 * Fixed check functions to only check the relevant portions of the structure
1031 and not the timestamp info that doesn't affect how the object functions.
1032 * Fixed bug in spy command that always told you if a spy unit was in a
1034 * Fixed bug in displaying of land unit missions not showing correct land
1036 * Fixed bug in wire command where new announcements that you read at
1037 the last second don't get wiped out properly.
1038 * Fixed bug where announcement file could be corrupted by very long lines.
1039 * Fixed bug where bmap was not set when player was told what kind of
1040 sector they were attacking (this was an old abusable bug that was
1041 removed long ago to fix the abuse, and it's been fixed in a non-abusable
1043 * Fixed bug where change command would warn you about monetary and
1044 BTU costs, but not prompt you to break out if you didn't want to really
1045 change your country name.
1046 * Fixed bug in sub-launched nukes that are intercepted being reported in
1047 the news incorrectly.
1048 * Fixed bug in load where you could abandon a sector and not know it by
1049 loading your last civilians or military onto a ship.
1050 * Fixed potential memory leak in autonav code.
1051 * Fixed potential bug where you could possibly determine if a sector is
1052 owned or not using one way plane missions.
1053 * Fixed Damage.t info page to properly show damages for planes and
1055 * Fixed deliver.t to include syntax for command.
1056 * Fixed country.t to include syntax for command.
1057 * Fixed bug where ships on orders were not adding radar information to
1058 the bmap during an update.
1059 * Fixed bug where ships on sail were not adding radar information to
1060 the bmap during an update.
1061 * Fixed bestownedpath code to use the bmap properly. Note this is a very
1062 important bug fix. When navigating a ship, players are no longer given
1063 free information that they would not normally know. For example, if you
1064 try sailing your ship off into uncharted areas of your bmap, the bestpath
1065 code will only use as much information as you have on-hand (i.e. your
1066 bmap) to plan out your path for you. If you have no information on an
1067 area, it just keeps forging on, until bumping into something. Of course,
1068 after the initial exploration through an area, the bmap will be set and
1069 used for all future sailings through that area. Harbors and bridges
1070 are still checked for construction worthiness if you know where they
1071 are (i.e. they are on your bmap.) (Overall, what happened before
1072 was that the bestpath code would route your ship around islands that
1073 you didn't even know were there, and you could use various commands
1074 to see how that ship was going to sail during the update and thus you
1075 gained information that you wouldn't normally know.)
1076 * Merged bestpath and bestownedpath and wrote new wrappers, "BestShipPath"
1077 and "BestAirPath" to use it properly. It is also good to note that
1078 bestownedpath is used to determine paths for ships and for planes,
1079 and that best_path (which uses the A* algorithm) is used for all land
1080 based paths, and that the two are never interchanged.
1081 * Removed "jet recon" plane (it slipped in during the PLANENAMES conversion,
1082 and RECON was never used before.)
1083 * Removed extraneous "resnoise" and "resbenefit" functions and combined
1084 the two for setresource and setsector commands.
1086 Changes to Empire 4.2.1 - Tue Nov 3 12:56:20 PST 1998
1087 * Fixed problem with global/plane.c not defining last structure element
1088 properly, and thus causing crashes when accessing certain plane
1089 routines. This happened during the move to make the PLANENAMES option
1090 run-time configurable.
1092 Changes to Empire 4.2.0 - Thu Oct 29 06:27:15 PST 1998
1093 * Bumped rev to 4.2.0 since this is a major release (the server is now
1094 run-time configurable for just about everything and is released under
1096 * Put in official licensing information.
1097 * Re-arranged and commented the econfig (Empire Configuration) file. The
1098 auto-generated "data/econfig" file is now pumped out chock full of
1099 comments (which may or may not be useful.) Since the server is
1100 pretty much fully run-time configurable (MAXNOC is not, but it gets
1101 a default of 99 anyway) deities will probably be spending more time
1103 * Added server support for building under NT, including mods from
1104 Doug Hay and Steve McClure to get the server building and running
1105 under NT. (This was built using MSVC++ 5.0 on NT 4.0 and command
1107 * Added Doug Hay's ntthread.c implementation for NT threading.
1108 * Added max pop column to "show sector stats" output.
1109 * Added lboard command for boarding land units from sectors. Only raw
1110 mil can board land units, and only mil and land units aboard the unit
1111 being boarded fight back.
1112 * Added GODNEWS option. When enabled, the deity giving people stuff
1113 is shown in the news.
1114 * Added bridge tower sector ('@')
1115 * Added BRIDGETOWERS option. When enabled you can build bridge towers
1116 from a bridge span. You can then build bridge spans from the tower.
1117 If the tower is destroyed ( <20% eff) bridges connected fall unless
1118 supported on the other side. You can only build bridge towers in open
1119 water not adjacent to land and other towers. Expensive.
1120 * Added plains sector ('~') - Max pop is 1/40th regular sectors, and
1121 it is deity creatable only (can't redesignate unless you wasteland it
1123 * Changed "info all" to no longer use printdir, instead it just uses the "all"
1124 info page which contains this information.
1125 * Changed so you can now load up to 2 spy units onto non-land unit carrying
1126 submarines if the LANDSPIES option is enabled. Useful for sneaking up
1127 to shore and spying on your neighbors.
1128 * Changed so spies unloaded from ships are not given as gifts, they are just
1130 * Changed build command to handle building towers ("build t")
1131 * Changed show command to show tower stats ("show t b")
1132 * Changed reject so you can now reject things from any country except
1133 deity countries (this now includes sanctuary countries and visitor
1134 countries you don't want to deal with)
1135 * Changed ndump to dump nuclear stockpile ID as well.
1136 * Changed flash so that if someone allied to you is either not logged on or
1137 not accepting flashes, you are notified. This is info you could gain
1138 otherwise since you can see other countries that are allied to you via
1140 * Fixed bug in news command when HIDDEN mods are enabled.
1141 * Fixed distribute command to only write out to the database if we
1142 actually changed the sector (i.e. if we really moved the dist
1143 center, we write. Otherwise, it makes no point.)
1144 * Fixed threshold command to only write out to the database if
1145 we actually changed the sector (i.e. if we really changed the
1146 threshold, we write. Otherwise, it makes no point.)
1147 * Fixed - population growth and truncation in "Update-sequence.t" info
1149 * Fixed the way fortify takes mobility away from a land unit if
1150 engineers are present.
1151 * Fixed bug in buying commodities at the last minute not resetting the
1152 time correctly in all situations.
1153 * Fixed bug in building nukes where it would always ask if you tried
1154 building more than one at a time.
1155 * Fixed bug where if you put (either by building or by transporting)
1156 more than 127 of one type of nuke in a sector, they all got lost. A
1157 negative wrapover sort of thing.
1158 * Fixed ndump to print # of stockpiles dumped.
1159 * Fixed ndump.t to reflect changes
1160 * Fixed bug in build command that didn't account for EOL characters.
1161 * Fixed bug where you could use planes to drop conquered populace
1162 * Fixed bug in distribute command in how it checked for current distribution
1164 * Fixed pr_flash and pr_inform to no longer send messages if the player
1165 is still in the process of logging in (i.e. not in the PLAYING state)
1166 * Fixed report command output for deities.
1167 * Fixed bug in nuclear damage either taking out submarines when it
1168 shouldn't, or not taking them out when it should.
1169 * Fixed bug in loading units that are carrying units onto other units
1170 (note that it doesn't happen since only HEAVY units can carry other
1171 units and that check works, but that might change some day, and we
1172 don't want units carrying units to be carried by other units, etc. :) )
1173 * Fixed info pages to reflect new sector types.
1174 * Fixed info pages to reflect new spy unit capabilities.
1175 * Fixed show commands to only show trade ships if the TRADESHIPS option
1177 * Fixed build command to only allow building of trade ships if the
1178 TRADESHIPS options is enabled.
1179 * Fixed up some definitions located in many places used for checking
1180 sectors for navigation rights.
1181 * Fixed power.t to correctly describe NEW_POWER formula.
1182 * Made HIDDEN option run time configurable.
1183 * Made LOSE_CONTACT option run time configurable.
1184 * Made ORBIT option run time configurable.
1185 * Made SAIL option run time configurable.
1186 * Made MOB_ACCESS option run time configurable.
1187 * Made FALLOUT option run time configurable.
1188 * Made SLOW_WAR option run time configurable.
1189 * Made SNEAK_ATTACK option run time configurable.
1190 * Made WORLD_X and WORLD_Y run time configurable.
1191 * Made MARKET option run time configurable.
1192 * Made LOANS option run time configurable.
1193 * Made BIG_CITY option run time configurable.
1194 * Made TRADESHIPS option run time configurable.
1195 * Made SHIPNAMES option run time configurable.
1196 * Made DEMANDUPDATE option run time configurable.
1197 * Made UPDATESCHED option run time configurable.
1198 * Made LANDSPIES option run time configurable.
1199 * Made NONUKES option run time configurable.
1200 * Made PLANENAMES option run time configurable.
1201 * Removed SMALL_SERVER stuff (unused baggage)
1202 * Removed trading post sector ('v')