Space Patch Information

NameDateSpace VersionRequiresObsoleted


The main change in this patch is the addition of two spacecalls to allow ships to roll about their direction of travel. This change now allows total freedom of orientation of ships. You will need to write a 'roll' command, and to update the status pages as you see fit to return roll information.

The second change is the addition of an 'enable_console' spacecall which allows consoles to be deactivated. This is a good thing to do to save CPU time if you don't want messages to be emitted to it. It (currently) has no effect other than disabling hardcode console-type broadcast emits.

This patch also updates the gun handling code so that the maximum range emitted if the target is out of range is adjusted for the CF_RANGE_FACTOR.

NOTE: See the information about S71115 for the changes needed to support the new console arrangements which are also in this release.

Installation Notes

  1. Download S71130c.gz if you are going to apply this to a clean 0.8.4
  2. Download S71130.gz if you are going to apply this to 0.8.4 + S71120
  3. Change to your space directory. (eg space-0.8.4 or space-s71120)
  4. Uncompress the patch using gunzip -d S71130.gz or gunzip -d S71130c.gz
  5. Run patch -p1 < S71130 or patch -p1 < S71130c
  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.
  9. If the warnings about discarding 'const' worry you, edit the externs.h and stringutils.c in the mux directory to make the first parameter 'const char *' instead of just 'char *'.
  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.

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