fixup! Add MSDP status bar and protocol negotiation to mud.tin Remove manual IAC WILL event handlers that were killing the connection. TinTin++ auto-negotiates GMCP and MSDP natively (responds DO to WILL). The raw #send bytes were corrupting the telnet stream.
37 lines
1 KiB
Text
37 lines
1 KiB
Text
#NOP TinTin++ config for the MUD server
|
|
#NOP usage: tt++ mud.tin
|
|
#split 0 1
|
|
|
|
#NOP initialize MSDP variables for status bar (before connection)
|
|
#variable {MSDP_HEALTH} {-}
|
|
#variable {MSDP_HEALTH_MAX} {-}
|
|
#variable {MSDP_STAMINA} {-}
|
|
#variable {MSDP_STAMINA_MAX} {-}
|
|
|
|
#NOP MSDP: tintin++ auto-negotiates (responds DO to server's WILL).
|
|
#NOP store variables as they arrive and refresh the status bar.
|
|
|
|
#EVENT {IAC SB MSDP} {
|
|
#variable {MSDP_%0} {%1};
|
|
#showme {[HP: $MSDP_HEALTH/$MSDP_HEALTH_MAX] [ST: $MSDP_STAMINA/$MSDP_STAMINA_MAX]} {-2}
|
|
}
|
|
|
|
#NOP reconnect after disconnect. defined before #session so it
|
|
#NOP persists in the startup session when the mud session dies.
|
|
#alias {reconnect} {#session mud localhost 6789}
|
|
|
|
#session mud localhost 6789
|
|
|
|
#NOP fly shortcuts: f + direction
|
|
#alias {fn} {fly north}
|
|
#alias {fs} {fly south}
|
|
#alias {fe} {fly east}
|
|
#alias {fw} {fly west}
|
|
#alias {fne} {fly northeast}
|
|
#alias {fnw} {fly northwest}
|
|
#alias {fse} {fly southeast}
|
|
#alias {fsw} {fly southwest}
|
|
|
|
#NOP combat shortcuts
|
|
#alias {o} {sweep}
|
|
#alias {r} {roundhouse}
|