]> git.pond.sub.org Git - empserver/blob - info/Empire4.4.t
info/Empire4.4: Update change log for 4.4.1
[empserver] / info / Empire4.4.t
1 .TH Server "Empire4 Changes"
2 .NA Empire4.4 "Changes in Empire 4.4 (2015-present)"
3 .LV Expert
4 .s1
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.
7 .NF
8 Changes to Empire 4.4.1 - Sun Jan 17 2021
9  * Fix land unit casualties in guerrilla fighting.  Broken in 4.4.0.
10  * Changes to edit:
11    - You can now edit bars on ships and land units, and missile
12      fortification.
13    - Fix to reject fortification of embarked land units.
14    - Fix to zap land unit and plane fortification on load.
15    - Fix to take satellite off its carrier when moving it to orbit.
16  * Changes to load, unload, lload, lunload, tend, and ltend:
17    - tend land with multiple target ships now tends each land unit
18      just once.
19    - tend land now reports "not on ship" only when the land unit was
20      explicitly selected by UID.  Matches unload.
21    - Fix load, unload, lload, lunload to suppress messages and skip
22      foreign ships / land units when the second argument starts with a
23      digit.
24    - load and unload no longer prompt for land units to unload when a
25      carrier can't carry any.
26    - Fix load plane to reject satellites in orbit.  The stock game
27      does not have loadable satellites.
28  * Fix launch to take satellites off their carrier when moving to
29    orbit.
30  * Shield embarked planes and land units from sector damage, like
31    their ships.
32  * Rewrite much of fairland to make it more robust and more fair:
33    - Show a more useful map.
34    - Fix error handling, fix and tidy up error and progress messages.
35    - Drop option -a.  Deities can find continents with ?dterr<N, where
36      N is the number of continents.
37    - Drop option -o.  Deities can unset resources with "edit l * i 0 g
38      0 f 0 c 0 u 0".
39    - Drop a useless warning about small world.  It was downgraded from
40      error in 4.3.25.
41    - Check arguments more thoroughly, and don't silently "correct" bad
42      arguments.
43    - Fix checking of minimal distance arguments.  Has always been
44      broken, but 4.3.15 made it worse.
45    - Ensure the continents' first two sectors obey minimal distance.
46    - Correct bias in placement of expansion islands.  These were more
47      often placed to the right of existing land.  Players could
48      exploit that to guide their search for land.
49    - Fix island growth and correct its bias.  Growth could fail even
50      when there was space to grow.  Islands tended to curve around
51      obstacles in a counterclockwise direction.  Besides fixing that,
52      the new code also gives better results for high spike
53      percentages: it produces shorter spikes extending from a core
54      rather than long snakes that tend to curve into themselves, and
55      is less prone to put capitals on the coast.
56    - Size and place expansion islands fairly: ensure each start island
57      "owns" the exact same set of expansion islands, where "owns"
58      means it's closer than any other start island.
59    - To make that work, fairland now requires the number of expansion
60      islands to be a multiple of the number of continents, and fails
61      when it can't place all the islands the deity asks for.  You
62      can't fill the world with islands anymore by asking for
63      impossibly many of them.
64    - Fix silent failure to place place mountains.  Fairness issue.
65    - Fix unfair mountain resources.  Neglected when Empire 3 made
66      mountains produce gold dust.
67    - Drop undocumented, silent limit of 1000 mountains per island.
68    - Location of resources is more varied, in particular for islands
69      with few mountains, and for sea.  Resource remain pretty much the
70      same overall.
71    - Performance improves for large minimal distances, especially for
72      crowded worlds.  It can suffer for huge worlds and small minimal
73      distances.
74    - Manual page improvements.
75    - Code refactoring and cleanup.
76  * Test suite improvements:
77    - Fix empdump-test for "make check-accept".  Has been broken its
78      addition in 4.3.33.
79    - Improve give and edit coverage.
80    - Cover load and tend.  There are known gaps.
81    - Improve fairland coverage.
82  * Game customization improvements:
83    - Configuration tables now have more extra space deities can use
84      for customizing their games: 31 product types, 63 sector types,
85      127 ship, plane and land unit types, and 63 nuke types.
86    - Work to produce stuff is now independently configurable, and
87      "show product" shows it.  Before, it was a function of raw
88      materials and resource use.
89  * New product selector "bwork" is work to build one unit of the
90    product.
91  * Fix build with compilers that require the depcomp wrapper for
92    dependency tracking.  Broken in 4.3.31.
93  * Fix LWP signal code.  Messed up in 4.3.6, some more in 4.3.10.
94  * Improve POSIX conformance for portability.  Observed to fix the
95    build on Solaris 10.
96  * The client's password prompt now behaves the same on all POSIX
97    systems: read from standard input in canonical mode with echo
98    turned off.  Before, it commonly read from /dev/tty in noncanonical
99    mode.
100  * The server crashed on systems when bomb, launch and interdiction
101    miss the target.  Fix that.
102  * Fix truncated "info Empire4.3" on systems with a losing nroff.
103  * Make client's fancy line editing and persistent history work on
104    more systems.
105  * Fix ground combat not to wipe out commodities supplied to defending
106    land units.  Broken in 4.3.33.
107  * Don't permit SAMs on escort missions.  They work, apart from a
108    recoverable internal error, but it makes no sense.
109  * Don't permit marine missiles on support missions.  They can't
110    actually go.
111  * Drop support for ABM and a-sat missiles consuming shells.  The
112    shell use is logistical busy-work, and economically irrelevant.
113    The stock game's abm type didn't consume any, but its asat type
114    did.
115  * Stricter plane configuration validation.
116  * Increase mountain process efficiency from 75% to 100%.  Gold
117    resources in mountains are now worth the same as elsewhere, and a
118    third more than before.
119  * Fix crash when a deity runs neweff or production on a sea sector.
120    Broken in 4.4.0.
121  * Don't let embarked engineers work.  Screwed up when the command was
122    added in Empire 2.
123  * Fix buy error messages on concurrent lot change.
124  * Code refactoring and cleanup.
125  * Info page, manual page and documentation fixes and clarifications.
126
127 Changes to Empire 4.4.0 - Sun Sep  3 2017
128  * Don't increase negative ship and land unit mobility to zero on
129    trade.
130  * Client improvements:
131    - Support fancy line editing and persistent history when compiled
132      with the GNU readline library.  Contributed by Martin Haukeli.
133    - Fix misdetection of input EOF in obscure circumstances.
134    - Tighten protection against rogue server abusing redirection and
135      execute.
136    - Improve some error and warning messages.
137  * Fix wire for deities to honor announcement rejection.  Broken in
138    Empire 3.
139  * Fix excessively fast contact aging with option LOSE_CONTACT.
140    Broken in 4.3.0.
141  * The edit command no longer shows contact with option HIDDEN.
142  * Grant security units a military control bonus similar to their
143    shoot and convert mobility bonus.
144  * Embarked land units no longer contribute to military control.
145  * Fix convert and shoot not to put foreign and embarked land units to
146    work.  Screwed up when land units were added in Chainsaw.
147  * A security unit's combat strength bonus for fighting guerrilla is
148    now proportional to its efficiency.
149  * The mobility bonus a security unit provides to shooting and
150    converting civilians is now proportional to its efficiency.
151  * Fix a missing newline in the edit command's "teleported" message.
152    Messed up in 4.3.32.
153  * Don't permit boarding of embarked land units.
154  * Guerrilla fighting fixes:
155    - Let rebels liberate old-owned sectors again.  Broken in 4.2.6.
156    - Fix overeager destruction of defending land units.  Screwed up
157      when land units were added in Chainsaw.
158    - Reduce under-strength land unit damage for consistency with
159      ordinary ground combat.
160    - Land units without military can no longer die fighting che.  They
161      can now get captured when the rebels take over the sector, just
162      like in ordinary ground combat.
163    - Fix the way casualties are applied to land units, because it is
164      utterly bonkers.  Screwed up when land units were added in
165      Chainsaw, made worse when military became loadable in 4.0.0.
166    - Fix guerrilla shootout body counts.  Screwed up when land units
167      were added in Chainsaw.
168  * Fix ground combat not to disclose retreat of defending land by
169    printing newlines.  Messed up in Empire 3.
170  * Fix bad grammar in message reporting destruction of an attacking
171    land unit.
172  * Fix a missing newline in intelligence reports on land units.
173    Broken in 4.3.33.
174  * Spy unit changes:
175    - Spies can no longer assault foreign sectors together with non-spy
176      units.  This matches attack and board.
177    - Ground attack can no longer detect spies in the target sector.
178      They can still get caught when the attack succeeds.
179    - Spies that get caught when their sector is taken over are now
180      summarily executed.
181    - Change the chance for assaulting spies to "sneak ashore"
182      undetected from 10% regardless of efficiency to 40% at 100%
183      efficiency.  The chance drops to 0% at 20% efficiency.
184    - Assaulting spies now use mobility and can hit landmines even when
185      they "sneak ashore".
186    - Plug memory leak in spies sneaking ashore.  Screwed up when spy
187      units were added in 4.0.0.
188  * Plug memory leak when missile defense sinks attacking ships.  The
189    leak goes back to flawed bug fix in Empire 2.
190  * Fix lost and xdump lost to report more than one lost sector.
191    Broken since lost item tracking was added in 4.0.7.
192  * Merged news reports now saturate "times" at 65535.  Before, merging
193    stopped when "times" reached 127.
194  * More detailed version information, looks like this:
195        V            Unmodified release V (same as before)
196        V.N-H        Modified release built from a clean git tree
197                     N is the number of additional commits, and
198                     H is the abbreviated commit hash
199        V.N-H-dirty  Same, but the working tree is dirty
200        V-dirty      Modified release built from a tarball
201    Visible in output of commands version, xdump version, and in
202    program output for option -v.
203  * Update, budget, neweff, production and work improvements:
204    - Delivery screws up when it abandons a sector.  Fix by making it
205      not abandon sectors.
206    - Plague people in sectors only after taxes and feeding, for
207      consistency with ships and land units.  Sectors were messed up in
208      Empire 3.
209    - Reorder the update sequence not to prefer countries with lower
210      country numbers when the same sector repairs ships, planes or
211      land units owned by multiple countries.  Broken since Chainsaw
212      introduced budget and foreign repairs as options.  Either option
213      worked sanely in isolation back then, but not their combination.
214      They both became standard in Empire 2.  Restore the pre-budget
215      order.
216    - Fix budget for ship, plane and land unit repairs in foreign
217      sectors.  Also broken since Chainsaw.
218    - Fix the update to use new available work for ship, plane and land
219      unit repairs even when the sector owner has a higher country
220      number.  Also broken since Chainsaw.
221    - Pilots are now paid at the same time as other military.  Can
222      matter only when the country goes broke during the update.
223    - Make ships produce after eating and building efficiency, like
224      sectors.  The starvation command assumed that, and the change
225      "fixes" it.
226    - Don't let stopped ships produce.
227    - Fix sector maintenance to charge for stopped sectors and when the
228      owner is broke.  Broken in 4.3.23.
229    - Fix plane maintenance to charge for satellites in orbit.  Broken
230      in 4.2.2.
231    - Change TECH_POP to count civilians in ships and land units.
232    - Fix happiness and education to count civilians in ships before
233      plague (same as in sectors), and to count civilians in land
234      units.  No such land units exist in the stock game.
235    - Revise sector production to avoid rounding intermediate values.
236      This makes commands production and budget a bit more accurate.
237    - Don't round income and expenses before adding them up.  Fixes
238      numerous crazy artifacts, such as military getting paid less when
239      spread over many sectors.
240    - Fix budget for nations going broke or becoming solvent.
241    - Fix military count in budget.
242    - Zap available work when the sector is stopped or its owner is
243      broke.  Broken in 4.0.0.
244    - Limit "rollover" of unused available work to about half the
245      work done by people at the update.
246    - Round the people's work randomly rather than down, to reduce
247      micromanagement incentives.  This is how things worked until
248      Empire 3.
249    - Make sector and unit building more predictable.  The budget
250      command is now a bit more accurate.
251    - Don't let repair of foreign ships, planes and land units use
252      materials and available work destroyed by che or the plague.
253    - Stopped sectors no longer repair foreign ships.
254    - Fix unowned uw to eat, procreate and produce normally.
255    - Fix budget not to predict production when the required level is
256      too low.
257    - Fix use of stale owner after revolt or revert to deity.  In
258      particular, a bank now pays interest to the rebels.  Research and
259      tech level for plague were also off.  Has always been wrong.
260    - neweff and production now simulate the effect of insufficient
261      food, like budget does.
262    - Fix double-rounding of new work that made the update sometimes do
263      less than neweff and production predicted.  Broken in Empire 3.
264    - Enforce sector population limit only right after growth.  Before,
265      it was also enforced when the sector changed from big city to not
266      big city (since Empire 2 added option BIG_CITY), but not for
267      other changes of the population limit during the update.
268    - Limit work in big cities to the population limit at 0%
269      efficiency, to get rid of ugly special cases in the code.
270    - Code refactoring to undo much of the damage done in Empire 3 to
271      make budget reuse the update's code.
272  * Make plains more like wilderness: efficiency costs no money,
273    but doesn't reduce mobility cost.
274  * Changes to collect:
275    - Tweak value of sectors.
276    - You can no longer collect an active capital.
277    - Don't disclose the value of a sector when it exceeds the amount
278      owed.
279  * Changes to xdumps, breaking compatibility:
280    - Split tables relat, reject, contact off table nat.  Saves disk
281      I/O and xdump bandwidth.
282    - Table nat's field "hostname" was deprecated in 4.3.33 and is now
283      gone.
284    - Meta-type numbers now map to meta-type symbols 1:1.  Meta-type
285      "c" is gone; the selectors use type "s" instead.
286    - New sect-chr and item field "power".  Field "value" is gone.
287    - New sect-chr and infrastructure fields "l_build", "h_build"
288      replace "lcms", "hcms".  The replacements track materials for
289      building 100% instead of 1%.
290    - New plane-chr field "m_build" replaces "crew".
291    - New sect-chr, ship-chr, plane-chr, land-chr, nuke-chr and
292      infrastructure fields for arbitrary build materials, named
293      "g_build" for guns, "p_build" for petrol, and so forth.  For now,
294      these are all zero.
295    - sect-chr field "cost" is now money to build 100% (was: cost to
296      designate).  It replaces field "build" (money to build 1%).
297    - New sect-chr, ship-chr, plane-chr, land-chr and nuke-chr field
298      "bwork" is work to build 100% sector efficiency.  Tearing down a
299      sector costs one fourth as much.
300    - New sect-chr field "flags", backed by new table sect-chr-flags.
301      The only flag so far is "deity", which marks sectors mortals
302      can't designate.
303    - New infrastructure fields "cost" and "bmobil" are money and
304      mobility to build 100%.  They replace fields "dcost" and "mcost"
305      (money and mobility to build 1%).
306    - meta-flags "extra" and "const" are gone.  They were of no concern
307      to clients anyway.
308  * Game customization improvements:
309    - The power value of commodities is now configurable, and "show
310      item" shows it.  The collect value of commodities and sectors is
311      no longer independently configurable, but derived from power
312      value.
313    - More flexible infrastructure material and mobility cost
314      configuration.
315    - More flexible sector build material and cost configuration,
316      consistent with unit building.
317    - Work to build sectors, ships, planes, land units and nukes is now
318      independently configurable.  Before, it was fixed at 100 for
319      sectors, and a function of build materials for ships, planes,
320      land units and nukes.
321    - The designate command can no longer be made to cost money.
322  * Fix obscure corner cases where we failed to reset work percentage,
323    loyalty or old owner in sectors without civilians.  Lingering old
324    owner can prevent airlifting and unloading civilians.  The fix
325    partly mitigates the bug where airlifted and unloaded civilians
326    adopt the sector's work percentage and loyalty.  It also sets work
327    percentage to 100% for unowned sectors without civilians.
328  * Even planes without crew can now spread the plague.
329  * The transport command now computes plane weight from build material
330    weight rather than making it up.  The stock game's planes become a
331    bit easier to transport, except for Zeppelins.
332  * Tweak the "power factor", which determines power chart order:
333    - Nukes now contribute to power just like other units.
334    - Tweak power value of items, sectors ships, planes and land units:
335      construction materials, oil and civilians are worth less, shells,
336      guns, bars and petrol are worth more.  Cheap and old (low tech)
337      ships, planes and land units are worth less, expensive and new
338      ones are worth more.  Cheap and "small" (low maximum population)
339      sectors are worth less, expensive and big ones are worth more.
340    - Tweak tech's contribution to power so it's less dominant at low
341      tech.
342    - Research no longer contributes to power with option RES_POP.
343    Note that with the old formula, producing and building certain
344    things could be a net loss of "power".
345  * The edit command now lets you edit land unit plague stage and time.
346  * Takeoff and landing in mountains now require capability helo or
347    missile.  The flying commands reject fixed-wing planes based in
348    mountains.  When flying to a mountain, they select only helicopters
349    and silently ignore the rest, exactly like they select only VTOL
350    planes for flying to a non-airfield.  Similarly, missions ignore
351    fixed-wing planes in mountains.  Before, any plane could bomb,
352    drop, paradrop and fly missions out of a mountain, but no plane
353    could fly to a mountain one-way, with fly, recon or sweep.  Has
354    always been that way.
355  * Add missing newlines to "while it is carrying a nuclear weapon"
356    messages.  Screwed up in 4.3.23.
357  * Disallow bombing spy units.  Bombers spotting spies makes no sense.
358    Worse, they could bomb spies that weren't spotted.  Screwed up when
359    spy units were added in 4.0.0.
360  * Fix march's check for sector abandonment not to ignore land units
361    that evade spy detection or are loaded on ships, but to ignore land
362    units loaded on land units marching out.  Broken in 4.3.33.
363  * Fix damage and ammunition use when multiple defenders with the same
364    UID (say a ship and a land unit) return fire to multiple attackers.
365    Broken in 4.3.12.
366  * Fix march not to wipe out concurrent updates when the player
367    declines to abandon the sector.  Broken in 4.3.33.
368  * Make the savecore example script report more nicely when there's no
369    core dump.
370  * Enable various compiler options for hardening the programs against
371    certain kinds of attacks when available.
372  * Tell compilers not to rely on strict aliasing and signed overflow
373    rules.  These rules are subtle, and compilers can't reliably
374    diagnose violations.
375  * Test suite improvements:
376    - Add news to the smoke test.
377    - Enable GNU libc memory allocation error checking.
378    - Cover much of the update.  Notable gaps are fallout, delivery,
379      distribution, ALL_BLEED, LOSE_CONTACT, and parts of guerrilla.
380    - Cover version, show and xdump of configuration.
381    - Improve navigate and march coverage.
382  * Plug memory leaks in navigate and march.  Broken in 4.3.33.
383  * Fix read beyond buffer in navigate, march and automatic retreat.
384    Could theoretically crash the server.  Broken in 4.3.33.
385  * Fix out-of-bounds array read in bomb, drop, fly, paradrop, recon,
386    sweep.  Could theoretically crash the server, or be abused to gain
387    plane mobility.  Broken in 4.3.27.
388  * Enable more compiler warnings.
389  * Code refactoring and cleanup.
390  * Info page, manual page and documentation fixes and clarifications.
391
392 .FI
393 .s1
394 .SA "Server"