My MUSH dies on startup, logs mutter something like 'Illegal compression code length'

Submitted by javelin on Mon, 2012-02-13 19:51

My MUSH dies on startup, logs mutter something like 'Illegal compression code length'

This is a known issue with the Huffman compression, but it's nontrivial to fix. It happens in somewhat rare occasions, and only seems to affect MUSHes running on Linux.
While fixing the compression code itself isn't easy, fixing the problem is not too hard: Change compression types.
In the pennmush dir, open options.h in the editor, and find the line that goes '#define COMPRESSION_TYPE'. On that line, change the 1 to something else. Detailed descriptions are above it in the file, but in a pinch, you might want to set it to 4, and if that fails to 0. If it still doesn't work then something else is amiss.
After you've changed options.h, save it, and do a make install. After that, hopefully your MUSH will run again.

2003-Nov-12 9:46am aiviru