MSSP 70 /* free telopt value */
MSSP_GIVE 1
MSSP_TAKE 2
MSSP_SKIP 3
MSSP_UPTIME 1
MSSP_PLAYERS 2
MSSP_AREAS 3
Client: IAC DO MSSP
Server: IAC WILL MSSP
Client: IAC SB MSSP MSSP_GIVE MSSP_UPTIME IAC SE
Server: IAC SB MSSP MSSP_TAKE MSSP_UPTIME 1235024422 IAC SE /* Current time(NULL) value */
Client: IAC SB MSSP MSSP_GIVE MSSP_PLAYERS IAC SE
Server: IAC SB MSSP MSSP_TAKE MSSP_PLAYERS 2 IAC SE /* decimal value */
Client: IAC SB MSSP MSSP_GIVE MSSP_AREAS IAC SE
Server: IAC SB MSSP MSSP_SKIP MSSP_AREAS IAC SE /* Server hasn't implemented MSSP_AREAS or refuses to answer */
NEW-ENVIRON 39
IS 0
SEND 1
VALUE 1
USERVAR 3
/* Example */
client - IAC DO NEW-ENVIRON
server - IAC WILL NEW-ENVIRON
client - IAC SB NEW-ENVIRON SEND USERVAR IAC SE
server - IAC SB NEW-ENVIRON IS USERVAR "ROOMS" VALUE "15000" USERVAR "PLAYERS" VALUE "52" USERVAR "OBJECTS" VALUE "12345" IAC SE
/* USERVAR values: */
"UPTIME" Linux 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.
"PLAYERS" Current number of players online.
"BANDWIDTH" Current average bandwidth per month in Megabytes.
"AREAS" Current number of unique areas.
"ROOMS" Current number of unique rooms.
"MOBILES" Current number of unique mobs.
"OBJECTS" Current number of unique objs.
"SCRIPTLINES" Current number of unique world related script lines.
"HELPFILES" Current number of help files.
"CODEBASE" Name of the codebase.
"PREROGATIVE" Name of the prerogative codebase, ie "DikuMUD" or "Custom"
"LANGUAGE" Name of the language used, ie "German" or "English"
"MCCP" Supports MCCP ? if yes use "1" : if no use "0" ("y" / "n" preferable?"
/* etc */
Information that could be retrieved would be:
1. Uptime (epoch value).
2. Current number of players online.
3. Number of areas. (To deal with wilderness stuff)
4. Number of rooms.
5. Number of unique mobs.
6. Number of unique objects.
7. Number of help files.
8. Number of script lines.
9. Average bandwidth per month in MB.
Am I missing anything?