Patch Information| Release | Full Source | Patch | Obsoleted |
|---|---|---|---|
| 0.9.5 | space-0.9.5.tar.gz | 0.9.4 -> patch-0.9.5.gz | patch-0.9.6 |
Patch v0.9.5
============
- Fixed an unprotected dereference of ship data
for non-ship objects in the tractor code. This
caused a SEGV when locking tractors to a non-ship
object.
- Fixed a potential problem with the distance /
sensor calculation code. This may cure some reports
of contacts disappearing for no apparent reason.
- Updated some of the shield module code. It's still
not all there, but a bit more is completed. Changed
the default condition to 'not enabled' in spaceconf.h
- Renamed interface.h to pseint.h to remove a conflict
with a server.
- Removed the manual define of MUX/MUSH/PENN from
spaceconf.h in favour of automagically passing the
define as part of the compile flags.
NOTE: If you do not rebuild your server with the
patches included in this release, you should
make the following changes to your server
Makefile:
MUX: Replace: MUDCFLAGS="$(ALLCFLAGS)"
With: MUDCFLAGS="$(ALLCFLAGS) -DMUX"
in 3 places.
MUSH: Replace: MUDCFLAGS="$(ALLCFLAGS)"
With: MUDCFLAGS="$(ALLCFLAGS) -DMUSH"
in 3 places.
PENN: Replace: MUDCFLAGS="$(ALLCFLAGS)"
With: MUDCFLAGS="$(ALLCFLAGS) -DPENN"
in 2 places.
- Moved the flag handling functionality of the
PSE into a separate source module - flag.c/flag.h.
Also changed the flag handling for the object and
ship flags to use a human friendly format in keeping
with the console type flags.
- Changed the ST_FLAGS and ST_SHIPFLAGS to use symbolic
names. The old binary flags are automatically updated.
*NOTE*: Each space object added to space will be has
the old-style binary flags converted. If you use
parents, the parent objects will not be updated, so you
may want to add a single object to space, and then copy
the converted flags onto the parent. A copy of the
pre-conversion binary flags are written to the server
logfile.
The build process has changed in this release to automatically define the correct server type. You must follow the instructions in the CHANGES file if you do not repatch your server from scratch.
This should be the last change to the build process for a while.
CHANGES | 46 docs-src/src/doc-index.body | 22 patches/patch-pennmush-1.7.2p10 | 4 patches/patch-tinymush-2.2.3 | 6 patches/patch-tinymux-1.4p13 | 4 patches/patch-tinymux-1.5p3 | 6 src/Makefile | 4 src/comm.c | 2 src/commands.c | 99 ! src/damage.c | 2 src/eng.c | 2 src/events.c | 2 src/flag.c | 385 +++++++ src/flag.h | 35 src/interface.h | 57 - src/nav.c | 2 src/object.c | 702 +------!!!!!! src/object.h | 4 src/platform.c | 2 src/pseint.h | 57 + src/scm.c | 8 src/scm/scm.h | 39 src/scm/scm_armour.c | 17 src/scm/scm_hull.c | 51 ! src/scm/scm_shields.c | 17 src/sensors.c | 1506 !!!!!!!!!!!!!!!!!!!!!!!!!!!!! src/shields.c | 371 !!!!!!! src/ship.h | 12 src/smain.c | 123 !! src/smisc.c | 2 src/space.h | 27 src/spaceconf.h | 18 src/tactical.c | 2 src/varray.c | 2 src/version.h | 2 35 files changed, 643 insertions(+), 369 deletions(-), 2628 modifications(!)
This code is provided as a development release. Not all of the functionality noted in the documentation may be present, and correct operation of the included components is not guaranteed. Caveat Emptor.