Re: xtrn_sec.js - .js filename vs internal code
By: Nightfox to Digital Man on Tue May 19 2020 08:23 am
Hi DM,
Does xtrn_sec.js expect .js doors to have a filename that is the same as the itnernal code? One of the doors I have set up on my BBS is Bubble Boggle, which is a .js door. The script filename is boggle.js, and the internal code I have set up for it is BUBLBOGL. It used to run, but with the latest xtrn_sec.js, I'm getting the following error:
5/19 08:20:05a Node 1 <Nightfox> !JavaScript D:\BBS\sbbs\exec\xtrn_sec.js line 90: uncaught exception: Unknown module: boggle
This is line 90 in xtrn_sec.js:
bbs.exec_xtrn(prog.code);
I hit this same error and resolved it by adding the following to ctrl/json-service.ini:
[boggle]
dir=../xtrn/bublbogl/
digital man
Synchronet "Real Fact" #43:
Synchronet added Baja/PCMS support with v2.00a (1994).
Norco, CA WX: 68.5øF, 44.0% humidity, 9 mph NNE wind, 0.00 inches rain/24hrs ---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net