 * The original autodist was written by Cowboy Bob 
 * All bugs in this version were introduced by King Craig (AKA C. Chase)
 * mail complaints, comments and suggestions to
 * cchase@ee.cornell.edu

 * this software may be freely distributed.  I ask however that the
 * authors' names remain attached to the source code and remain
 * associated with this tool

This is version 1.0 of the autodist tool for empire.  It works with
version 1.1 empire, however, it should be simple to modify read.c so
that it will work with any version.

Autodist reads a dump file and produces a set of dist commands which
will give each sectors in a country (except mountains and warehouses)
a minimum cost distribution path.  The dist commands produced are
incremental (i.e. if a dist path is already set, and autodist
doesn't find a better path, it won't output a dist command for that
sector) so you could run it every update.

Installation Instructions:
edit the Makefile (maybe you don't have gcc, who knows, there are some
pretty primative installations out there :-) ) and then type make.

Using autodist:
connect to the game and get a dump file like

% empire Zamboanga herb

   -=O=-

[XX:XX] Command: dump # >! .dump
[XX:XX] Command: quit


Then run autodist

% autodist -o distcoms

If you don't trust me (and you probably shouldn't, I might be playing
against you :-)) you might want to take a quick peek at the output.
Once you're satisfied I haven't stuck any dissolve commands in the
file, run it i.e.

% empire Zamboanga herb < distcoms

[XX:XX] Command:
Sector X,Y has no distribution path...
...

Good luck






