• TW2 js

    From Mortifis@1:103/705 to All on Sat Feb 9 13:35:15 2019
    Having trouble getting tw2 configured. I opened port 10088 and ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting it barfs

    error 0 connecting to TCP port 10088 on server

    as well as
    Creating Players ...
    !JavaScript /sbbs/exec/../xtrn/tw2/players.js line 904: TypeEr◙


    and of course attempting to play the game it barfs

    ERROR: Configuration Invalid

    any ideas?

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mortifis on Sat Feb 9 16:15:54 2019
    Re: TW2 js
    By: Mortifis to All on Sat Feb 09 2019 01:35 pm

    Having trouble getting tw2 configured. I opened port 10088 and ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting it barfs

    error 0 connecting to TCP port 10088 on server

    Um... upon exiting jsexec you get that error? Or there's some other error that constitutes a "barf"? Please elaborate.

    as well as
    Creating Players ...
    !JavaScript /sbbs/exec/../xtrn/tw2/players.js line 904: TypeEr◙

    What does 904 of that file look like? The one in CVS looks like this:
    db.lock(Settings.DB,'players',LOCK_WRITE);

    and of course attempting to play the game it barfs

    ERROR: Configuration Invalid

    any ideas?

    Not immediately. Need more details.

    digital man

    Synchronet "Real Fact" #57:
    Synchronet introduced Telnet, FTP, SMTP and POP3 support w/v3.00a-Win32 in 2000.
    Norco, CA WX: 55.3øF, 60.0% humidity, 2 mph NW wind, 0.09 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Digital Man on Sat Feb 9 21:56:14 2019
    Re: TW2 js
    By: Mortifis to All on Sat Feb 09 2019 01:35 pm

    Having trouble getting tw2 configured. I opened port 10088 and ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting it barfs

    error 0 connecting to TCP port 10088 on server

    Um... upon exiting jsexec you get that error? Or there's some other error that constitutes a "barf"? Please elaborate.
    I used the word barf because that is what line 3 of twint500.js says ... i Duece's words LOL

    In the twint500.js config program ... as it exits to save it says

    error 0 connecting to TCP port 10088 on server

    once the script is complete the console error is line 904

    as well as
    Creating Players ...
    !JavaScript /sbbs/exec/../xtrn/tw2/players.js line 904: TypeEr◙

    What does 904 of that file look like? The one in CVS looks like this:
    db.lock(Settings.DB,'players',LOCK_WRITE);

    and of course attempting to play the game it barfs


    yes, that is the same line I have

    kinda thinking it may be a windows firewall issue

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Digital Man on Sun Feb 10 10:59:27 2019
    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sat Feb 09 2019 09:56 pm

    Re: TW2 js
    By: Mortifis to All on Sat Feb 09 2019 01:35 pm
    >
    error 0 connecting to TCP port 10088 on server

    10088 is the port that the json-db service listens on normally. Do you have the following in your ctrl/services.ini file (or something similar)?

    [JSON]
    Enabled=true
    Port=10088
    Interface=127.0.0.1
    Options=STATIC | LOOP
    Command=json-service.js
    JavaScriptTimeLimit=0

    Yes, exactly the same, and (under windows) SBBS Control Panel shows JSON clients initialized all JSON databases and listening ...

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From wkitty42@1:103/705 to Mortifis on Sun Feb 10 10:51:35 2019
    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sun Feb 10 2019 10:59:27

    [JSON]
    Enabled=true
    Port=10088
    Interface=127.0.0.1
    Options=STATIC | LOOP
    Command=json-service.js
    JavaScriptTimeLimit=0

    Yes, exactly the same, and (under windows) SBBS Control Panel
    shows JSON clients initialized all JSON databases and
    listening ...

    what does your "[tw2]" section look like in ctrl/json-service.ini?


    )/\(aldo

    ---
    þ Synchronet þ SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mortifis on Sun Feb 10 16:32:55 2019
    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sun Feb 10 2019 10:59 am

    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sat Feb 09 2019 09:56 pm

    Re: TW2 js
    By: Mortifis to All on Sat Feb 09 2019 01:35 pm
    >
    error 0 connecting to TCP port 10088 on server

    10088 is the port that the json-db service listens on normally. Do you have the following in your ctrl/services.ini file (or something
    similar)?

    [JSON]
    Enabled=true
    Port=10088
    Interface=127.0.0.1
    Options=STATIC | LOOP
    Command=json-service.js
    JavaScriptTimeLimit=0

    Yes, exactly the same, and (under windows) SBBS Control Panel shows JSON clients initialized all JSON databases and listening ...

    What do you have in your xtrn/tw2/server.ini file?

    digital man

    Synchronet "Real Fact" #32:
    The second most prolific contributor to Synchronet is Stephen Hurd (Deuce). Norco, CA WX: 48.9øF, 87.0% humidity, 4 mph E wind, 0.06 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Denn@1:103/705 to Digital Man on Sun Feb 10 17:40:53 2019
    Re: Re: TW2 js
    By: Digital Man to Mortifis on Sat Feb 09 2019 11:52 pm

    Having trouble getting tw2 configured. I opened port 10088 and
    ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting
    it barfs
    10088 is the port that the json-db service listens on normally. Do you have the following in your ctrl/services.ini file (or something similar)?

    I thought I would give it a go to see if I could set it up, I did not get the same error, this is what I get.
    sorry DOS doors not supported on this node

    I have a feeling I need to set up my nodes somehow, yes already went through the wiki on this but I guess since I have never actually set up a door on synchronet myself I missed something obvious.
    my port 10088 is opened on the BBS computer, the services.ini file is good.
    I will go back to the wiki and look for anything to do with setting up my nodes, I am trying to setup tw2 js just because this topic came up and I will use it as a learning opertunity.
    thanks in advance to all that may reply.

    ... Backup not found: (A)bort (R)etry (F)#@K it!

    ---
    þ Synchronet þ outwestbbs.com - the Outwest BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Denn on Sun Feb 10 21:02:54 2019
    Re: Re: TW2 js
    By: Denn to Digital Man on Sun Feb 10 2019 05:40 pm

    Re: Re: TW2 js
    By: Digital Man to Mortifis on Sat Feb 09 2019 11:52 pm

    Having trouble getting tw2 configured. I opened port 10088 and
    ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting >> it barfs
    10088 is the port that the json-db service listens on normally. Do you have the following in your ctrl/services.ini file (or something similar)?

    I thought I would give it a go to see if I could set it up, I did not get the same error, this is what I get.
    sorry DOS doors not supported on this node

    I have a feeling I need to set up my nodes somehow, yes already went
    through
    the wiki on this but I guess since I have never actually set up a door on synchronet myself I missed something obvious.
    my port 10088 is opened on the BBS computer, the services.ini file is
    good.
    I will go back to the wiki and look for anything to do with setting up my nodes, I am trying to setup tw2 js just because this topic came up and I will use it as a learning opertunity.

    It sounds like your command-line in SCFG->External Programs->Online Programs ... tw2, is wrong. If you don't use the '?' prefix, Synchronet will think you're trying to run an executable (not a script) and in this case, it thinks you're trying to run a 16-bit DOS prgoram which is not supported on your BBS. So, double-check your configuration in SCFG.

    digital man

    Synchronet "Real Fact" #83:
    Donations to the Synchronet project are welcome @ http://wiki.synchro.net/donate
    Norco, CA WX: 45.1øF, 79.0% humidity, 0 mph WSW wind, 0.07 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Denn@1:103/705 to Digital Man on Sun Feb 10 22:52:52 2019
    Re: Re: TW2 js
    By: Digital Man to Denn on Sun Feb 10 2019 09:02 pm

    I thought I would give it a go to see if I could set it up, I did not
    get the same error, this is what I get.
    sorry DOS doors not supported on this node
    I have a feeling I need to set up my nodes somehow, yes already went
    through the wiki on this but I guess since I have never actually set
    up a door on synchronet myself I missed something obvious.

    It sounds like your command-line in SCFG->External Programs->Online Programs ... tw2, is wrong. If you don't use the '?' prefix, Synchronet will think you're trying to run an executable (not a script) and in this case, it thinks you're trying to run a 16-bit DOS prgoram which is not supported on your BBS. So, double-check your configuration in SCFG.

    Ok i will try that the docs did not say to use ? I'll try it now and let you know.

    ---
    þ Synchronet þ outwestbbs.com - the Outwest BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Digital Man on Mon Feb 11 11:05:30 2019
    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sun Feb 10 2019 10:59 am

    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sat Feb 09 2019 09:56 pm

    Re: TW2 js
    By: Mortifis to All on Sat Feb 09 2019 01:35 pm
    >
    error 0 connecting to TCP port 10088 on server

    10088 is the port that the json-db service listens on normally. Do
    you
    have the following in your ctrl/services.ini file (or something similar)?

    What do you have in your xtrn/tw2/server.ini file?

    I don't see an xtrn/tw2/server.ini or one in cvs.synchro.net/xtrn/tw2/

    I was able to get twint500.js to work by changing the Server Hostname to localhost from alleycat.synchro.net (and variations thereof)... not sure if that will interfere with interbbs or not

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Denn on Mon Feb 11 15:21:55 2019
    Re: Re: TW2 js
    By: Denn to Digital Man on Sun Feb 10 2019 10:52 pm

    Re: Re: TW2 js
    By: Digital Man to Denn on Sun Feb 10 2019 09:02 pm

    I thought I would give it a go to see if I could set it up, I did not
    get the same error, this is what I get.
    sorry DOS doors not supported on this node
    I have a feeling I need to set up my nodes somehow, yes already went
    through the wiki on this but I guess since I have never actually set
    up a door on synchronet myself I missed something obvious.

    It sounds like your command-line in SCFG->External Programs->Online Programs ... tw2, is wrong. If you don't use the '?' prefix,
    Synchronet
    will think you're trying to run an executable (not a script) and in this case, it thinks you're trying to run a 16-bit DOS prgoram which
    is
    not supported on your BBS. So, double-check your configuration in
    SCFG.

    Ok i will try that the docs did not say to use ? I'll try it now and let
    you
    know.

    Right, the docs say:
    4: Command Line *../xtrn/tw2/tw2.js

    That '*' is effectively the same as '?'. I'm guess you used neither.

    digital man

    Synchronet "Real Fact" #102:
    Synchronet added PETSCII (e.g. C64/C128) terminal support in October of 2018. Norco, CA WX: 60.2øF, 30.0% humidity, 2 mph NW wind, 0.02 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mortifis on Mon Feb 11 15:25:11 2019
    Re: Re: TW2 js
    By: Mortifis to Digital Man on Mon Feb 11 2019 11:05 am

    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sun Feb 10 2019 10:59 am

    Re: Re: TW2 js
    By: Mortifis to Digital Man on Sat Feb 09 2019 09:56 pm

    Re: TW2 js
    By: Mortifis to All on Sat Feb 09 2019 01:35 pm
    >
    error 0 connecting to TCP port 10088 on server

    10088 is the port that the json-db service listens on normally. Do you have the following in your ctrl/services.ini file (or
    something
    similar)?

    What do you have in your xtrn/tw2/server.ini file?

    I don't see an xtrn/tw2/server.ini or one in cvs.synchro.net/xtrn/tw2/

    Oh, I guess it doesn't use one. Most of those json-db games use a "server.ini" file.

    I was able to get twint500.js to work by changing the Server Hostname to localhost from alleycat.synchro.net (and variations thereof)... not sure if that will interfere with interbbs or not

    Cool.

    digital man

    This Is Spinal Tap quote #33:
    Nigel Tufnel: Well, so what? What's wrong with bein' sexy?
    Norco, CA WX: 60.2øF, 30.0% humidity, 2 mph NW wind, 0.02 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Denn@1:103/705 to Digital Man on Mon Feb 11 23:27:52 2019
    Re: Re: TW2 js
    By: Digital Man to Denn on Mon Feb 11 2019 03:21 pm

    It sounds like your command-line in SCFG->External
    Programs->Online Programs ... tw2, is wrong. If you don't use the
    '?' prefix, Synchronet will think you're trying to run an
    executable (not a script) and in this case, it thinks you're
    trying to run a 16-bit DOS prgoram which is not supported on your
    BBS. So, double-check your configuration in SCFG.

    Ok i will try that the docs did not say to use ? I'll try it now and
    let you know.

    Right, the docs say:
    4: Command Line *../xtrn/tw2/tw2.js

    *,,/xtrn/tw2/tw2.js <- is what I used - error is something to do with node

    ... Chuck Norris did in fact, build Rome in a day.

    ---
    þ Synchronet þ outwestbbs.com - the Outwest BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Denn on Mon Feb 11 23:14:12 2019
    Re: Re: TW2 js
    By: Denn to Digital Man on Mon Feb 11 2019 11:27 pm

    Re: Re: TW2 js
    By: Digital Man to Denn on Mon Feb 11 2019 03:21 pm

    It sounds like your command-line in SCFG->External
    Programs->Online Programs ... tw2, is wrong. If you don't use the DM>> '?' prefix, Synchronet will think you're trying to run an
    executable (not a script) and in this case, it thinks you're
    trying to run a 16-bit DOS prgoram which is not supported on your DM>> BBS. So, double-check your configuration in SCFG.

    Ok i will try that the docs did not say to use ? I'll try it now and
    let you know.

    Right, the docs say:
    4: Command Line *../xtrn/tw2/tw2.js

    *,,/xtrn/tw2/tw2.js <- is what I used - error is something to do with node

    No, it's not a DOS program, so the error is misleading. Try this configuration in SCFG, it works for me:

    Name JavaScript Trade Wars
    Internal Code TW2
    Start-up Directory ../xtrn/tw2
    Command Line ?tw2


    digital man

    This Is Spinal Tap quote #30:
    Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
    Norco, CA WX: 46.7øF, 46.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Denn@1:103/705 to Digital Man on Tue Feb 12 09:59:55 2019
    Re: Re: TW2 js
    By: Digital Man to Denn on Mon Feb 11 2019 11:14 pm

    Ok i will try that the docs did not say to use ? I'll try it
    now and let you know.

    Right, the docs say:
    4: Command Line *../xtrn/tw2/tw2.js

    *,,/xtrn/tw2/tw2.js <- is what I used - error is something to do
    with node

    No, it's not a DOS program, so the error is misleading. Try this configuration in SCFG, it works for me:

    Name JavaScript Trade Wars
    Internal Code TW2
    Start-up Directory ../xtrn/tw2
    Command Line ?tw2

    Thank you so much DM that worked.

    ... It requires a very unusual mind to make an analysis of the obvious.

    ---
    þ Synchronet þ outwestbbs.com - the Outwest BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)