...
 
Commits (8)
No preview for this file type
......@@ -12,6 +12,8 @@
Hostname =
; IP address of network interface to bind to (defaults to ANY/ALL interfaces):
Interface =
; IPv4 address of network interface to use for outgoing connections
OutboundInterface =
; Override the SBBSCTRL environment variable (optional):
CtrlDirectory =
; Override the default system "temp" directory (optional):
......
......@@ -3,7 +3,7 @@
// Sanity-check a Synchronet BBS installation
"use strict";
const REVISION = "$Revision: 1.17 $".split(' ')[1];
const REVISION = "$Revision: 1.18 $".split(' ')[1];
require("sbbsdefs.js", 'USER_DELETED');
function check_codes(desc, grp_list, sub_list)
......@@ -257,7 +257,7 @@ var tests = {
check_dove_net: function(options)
{
const TOTAL_DOVENET_CONFERENCES = 22;
const TOTAL_DOVENET_CONFERENCES = js.global.jsexec_revision ? 22 : 21;
var output = [];
var grp = msg_area.grp["DOVE-Net"];
if(!grp)
......
......@@ -298,8 +298,13 @@ function install(ini_fname)
if (options.debug)
print(JSON.stringify(item));
for(var k in item.keys) {
print("Setting " + item.keys[k] + " = " + eval(item.values[k]));
result = file.iniSetValue(item.section, item.keys[k], eval(item.values[k]));
try {
var value = eval(item.values[k]);
} catch(e) {
return e;
}
print("Setting " + item.keys[k] + " = " + value);
result = file.iniSetValue(item.section, item.keys[k], value);
}
file.close();
if(required && result !== true)
......@@ -397,7 +402,12 @@ function install(ini_fname)
return prompt + " is required to continue";
continue;
}
if (!eval(item.cmd)) {
try {
var result = eval(item.cmd);
} catch(e) {
return e;
}
if (!result) {
if (item.required == true)
return "Truthful evaluation of '" + item.cmd + "' is required to continue";
}
......
......@@ -8,6 +8,7 @@ Inst: 2020/09/07
[prog:ANSIVIEW]
cmd = ?ansiview
settings = XTRN_MULTIUSER
required = true
[ini:settings.ini:electronic chicken bbs]
prompt = Link online ANSI archive from electronic chicken bbs
......
Name: Go-for
Desc: A quickly thrown-together gopher client
By: echicken
Cats: Main, Communications
Subs: Gopher, JavaScript
Inst: 2020/09/08
[prog:GO-FOR]
cmd = ?go-for.js
settings = XTRN_MULTIUSER
required = true
......@@ -3,7 +3,7 @@ Desc: Rogue-like, Multi-Player, Interactive, Real-Time, ANSI adventure game
By: King Drafus (Allen Christiansen), Domain Entertainment
Cats: Games
Subs: Adventure, Multiplayer, Native
Inst: 2020/09/07
Inst: 2020/09/08
[prog:TBD]
cmd = tbd%. /times=10
......@@ -17,7 +17,6 @@ prompt = false
name = TBD Re-roll
cmd = reroll%.
settings = XTRN_NATIVE
node_num = 1
days = 127
mdays = 2
......
......@@ -5,7 +5,7 @@ Desc: WAR Version 4.4 ported to JavaScript
By: Chris Gonnerman, Deuce (Stephen Hurd)
Cats: Games
Subs: Adventure, Classic, Multiplayer, JavaScript, Port
Inst: 2020/09/07
Inst: 2020/09/08
[prog:WAR]
name = Solomoriah's WAR! on Earth
......@@ -18,13 +18,11 @@ required = true
prompt = false
cmd = ?warupd.js worlds/earth
name = WAR Update
node_num = 1
days = 127
[event:WARPOLL]
prompt = false
cmd = ?warpoll.js worlds/earth
name = WAR Poll
node_num = 1
days = 127
freq = 60