Skip to content

Redwall MUCK Site

Sections
Personal tools
You are here: Home » Members » Riverdale's Home » Code Examples
« January 2009 »
Su Mo Tu We Th Fr Sa
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
 

Code Examples

Up one level
Riverdale J. Snoogsaskerl's selection of MPI and MUF code examples from way back when bushy-tailed squirrels were real bushy-tailed squirrels.
Code Examples Teaching
Functional code examples with explanations to help new coders learn MPI.
Code Examples MPI Text Wrap
An MPI macro for wrapping text to a given width, useful for automatically formatting descriptions.
Code Examples MPI Wrap Source
 
Code Examples MPI Music Box
Translates notes (i.e., 'ABCD') into musical notation (treble clef).
Code Examples Music Box Code
 
Code Examples MPI Message Board
An MPI Message Board
Code Examples Soda Machine
A simple MPI Soda Machine
Code Examples Sagebrush Inn
I post this mostly for the purposes of demonstrating build-scripting techniques and some reasonably intricate MPI scripting and automation. While this script can be run on an NMC MUCK, I recommend against running this unless you want a clone of my inn. Included is code for a message board, a room system (with keys, a concierge, a bellweasel...), a pillow fight game, and probably other things of interest. Some annoying design limitations in MPI make repeat code more necessary than I would like, but that's a subject for another rant.
Code Examples Wiz-code
Truly ancient code, most (all?) of which requires a wizbit to function, and none of which has been tested in the past five years. This is mostly for backup purposes, although someone may get some use out of poring over the files.
Code Examples Cartographer
A drone that explores an area and generates map data.
Code Examples MPI Laser Tag
A pretty well featured MPI laser tag game. This code will NOT RUN AS-IS, so don't copy and paste it. I put it here primarily because it may have instructional value and, secondarily, for archival.
 

Powered by Plone

This site conforms to the following standards: