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:
Jared Miller 2026-02-12 00:23:57 -05:00
parent 034e137d22
commit 4279186eca
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

View file

@ -8,11 +8,9 @@
#variable {MSDP_STAMINA} {-} #variable {MSDP_STAMINA} {-}
#variable {MSDP_STAMINA_MAX} {-} #variable {MSDP_STAMINA_MAX} {-}
#NOP protocol negotiation - respond to server's WILL offers #NOP MSDP: tintin++ auto-negotiates (responds DO to server's WILL).
#EVENT {IAC WILL GMCP} {#send {\xFF\xFD\xC9}} #NOP store variables as they arrive and refresh the status bar.
#EVENT {IAC WILL MSDP} {#send {\xFF\xFD\x45}}
#NOP store MSDP variables and update status bar
#EVENT {IAC SB MSDP} { #EVENT {IAC SB MSDP} {
#variable {MSDP_%0} {%1}; #variable {MSDP_%0} {%1};
#showme {[HP: $MSDP_HEALTH/$MSDP_HEALTH_MAX] [ST: $MSDP_STAMINA/$MSDP_STAMINA_MAX]} {-2} #showme {[HP: $MSDP_HEALTH/$MSDP_HEALTH_MAX] [ST: $MSDP_STAMINA/$MSDP_STAMINA_MAX]} {-2}