Skip to content
Snippets Groups Projects
Commit 609f5caf authored by Nigel Reed's avatar Nigel Reed
Browse files

Added MSP, MXP, MSDP and a few other protocols

that may be used by MUD type games so their login
screens can be captured without the odd chars.
parent 906ee60f
No related branches found
No related tags found
1 merge request!412Added MSP, MXP, MSDP and a few other protocols
Pipeline #5921 passed
...@@ -19,6 +19,16 @@ const NOP =241 /* 0xf1 - No operation */ ...@@ -19,6 +19,16 @@ const NOP =241 /* 0xf1 - No operation */
const SE =240 /* 0xf0 - End of subnegotiation parameters. */ const SE =240 /* 0xf0 - End of subnegotiation parameters. */
const NAWS =31 /* 0x1f - NAWS - Negotiate About Window Size */
const MSDP =69 /* 0x45 - MSDP - MUD Server Data Protocl */
const MMSP =70 /* 0x46 - MMSP - MUD Master Server Protocol */
const COMPRESS =85 /* 0x55 - Text compression protocol 1 */
const COMPRESS2 =86 /* 0x56 - Text compression protocol 2 */
const MSP =90 /* 0x5a - MSP - MUD Sound Protocol */
const MXP =91 /* 0x5b - MXP - MUD eXtension Protocol */
const AARD =102 /* 0x66 - AARD - Proprietary Aardwolf MUD Protocol */
const GCMP =201 /* 0xc9 - GCMP - Galois/Counter Mode for Packet */
function cmdstr(cmd) function cmdstr(cmd)
{ {
switch(cmd) { switch(cmd) {
...@@ -37,6 +47,15 @@ function cmdstr(cmd) ...@@ -37,6 +47,15 @@ function cmdstr(cmd)
case BRK: return "BRK"; case BRK: return "BRK";
case SYNC: return "SYNC"; case SYNC: return "SYNC";
case NOP: return "NOP"; case NOP: return "NOP";
case NAWS: return "NAWS";
case MSDP: return "MSDP";
case MMSP: return "MMSP";
case COMPRESS: return "COMPRESS";
case COMPRESS2: return "COMPRESS2";
case MSP: return "MSP";
case MXP: return "MXP";
case AARD: return "AARD";
case GCMP: return "GCMP";
} }
return cmd; return cmd;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment