Space Patch Information


NameDateSpace VersionRequiresObsoleted
S70921c.gz21-Sep-970.8.3-S70930
S70921.gz21-Sep-970.8.3S70914S70930

Description

This patch corrects the bug that let you raise shields while cloaked. It also adds a dorsal and ventral (top and bottom) shield to ships. Also, the beginnings of overridable engine messages was implemented for target locking, along with some basic ANSI.

NOTE: THIS PATCH IS NOT EXPECTED TO WORK ON ANY PLATFORM OTHER THAN MUX IF YOU #define COMPACT_DISPLAYS in spaceconf.h

To use overridable messaging, you enable EVENT_DRIVEN for the object, and then to suppress the engine generated messages, you make sure that the EV_* event returns '1'. The only events this works for are the weapons locking events. Check the source for USE_MESSAGING_EVENTS. Some of the callbacks now have expanded parameters to help the softcode do the emits, but the documentation isn't up to date on that yet. EV_LOCK_FAILED is called with some condition parameters when a lock request fails for some reason. Again, read the source to find the constants until I write some more documentation.

Installation Notes

  1. Download S70921c.gz if you are going to apply this to a clean 0.8.3
  2. Download S70921.gz if you are going to apply this to 0.8.3 + S70914
  3. Change to your top-level directory, where you have space-0.8.3 or space-s70914 as a sub-directory
  4. Uncompress the patch using gunzip -d S70921.gz or gunzip -d S70921c.gz
  5. Run patch < S70921 or patch < S70921c
  6. Download coords.jpg and put it into the docs/coords subdirectory.
  7. Read the CHANGES file, and look through the source to see what's changed.
  8. Edit spaceconf.h to enable/disable the features you want
  9. Recompile the space code
  10. Change to your mux source directory (eg ~/mux/src)
  11. Recompile your MUX
  12. Log into your MUX and @restart it.
  13. Check @version shows that the features you wanted are compiled in.
  14. Update the softcode to deal with the new features/changes (ie dorsal and ventral shields, possible paramter differences in EV_* events).

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