• src/doors/clans-src/src/e

    From Deuc¿@VERT to Git commit to main/sbbs/m on Tuesday, October 14, 2025 20:21:00
    https://gitlab.synchro.net/main/sbbs/-/commit/01c085136ff935c4b0731ace
    Modified Files:
    src/doors/clans-src/src/empire.c ibbs.c
    Log Message:
    Ok, that's got all the encrypted read/writes...

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Wednesday, October 15, 2025 22:13:00
    https://gitlab.synchro.net/main/sbbs/-/commit/1bb7e30b72c84f291ad5ae73
    Modified Files:
    src/doors/clans-src/src/ecomp.c langcomp.c makenpc.c
    Log Message:
    Fix some memory errors.

    Definately broken was popssibly looking at the bytes before a string
    for newlines to strip.

    Broken depending on implementation was some strcpy() with overlapping buffers... the result is undefined, so who knows?

    Hopefully this will fix the macOS build.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Monday, October 20, 2025 15:31:00
    https://gitlab.synchro.net/main/sbbs/-/commit/906a93e542228986d25f1ec6
    Modified Files:
    src/doors/clans-src/src/ecomp.c langcomp.c mail.c video.c
    Log Message:
    Fix all the sizeof(&Buffer) stuff from overflow fixes

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to Git commit to main/sbbs/m on Friday, October 31, 2025 13:36:00
    https://gitlab.synchro.net/main/sbbs/-/commit/c1820d521f2f8634b92f49c1
    Modified Files:
    src/doors/clans-src/src/empire.c
    Log Message:
    Explicitly handle some impossible cases

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • 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/5ea02d6be196147df62418de
    Modified Files:
    src/doors/clans-src/src/empire.c empire.h input.c input.h myopen.c myopen.h serialize.c
    Log Message:
    Fix -Wconversion warnings, phase 2

    empire.c

    This one was rife with potential integer overflow if the input
    variables were large enough. I've just increased the size of the
    types used until everything would fit, so there's some int64_t in
    the API now.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Sunday, November 02, 2025 01:10:00
    https://gitlab.synchro.net/main/sbbs/-/commit/ba51b62f04fc25d2cd87fa41
    Modified Files:
    src/doors/clans-src/src/empire.c fight.c game.c ibbs.c items.c mail.c menus.c pawn.c scores.c spells.c user.c village.c voting.c
    Log Message:
    "Fix" language file handling

    The strings file has sprintf() format specifiers for the 16-bit MS-DOS
    version. Since every parameter is implicitly converted to an int, this
    isn't an issue for chars, shorts, int16_t, or uint16_t (the old int
    and unsigned). However, some of the format specifiers want longs,
    and those values are no longer a long type (they're int32_t). This
    caused various numbers to be displayed incorrectly even though the
    game used them correctly.

    So, I went through and added casts to the type specified in the
    strings file to every snprintf() that uses numbers (or chars).
    This meant looking up the macro in mstrings.h, then looking at the
    referenced line in string.txt... a lot.

    Anyway, looks good now.

    ---
    þ 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 12:30:00
    https://gitlab.synchro.net/main/sbbs/-/commit/42f666a094c434bd9524f4e2
    Modified Files:
    src/doors/clans-src/src/empire.c fight.c menus2.c pawn.c quests.c spells.c user.c village.c
    Log Message:
    Some more type fixes to make GCC warnings happy

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Saturday, November 29, 2025 00:11:00
    https://gitlab.synchro.net/main/sbbs/-/commit/952438b9364a7b1fccef92c8
    Modified Files:
    src/doors/clans-src/src/empire.c
    Log Message:
    Trim army size during maintenance

    There's various ways to increase your army above the size of your
    barracks. Rather than add checks to all those places, just handle
    it during maintenance... if your army won't fit in your barracks,
    turn those without beds back into followers.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Tuesday, February 24, 2026 08:48:00
    https://gitlab.synchro.net/main/sbbs/-/commit/dc1b9c7f54c8ab2471e4b4ef
    Modified Files:
    src/doors/clans-src/src/empire.c
    Log Message:
    Actually use the ReceiveIndex for cheat prevention

    The field was already there and document as being use for cheat
    prevention, but it wasn't actually used for anything.

    Now, track the last attack packet from each BBS, and tread the last
    256 packet indexes as "too old".

    Fixes issue #1029

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Tuesday, February 24, 2026 17:33:00
    https://gitlab.synchro.net/main/sbbs/-/commit/782adc961f4c864c5464c13d
    Modified Files:
    src/doors/clans-src/src/empire.c ibbs.c ibbs.h maint.c
    Log Message:
    Delay processing of Attack and Spy packets and their responses

    In todays FTN world, packets can be processed and replied to very
    quickly, which for attacks and spys results in the strategy around
    how much of an army to send, and pre-planning attacks moot.

    With this change, incoming attack and spy packets are not processed
    until the next daily maintenance, and the response packet is not
    sent until the daily maintenance after that.

    This ensures that at least 24 hours passes between an IBBS attack and
    the result, restoring the balance in the force.

    The "do attacks just before midnight" thing can matter now too.

    This hasn't been tested yet though, so I'd wait a day or two before
    actually running this.

    Fixes issue #1040

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Saturday, February 28, 2026 12:36:00
    https://gitlab.synchro.net/main/sbbs/-/commit/c23081b19d12e7e8042d889a
    Modified Files:
    src/doors/clans-src/src/empire.c
    Log Message:
    Apply index validation to attack result packets as well

    Prevent trivial replay attack using attack result packets.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Monday, March 02, 2026 12:21:00
    https://gitlab.synchro.net/main/sbbs/-/commit/a18921205914e43be2ab62f0
    Modified Files:
    src/doors/clans-src/src/empire.c
    Log Message:
    Fix incorrect use of INT_MAX instead of INT16_MAX

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Thursday, March 05, 2026 10:46:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3cc61ae849456369aaa69d5c
    Modified Files:
    src/doors/clans-src/src/event.c
    Log Message:
    Make GoQuest static

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Friday, March 06, 2026 12:43:00
    https://gitlab.synchro.net/main/sbbs/-/commit/127f14bf71c0a59f41907554
    Modified Files:
    src/doors/clans-src/src/ecomp.c
    Log Message:
    Log a warning if a new block starts without the previous block Ending.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Sunday, March 08, 2026 12:25:00
    https://gitlab.synchro.net/main/sbbs/-/commit/317b10b690f18496966eedc0
    Modified Files:
    src/doors/clans-src/src/ecomp.c makenpc.c makepak.c mcomp.c mitems.c mspells.c
    Log Message:
    Exit with EXIT_FAILURE on failure

    Allows actually testing the tool.

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