From 4279186eca893c5ea0e1a44a107faf85fe1360ed Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Thu, 12 Feb 2026 00:23:57 -0500 Subject: [PATCH] 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. --- mud.tin | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mud.tin b/mud.tin index cbfe9b6..0f160b3 100644 --- a/mud.tin +++ b/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}