- Sep 28, 2023
-
-
Rob Swindell authored
Apparently this was non-intuitive to sysops. <shrug>
-
- Sep 26, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
This is version installed with MSVC 2022
-
Rob Swindell authored
to find VsMSBuildCmd.bat This means you can't use MSVS 2019 with this build.bat any longer.
-
Rob Swindell authored
-
Rob Swindell authored
sbbs_t::mnemonics() now supports @-codes immediately following the tilde (e.g. ~@Yes@) to use the first character of a dynamically-replaced (e.g. localized/translated) text string as a command key. Fixed issue in sbbs_t::mnemonics if multiple @-codes were specified in the string, but no space characters (just noticed this bug while reviewing). Created: sbbs_t::expand_atcodes() - used by sbbs_t::mnemonics(), exposed in JS as bbs.expand_atcodes(). bbs.text and system.text now have properties: each text string ID is the property name and the text index number (1-based) is the property value - enabling fast text string lookup without load/require text.js Constified sbbs_t::atcode() and attrstr() - not too painful Deprecated YNQP text.dat string in favor of (the first character of) "Yes" and "No" text strings and new strings: "Quit", and "PasswordChar" Other text.dat changes: ListKey->List, AllKey->Unused853 More new text.dat strings: Which, Next, Previous, Language, LANG Deprecate the "AllKey" text string Create/use sbbs_t::all_key() - first character of "All" text string New JS console properties that present common (possibly localized) command keys: yes_key, no_key, quit_key, all_key, list_key, next_key, prev_key
-
- Sep 25, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
This could use more cleanup (e.g. instances of "MSGERR:") and in the summary report there are still mentions of "message" after scanning a file base.
-
Rob Swindell authored
for those that want to use cryptic numbers rather than human-readable names.
-
Rob Swindell authored
There are other ways to generate forced-upper case expanded @-codes, if that's what you want. Fewer duplicates in text.dat make localization, translation to other languages easier.
-
- Sep 24, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
These were problematic (crash, could corrupt filebases) and unsupported, so just change the programs to stubs that alert the sysop that they need to switch to using the JS versions of these utilities immediately.
-
Rob Swindell authored
Only the common/UIFC-type arguments should be passed-on. This fixes issue #646 It also appeared that the user editor spawning wouldn't work correctly when arguments were passed to umonitor (missing a space).
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Hm.
-
Rob Swindell authored
The TEXT:<x> @-code can now be used with the text.dat string ID rather than the text.dat string number, if preferred. For convenience and brevity, ALL text.dat string IDs are now valid @-codes (case-sensitive). While this functionality is redundant with the TEXT: @-code now, if there are any conflicts between new/existing @-codes and text.dat string IDs, the TEXT: @-code can be used to overcome such conflicts. This should help with localization (to other languages) by using common single-word replacements (Which, Quit, Next, etc.) in text.dat strings.
-
Rob Swindell authored
The syntax of text.ini is: <id>: "string" <id>: "string" Where <id> is the named identifier of a text.dat string as seen ctrl/text.dat and string is a literal string value (optionally, in double-quotes). Line continuations (for long strings) are not supported: you'll just need to put your string all on one long line (up to 1024 char string). C-escape characters for control chars and hex-encoded chars are supported. This should address feature request issue #644
-
Rob Swindell authored
-
Rob Swindell authored
After 90 minutes of waiting, we'll do the same abort wait (and run the event anyway), but closing the node's socket should be enough to get the node_thread to terminate and set the node status back to NODE_WFC. Apparently some sysops like to leave their terminals idling (e.g. running MRC) and never disconnect and since they're T-exempt, the BBS won't limit their time online to allow events to run. Exclusive events will wait for all nodes to become inactive, but give up after 90 minutes of waiting and run the event anyway and set node status to WFC at the end. If the node was actually still connected/in-use, this could lead to the (new) critical error messages logged "!Node X status is WFC, but the node socket (N) and thread are still in use!" and other chaos (NODE STATUS FIXUP and the like). This should prevent all that by just abruptly disconnecting the node after waiting 60 minutes for the sysop to gracefully disconnect. The log message when this happens: "!TIRED of waiting for node N to become inactive (status=X), closing socket Y"
-
Rob Swindell authored
Fixes unnecessary [Hit a key] prompt.
-
Rob Swindell authored
This appears to work around a bug in BRE, FE, and TAL where they don't recognize the "1" (ANSI supported) unless there is at least one other character on the line following the decimal digit, resulting in the unnecessary prompting of the user: This game is much more enjoyable with ANSI graphics enabled. Do you want ANSI Graphics? (Y/n) As reported by "ben" in IRC.
-
- Sep 23, 2023
-
-
Rob Swindell authored
When used, replaces built-in user (e.g. terminal) settings menu with a loadable (e.g. JS) module.
-
- Sep 20, 2023
-
-
Rob Swindell authored
This should avoid/work-around issue #630 Nelgin's terminal server log indicated that the node's configuration was being reloaded for a new client connection (which doesn't normally/always happen, only when there's been a config file change or a node "rerun" requested), while there was still a user online using that node. This would explain the segfault (configuration fields being freed and reallocated). The node_socket[] array indicates when a node thread is actively servicing a client, so it should contain INVALID_SOCKET for the any node's that WFC. If it doesn't, that means something/someone changed the node's status value to 0 (WFC) in the node.dab file while the node was still in-use. Let's not crash in this case and rather just log the message and give the client the next available node (if any).
-
- Sep 18, 2023
-
-
Rob Swindell authored
Some of the errors could be pretty vague since they looked the same and we were depending on the path/file attempted to be opened in the log msg to clue us into what exactly was being attempted. But some of these file paths are sysop-configurable, and they can put unexpected things in there that make it difficult to determine exactly what file was trying to be opened and for what purpose. This should help a little bit.
-
- Sep 17, 2023
-
-
Rob Swindell authored
This allows the calling script to control what the default item is (when the user just hits enter), and not always the first item. Fixes issue #637
-
Rob Swindell authored
-
- Sep 15, 2023
-
-
Rob Swindell authored
tbz is technically still supported by create_archive(), but without it being included in the supported_archive_formats definition, isn't easily chosen as an option and nobody seems to miss it.
-
Rob Swindell authored
Apparently one was copied from the other and used the same original output file subdirectory name ("upgrade") oops.
-
Rob Swindell authored
I didn't notice that these projects were still being built with a toolset that didn't target WinXP. I might need to update the SDK too.
-
Rob Swindell authored
Also, although not a bug (because we re-read/parse the user's record every menu cycle), don't decrement user.xedit before calling uselect() - just not a good practice to not modify variables unnecessarily. See the corresponding change to exec.cpp, which was a bug.
-
Rob Swindell authored
This bug would leave the user's external editor setting decremented by one if they aborted (with Ctrl-C). Fixes issue #631
-
- Sep 14, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
Most logs sysops are looking at already have a date/timestamp for each message, so this one ended up with 3 date/timestamps in a single line.
-
Rob Swindell authored
This fixes issue #629
-
- Sep 13, 2023
-
-
Rob Swindell authored
I'll add detailed docs to http://wiki.synchro.net/custom:atcodes soon, but the list is: - TERMTYPE - TERMROWS - TERMCOLS - AUTOTERM - ANSI - ASCII - COLOR - ICE - RIP - PETSCII - SWAPDEL - UTF8 - MOUSE - UPAUSE - SPIN - PAUSESPIN - EXPERT - HOTKEYS - MSGCLS - REMSUBS - FILEDESC - FILEFLAG - AUTOHANG - AUTOLOGON - QUIET - ASKNSCAN - ASKSSCAN - ANFSCAN - EDITOR - SHELL This should (at least mostly) address the issue #629
-
Rob Swindell authored
-
Rob Swindell authored
Apparently if you call mosquitto_publish_v5() with a non-NULL properties pointer, it'll only publish via protocol v5 and doesn't work if you're using protocol v3 connection. Thanks Ree.
-