Space Patch Information


NameDateSpace VersionRequiresObsoleted
S71115c.gz15-Nov-970.8.4-S71116
S71115.gz15-Nov-970.8.4S71024S71116

Description

These patches correct a bug in the short contact list code which causes a SEGV under some conditions [Reported by Ross V Elia(Chemosh)]. It also has a major reworking on the console code to support a much more flexible scheme of consoles.

The old code for defining 1 console of each type is gone, and instead, you define a list of consoles on the space object's CF_CONSOLE_LIST attribute. You then define CF_CONSOLE_TYPES on the consoles themselves to list the classes of messages that console should receive.

NOTE: THE GAME SOFTCODE NEEDS TO BE UPDATED TO COPE WITH THE NEW CONSOLE ARRANGEMENTS. SEE THE CHANGES FILE AFTER APPLYING THE PATCH.

NOTE: THIS PATCH IS ONLY VERY VERY LIGHTLY TESTED AND MAY NOT WORK AS EXPECTED. PLEASE REPORT ANY PROBLEMS. THIS IS ESPECIALLY TRUE FOR DUPLICATED MESSAGES/ERROR EMITS.

Installation Notes

  1. Download S71115c.gz if you are going to apply this to a clean 0.8.4
  2. Download S71115.gz if you are going to apply this to 0.8.4 + S71024
  3. Change to your top-level directory, where you have space-0.8.4 or space-s71024 as a sub-directory
  4. Uncompress the patch using gunzip -d S71115.gz or gunzip -d S71115c.gz
  5. Run patch < S71115 or patch < S71115c
  6. Read the CHANGES file, and look through the source to see what's changed.
  7. Edit spaceconf.h to enable/disable the features you want
  8. Recompile the space code. Note: There are still 4 warnings from command.c about discarding 'const'. These are expected, and I will correct this for the next patch set (yes really).
  9. Change to your mux source directory (eg ~/mux/src)
  10. Recompile your MUX
  11. Log into your MUX and @restart it.
  12. Check @version shows that the features you wanted are compiled in.
  13. Update the softcode to deal with the new features/changes.

This code is provided as a service to the community using the Portable Space Code. By using this code, you agree that the author is not responsible in any way for any damage caused.


Valid HTML 4.0! Maintained by Mark Cooke
Last Updated: Friday, 28-Nov-2003 10:52:48 GMT