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?
Re: TW2 jsI used the word barf because that is what line 3 of twint500.js says ... i Duece's words LOL
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
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
[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 ...
similar)?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
[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 ...
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)?Having trouble getting tw2 configured. I opened port 10088 and
ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting
it barfs
Re: Re: TW2 jsthrough
By: Digital Man to Mortifis on Sat Feb 09 2019 11:52 pm
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)?Having trouble getting tw2 configured. I opened port 10088 and
ran /sbbs/exec/jsexec /sbbs/xtrn/tw2/twint500.js and upon exiting >> it barfs
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
the wiki on this but I guess since I have never actually set up a door on synchronet myself I missed something obvious.good.
my port 10088 is opened on the BBS computer, the services.ini file is
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.
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.
Re: Re: TW2 jsyou
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
have the following in your ctrl/services.ini file (or something similar)?
What do you have in your xtrn/tw2/server.ini file?
Re: Re: TW2 jsSynchronet
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,
iswill 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
SCFG.not supported on your BBS. So, double-check your configuration in
Ok i will try that the docs did not say to use ? I'll try it now and letyou
know.
somethingRe: 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
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
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
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
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 81:00:38 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,309 |
Posted today: | 1 |