From the newsgroup:
Stefan Reuther wrote:
> VPA was allocating a 4k buffer and unpacking shipxy.dat
> through it. In Host999 games, shipxy.dat is 8k. PHost
4 always
> sends an 8k shipxy.dat file to avoid a bug in Winplan
(Winplan
> unpacks an 8k file even if the RST only contains 4k).
>
> Maybe that bug got away unharmed because you were
lucky. It
> crashed instantly on my computer :)
To which I replied:
Looking at the code of the tool I use (
http://plantool.sf.net/ ) I see that it simply reads
the info for 500 ships unless it encounters an
end-of-file before that. This means that it won't
crash, but it won't read info on ships with IDs larger
than 500 either. Well, it seems fixable then.
----------
Right now, MAX_SHIP_ID (=500) ships are read from
shipxy.dat. But the pconfig option NumShips is
recognized, which may be more or less than 500.
(Usually either 500 or 999).
Logged In: YES
user_id=670686
MAX#ships MAX#planets MAX#bases
are all sitting on one define in stats which could easely be
turned into a var.
These vars are only used for index and cross reference tables
which are build (needs to check this) after all data has been
read.