These are some collected snippets of code that are used in the Last Outpost Project that we've chosen to release publicly. Feel free to use any code examples that you find here in your own mud. If you use any of this stuff, a shout out to RahjIII and The Last Outpost on your credits page would be appropriate.
A TCL script that sets up a listening socket on the port defined in the script. Sends the greeting file, waits two seconds, then sends the message file line by line. Useful for a downtime or dns name change sign.
These are the super-simple fail2ban config scripts that we use to limit password guessing attempts. Check out the README for how to set it up.
A dikumud C code module to find a path from one room in the world array to another. Uses all-points-shortest-path for the calculation, and caches the paths it finds for efficiency. Compiles and runs under the original dikumud gamma release.
MUDitM is a telnet proxy that provides an IPv6 and telnet-ssl frontend to standard IPv4/telnet Multi-User Dungeon type games that have not implemented those networking features yet, whatever the reason. The implementation differs from other secure proxy implementations in that it tries to report the proxied client address up to the game server via the NEW-ENVIRON / MNES standard.
Disclaimer- We hope you find this code useful or interesting, but there's no warranty implied, and clearly there's no intent of fitness for any purpose here whatsoever. While the code archived on this page is open source, The Last Outpost Project itself is not. You won't be able to download the full game here, or anywhere else. Sorry!