- Apr 25, 2022
-
-
Rob Swindell authored
Apparently this line was added at some point, not sure if it's actually used in any doors, but here it is anyway.
-
- Apr 22, 2022
-
-
Rob Swindell authored
This is a weird one: sbbsecho ran right as I was saving msgs.cnf via SCFG and it seems like it loaded 0-byte msgs.cnf into memory and this segfault was a result of trying to print sub[INVALID_SUB]->code. The use of [f]nopen() with proper share perms should have prevented this (truncated msgs.cnf read) from happening, so there's something else afoot here.
-
Rob Swindell authored
This restores the ability for JS MsgBase() to be used to create the initial mail message base properly, if needed. This means that the 'subnum' should now be equal to scfg.total_subs when referencing an arbitrary SMB via path (not in the configuration).
-
Rob Swindell authored
Before commit 5da26eca, you could pass Msgbase() the path to an SMB on the disk and open() it, no configuration needed. As of 2 years ago, I broke that, and passing a path to an SMB would open the "mail" base instead - most unexpected. This is a feature of smb_open_sub() which we switched to using (from smb_open()), so go back to using smb_open() when an unrecognized code is pass to the constructor. This has the negative consequence that the "mail" base can't be created via JS. Probably should fix that.
-
Rob Swindell authored
The DoorFrame door library will about with "Overflow Error" if it reads a door.sys file with lines 16 (calls), 42 (minute credits), or 52 (posted messages) with a value > 32767, the maximum positive value of a signed 16-bit integer. So cap these values in the door.sys file at that maximum. This does potentially break/limit doors that give minutes using the door.sys drop file, so use that "modify user data" option in SCFG with care. Electrosys initially reported this problem with the Lemonade! door game which was barfing on a line 42 value of 449632.
-
- Apr 18, 2022
-
-
Rob Swindell authored
This is what was causing the 'is_utf8' message header property to be created as a Number instead of a Boolean.
-
Rob Swindell authored
This prevents re-entry to the door configurations from returning to the previously highlighted menu option. Not sure why this was, but clearly re-zeroing static variables makes no sense in the first place.
-
- Apr 16, 2022
-
-
Rob Swindell authored
If a sysop wants to prevent new users from using an email address of an existing user, they can set SCFG->System->New User Values->Question Toggles->Force Unique E-mail/NetMail to "Yes". This partially addresses issue #127, at least for the terminal server.
-
- Apr 15, 2022
-
-
Rob Swindell authored
Fixes issue #395
-
Rob Swindell authored
CID 351997 and 351998
-
Rob Swindell authored
ftello() returns 0 after fnopen(..., O_APPEND). Use filelength() instead.
-
- Apr 14, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
For the following log files: hungup.log error.log crash.log hack.log spam.log guru.log ... they can be limited in size, in bytes, by the sysop, along with a maximum retention limit (number of *.#.log files). Configured in SCFG->System->Advanced. By default, the limit and keep numbers are 0, so "unlimited" (same behavior as before). Once sufficiently tested, I'll change the default in a stock main.cnf file to use a sensible limit (e.g. 10 log files of 10MB each, something like that).
-
- Apr 13, 2022
-
-
Rob Swindell authored
e.g. "Grunged message (type 2) from 4:80/1 at offset 58 in packet: (null)" off_t is 64-bit, but long in 32-bit (on Win32), so needs a typecast here in lprintf() call (otherwise, the upper 4 bytes of the offset are interpreted as the string address for the corresponding '%s' argument, the filename).
-
- Apr 11, 2022
-
-
Rob Swindell authored
JS doors with the "Use Shell or New Context" option enabled in SCFG and JS modules installed a global hot key handlers would not automatically terminate when the user disconnected (and js.auto_terminate was true, the default). I'm not sure why the operation callback was only installed when scope==NULL but always installing it fixes the issue with some global hot key modules and JS doors becoming "zombies" when a user disconnects while running them.
-
- Apr 09, 2022
-
-
Rob Swindell authored
Fixes issue #390
-
Deucе authored
-
- Apr 05, 2022
-
-
Rob Swindell authored
-
- Apr 04, 2022
-
-
Rob Swindell authored
Fixes isue #388 - no change in behavior
-
- Apr 03, 2022
-
-
Rob Swindell authored
This converts the body text as well as the to, from, and subject header fields (first to CP437, then to ASCII). This should address the issue raised in issue #386 with exporting UTF-8 sequences to some message networks.
-
- Apr 01, 2022
-
-
Rob Swindell authored
When loadfiles() calls sortfiles(), only the file's index records have been read in, so trying to sort on any header field won't work. This bug wasn't observable when sorting by date ascending, since that's the natural index order of the files already (order imported/added), only observed when sorting by date descending (newest at the top).
-
Rob Swindell authored
-
- Mar 31, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
to accommodate larger numbers/strings.
-
Rob Swindell authored
... from ERROR to WARNING, but log the human-readable logon time too. This condition can easily happen if the system clock is corrected (e.g. a few seconds via NTP adjustment) during a quick connect/disconnect. Don't call logoffstats() unless a user actually successfully logged-in. I don't think sysops actually want all the time bots sit at the logon prompt counted as "time online" in their stats anyway.
-
- Mar 30, 2022
-
-
Rob Swindell authored
(I'm looking at you, mist1221.zip) ... so first try to extract DIZ files from the root of the archive, then try again searching nested directories too. <sigh>
-
Rob Swindell authored
iniFileOpen() does not perform retries and there can be contention for the ctrl/dsts.ini file.
-
Rob Swindell authored
This was a regression (to just LF-terminated lines), an accidental change (from "text" to "binary" file-open) in commit 3bcab8a6.
-
- Mar 29, 2022
-
-
Rob Swindell authored
Fixes recently-introduced crash when generating text drop files (e.g. XTRN.DAT, SFDOORS.DAT, DOOR.SYS, CHAIN.TXT) on Win32 (only) where a 'long int' is still just 32-bit.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Might add some other statistic for these relayed posts at some point.
-
Rob Swindell authored
Hunting down and destroying some super old SBBS code now. :-)
-
Rob Swindell authored
-
Rob Swindell authored
Defines the field indexes for records in csts.ini
-
Rob Swindell authored
Generates a "Dd Hh Mm" string from a specified number of minutes.
-
- Mar 28, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
*/dsts.dab was replaced by dsts.ini. */dsts.ini is just a text file, you don't need a special editor.
-