mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 10:59:16 -04:00
fed05c4448
The host logged 'LAN rx MOTK5 MODOK' every 2 s with no seat ever going ready, and the same silence blocks MOTK5 SEATMOVE/SWAPREQ — so players cannot change seats either. Both live in one dispatch chain of strncmp(buf, "...\n", N) tests, and the receipt trace at the top cannot distinguish 'arrived and was handled' from 'arrived and every handler declined': it prints the first line and stops at '\n' OR '\0', so a datagram missing its trailing newline (or carrying CRLF, or truncated) renders identically while every match fails. Add an end-of-chain trace, rate-limited to 3 s, printing the byte count and the escaped payload, so the wire format is observed instead of assumed. KICK/ ERR now continues like every other handler so it is not misreported. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UoSNLFj7kvarYHEV9PCZpV