MSSP 70
MSSP_GIVE 1
MSSP_TAKE 2
MSSP_VALUE 3
MSSP_MUDVAR 4
/* Complex handshake example */
client - IAC DO MSSP
server - IAC WILL MSSP
client - IAC SB MSSP MSSP_GIVE MSSP_MUDVAR IAC SE
server - IAC SB MSSP MSSP_TAKE MSSP_MUDVAR "ROOMS" MSSP_VALUE "15000" MSSP_MUDVAR "PLAYERS" MSSP_VALUE "52" MSSP_MUDVAR "ALPHA" MSSP_VALUE "1" IAC SE
/* Simple handshake example */
client - IAC DO MSSP
server - IAC SB MSSP MSSP_TAKE MSSP_MUDVAR "ROOMS" MSSP_VALUE "15000" MSSP_MUDVAR "PLAYERS" MSSP_VALUE "52" MSSP_MUDVAR "OBJECTS" MSSP_VALUE "12345" IAC SE
/*
Official MUDVAR values:
*/
"UPTIME" Unix time value of the startup time of the MUD.
"HOSTNAME" Current or new hostname.
"IP" Current or new IP address.
"PORT" Current or new port number.
"CONTACT" Email address for contacting the MUD.
"ICON" URL to 32x32 256 color icon in bmp, gif, or jpg format.
"NAME" Current or new name of the MUD.
"WEBSITE" URL to MUD website.
"CODEBASE" Name of the codebase, eg "Merc"
"PREROGATIVE" Name of the prerogative codebase, eg "DikuMUD" or "Custom"
"LANGUAGE" Name of the language used, eg "German" or "English"
"LOCATION" Name of the location of the server, eg "France" or "USA"
"LAUNCHED" Year the MUD was launched.
"GENRE" "Adult", "Fantasy", "Historical", "Horror", "Science Fiction", "Fan Fiction"
"SUBGENRE" "BDSM", "LASG", "Medieval Fantasy", "High Fantasy", "World War II", "Western", "Frankenstein", "Dracula", "Cyberpunk", "Post Apocalyptic", "Harry Potter", "Dragonlance", "etc"
"GAMEPLAY" "Adventure", "Educational", "Hack and Slash", "Player versus Player", "Roleplaying", "Social", "Strategy"
"MINIMUM AGE" Current minimum age requirement, use "0" or omit if not applicable.
"PLAYERS" Current number of players online, if multi-playing is allowed report unique IPs instead.
"BANDWIDTH" Current average bandwidth per month in Megabytes.
/*
The following values should be generated at boot time, use "0" or omit if not applicable.
*/
"AREAS" Current number of areas.
"HELPFILES" Current number of help files.
"MOBILES" Current number of unique mobiles.
"OBJECTS" Current number of unique objects.
"ROOMS" Current number of unique rooms.
"SCRIPTLINES" Current number of world related script lines.
"WORLDS" Current number of worlds.
/*
All values are assumed to be "0" if omitted. Use "1" for yes, "0" for no.
*/
"ANSI" Supports ANSI colors ?
"MCCP" Supports MCCP ?
"MCP" Supports MCP ?
"MSP" Supports MSP ?
"MXP" Supports MXP ?
"PUEBLO" Supports Pueblo ?
"VT100" Supports VT100 interface ?
"XTERM 256 COLORS" Supports XTERM 256 COLORS ?
"FREE TO PLAY" Free to play ?
"PAY FOR PERKS" Pay for perks ?
"ALPHA" Game is in development ?
"BETA" Game is beta testing ?
"HIRING" Game is hiring ?
"CLASSLESS" Game has no classes ?
"COMBATLESS" Game has no combat ?
"LEVELESS" Game has no levels ?
"RACELESSS" Game has no races ?
"ROOMLESS" Game has no rooms ?
else if( iac == 2 )
{
iac = 0;
if( d->inbuf[i] == ( signed char )TELOPT_COMPRESS2 )
{
if( d->inbuf[i - 1] == ( signed char )DO )
compressStart( d );
else if( d->inbuf[i - 1] == ( signed char )DONT )
compressEnd( d );
}
else if (d->inbuf[i] == ( signed char )TELOPT_MSSP && d->inbuf[i - 1] == ( signed char )DO )
{
mssp_report( d );
}
"STATUS" "ALPHA", "BETA", "LIVE"
"CLASSES" Number of classes, use "0" if classless.
"LEVELS" Number of levels, use "0" if leveless.
"RACES" Number of races, use "0" if raceless.
"ROOMS" Number of rooms, use "0" if roomless.
"PAY TO PLAY" Pay to play ?
"PAY FOR PERKS" Pay for perks ?
"HIRING BUILDERS" Game is hiring builders ?
"HIRING CODERS" Game is hiring coders ?
All boolean values are assumed to be "0" if omitted. Use "1" for yes, "0" for no.
It's a matter of opinion, I think my 2nd definition of rooms as unique containers is the better one.
Guess a "ROOMLESS" option should be added?