• xtrn_sec.js - .js filename vs internal code

    From Nightfox@VERT/DIGDIST to Digital Man on Tuesday, May 19, 2020 08:23:11
    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);

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nelgin@VERT/EOTLBBS to Nightfox on Tuesday, May 19, 2020 14:29:50
    Nightfox wrote:
    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 just make sure I had the latest version of xtrn_src.js and tried it on my system and it's working fine.

    // $Id: xtrn_sec.js,v 1.29 2020/05/09 10:11:23 rswindell Exp $

    Name Bubble Boggle
    Internal Code BUBLBOGL
    Start-up Directory ../xtrn/bublbogl
    Command Line ?boggle.js

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Nelgin@VERT/EOTLBBS to Nightfox on Tuesday, May 19, 2020 14:31:47
    Nightfox wrote:
    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);

    Nightfox

    Then again...

    Modified Files:
    sbbs.h xtrn.cpp
    Log Message:
    Move term_env from static (BSS) variable to sbbs_t member. Static member
    funct
    ion variables are shared among threads, so this was just a race-condition
    wait
    ing to happen. <grimmace>


    Could have broken it. I'll update myself. If you hear nothing from me, then
    it still works, if it's broken, I'll report back.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Digital Man@VERT to Nightfox on Tuesday, May 19, 2020 14:55:10
    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
  • From Nightfox@VERT/DIGDIST to Digital Man on Tuesday, May 19, 2020 16:56:31
    Re: xtrn_sec.js - .js filename vs internal code
    By: Digital Man to Nightfox on Tue May 19 2020 02:55 pm

    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/

    That seems to have fixed it. Thanks.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com