• src/doors/syncduke/Game/src/game.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Jun 28 22:01:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/020594f74ec29bfb92e238e0
    Modified Files:
    src/doors/syncduke/Game/src/game.c
    Log Message:
    syncduke: allow 11-char player names; strip whitespace when over-long

    getnames() and the type-6 receive both capped the netgame name at 10 chars (the stock fragbar-field limit), truncating an 11-char alias like "Digital Man" to "DIGITAL MA". Raise both ends to 11 (= MAXPLAYERNAMELENGTH; user_name[] is 32 and
    the name packet is variable-length, so the arrays/protocol already have room). For
    an alias longer than 11, drop whitespace first so the cap keeps more alphanumerics
    ("Digital Man Jr" -> "DIGITALMANJ"). The deathmatch fragbar column is drawn for 10,
    so an 11th char sits a touch wide there (cosmetic; co-op's player list has room).

    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net