fixup! Add MSDP status bar and protocol negotiation to mud.tin
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.
This commit is contained in:
parent
034e137d22
commit
4279186eca
1 changed files with 2 additions and 4 deletions
6
mud.tin
6
mud.tin
|
|
@ -8,11 +8,9 @@
|
|||
#variable {MSDP_STAMINA} {-}
|
||||
#variable {MSDP_STAMINA_MAX} {-}
|
||||
|
||||
#NOP protocol negotiation - respond to server's WILL offers
|
||||
#EVENT {IAC WILL GMCP} {#send {\xFF\xFD\xC9}}
|
||||
#EVENT {IAC WILL MSDP} {#send {\xFF\xFD\x45}}
|
||||
#NOP MSDP: tintin++ auto-negotiates (responds DO to server's WILL).
|
||||
#NOP store variables as they arrive and refresh the status bar.
|
||||
|
||||
#NOP store MSDP variables and update status bar
|
||||
#EVENT {IAC SB MSDP} {
|
||||
#variable {MSDP_%0} {%1};
|
||||
#showme {[HP: $MSDP_HEALTH/$MSDP_HEALTH_MAX] [ST: $MSDP_STAMINA/$MSDP_STAMINA_MAX]} {-2}
|
||||
|
|
|
|||
Loading…
Reference in a new issue