• src/doors/clans-src/src/f

    From Deuc¿@VERT to Git commit to main/sbbs/m on Friday, October 31, 2025 21:53:00
    https://gitlab.synchro.net/main/sbbs/-/commit/320d6a775c6d27f776795f83
    Modified Files:
    src/doors/clans-src/src/fight.c gum.c help.c
    Log Message:
    Fix -Wconversion warnings, phase 2

    These were pretty much all just casting to the target type, no
    real overflow possibilities here.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Monday, November 03, 2025 11:21:00
    https://gitlab.synchro.net/main/sbbs/-/commit/79921be5e548d800b8ec1f3d
    Modified Files:
    src/doors/clans-src/src/fight.c
    Log Message:
    Remove check to use skill immediately after selecting the skill

    This just slows down combat for no good reason and makes using skills
    more painful than it needs to be.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Monday, November 10, 2025 08:01:00
    https://gitlab.synchro.net/main/sbbs/-/commit/8f383dc69e6dcc7e19d4eb12
    Modified Files:
    src/doors/clans-src/src/fight.c ibbs.c maint.c menus.c system.c
    Log Message:
    Remove the PRELAB debugging compilation flag

    This was mostly for memory debugging, but also had a few cheats
    enabled to make debugging easier. On modern systems, it's pretty
    simple to hack in what you need.

    Because this is removed, remove the "secret" option 1 from the main
    menu... this would only show that debugging is disabled.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Wednesday, March 04, 2026 11:05:00
    https://gitlab.synchro.net/main/sbbs/-/commit/46e549ffa2bbe830660d2b71
    Modified Files:
    src/doors/clans-src/src/fight.c ibbs.c install.c pcedit.c
    Log Message:
    Fix a few unlikely crashes.

    Divide-by-zeros, accessing NULL file streams, looped single-linked
    lists, etc.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Thursday, March 12, 2026 12:11:00
    https://gitlab.synchro.net/main/sbbs/-/commit/637a1f6d0c2575a0eee36e2b
    Modified Files:
    src/doors/clans-src/src/fight.c ibbs.c mail.c reg.c
    Log Message:
    Fix sizeof(pointer) bugs in fight.c, mail.c, reg.c, and ibbs.c

    Found and fixed five sizeof(pointer) bugs where functions using char* parameters were applying sizeof() to those parameters, yielding 8
    (pointer size on 64-bit) instead of the actual buffer size. This caused
    silent truncation of:
    - Item-taken battle messages (fight.c:1671,1676)
    - Quoted reply text and word-wrap overflow (mail.c:410,540,545,1095)
    - Obfuscated registration codes (reg.c:89)

    Fix: Added size_t n parameter to:
    - TakeItemsFromClan() in fight.c Ä pass sizeof(szMessage)=500
    - QInputStr() and InputStr() in mail.c Ä pass sizeof(Line1)=128
    (Note: n applies to both String and NextString buffers, which must be
    equal-sized. Added documentation comments to clarify this constraint.)
    - Jumble() in reg.c Ä pass sizeof(szUserCode)=40 or sizeof(szRealCode)=40

    Also fixed code smell in ibbs.c:3382 where sizeof(szFileName2) was used
    instead of sizeof(szFileName) (both are the same size, but misleading).

    All 588 tests pass with clean build (1 harmless warning: unused szFileName2).

    Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

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