Space Patch Information

NameDateSpace VersionRequiresObsoleted


This patch adds 'short_contact_list(contact,ships,others)' and 'contact_info_string(contact)'. It also modularizes the system damage code, and adds code to destroy the ship if the engine is destroyed through stress.

This patch also corrects a SEGV in 0.8.3 when stressing the engine if warnings were enabled, and implements a wide-ranging change to the object destruction code to prevent accessing freed memory objects. Please note that this code is very new, and has only been lightly tested. It is possible that there may be cases in the code where an object flagged 'REMOVED' is still listed in functions such as sensor reports, etc. I have tried to catch all of these cases, but I may have missed some.

Also corrected in this patch is a flaw in the range updating code in S70905 which manifests itself as dropping all huge objects from the sensor lists when a non-huge object was removed from space. This was fixed by adding a check to prevent the huge object list being orphaned.

Installation Notes

  1. Download S70912c.gz to apply this to a clean 0.8.3
  2. Download S70912.gz to apply this to 0.8.3 + S70909
  3. Change to your space directory (eg ~/mux/src/space)
  4. Uncompress the patch using gunzip -d S70912.gz or gunzip -d S70912c.gz
  5. Run patch < S70912 or patch < S70912c
  6. Edit spaceconf.h to enable/disable the features you want
  7. Recompile the space code
  8. Change to your mux source directory (eg ~/mux/src)
  9. Recompile your MUX
  10. Log into your MUX and @restart it.
  11. Check @version shows that the features you wanted are compiled in.

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:47 GMT