For anyone else's benefit, on Synchronet the working command line is:
?rlogin goldminedoors.com:2513 -s [TAG]%a
?rlogin goldminedoors.com:2513 -s [TAG]%a
Does that work with multi-word user aliases? You might have to do
something like this to be compatible with multi-word aliases:
"[TAG]%A" - the capitalize the 'A' to prevent the auto-quoting and add quotes around the entire name with the [TAG] part.
Digital Man wrote to Gamgee <=-
Re: Re: GoldMine - Connecting from Synchronet BBS
By: Gamgee to j0hnny a1pha on Mon Oct 21 2024 11:15 am
For anyone else's benefit, on Synchronet the working command line is:
?rlogin goldminedoors.com:2513 -s [TAG]%a
Does that work with multi-word user aliases? You might have to do something like this to be compatible with multi-word aliases: "[TAG]%A"
- the capitalize the 'A' to prevent the auto-quoting and add quotes
around the entire name with the [TAG] part.
Does that work with multi-word user aliases? You might have to do something like this to be compatible with multi-word aliases: "[TAG]%A" - the capitalize the 'A' to prevent the auto-quoting and add quotes around the entire name with the [TAG] part.
It does NOT work with multi-word alias, unless the quotes are also used. Then it gets a little weird... When using the quotes, neither %a nor %A expand to the user's alias, they just show as "%a" or "%A".
Without the quotes, the %a or %A work, but only with a single-word
[TAG].
Re: Re: GoldMine - Connecting from Synchronet BBS
By: Gamgee to Digital Man on Tue Oct 29 2024 01:46 pm
Does that work with multi-word user aliases? You might have to do something like this to be compatible with multi-word aliases: "[TAG]%A" - the capitalize the 'A' to prevent the auto-quoting and add quotes around the entire name with the [TAG] part.
It does NOT work with multi-word alias, unless the quotes are also used. Then it gets a little weird... When using the quotes, neither %a nor %A expand to the user's alias, they just show as "%a" or "%A".
Yeah, I'm not surprised. The additional quotes was just an idea, but looking at the source code now, I see there's no special handling of quotes on command-lines within SBBS.
Without the quotes, the %a or %A work, but only with a single-word
[TAG].
Yup, I can see how that'd be the case.
Digital Man wrote to Gamgee <=-
Does that work with multi-word user aliases? You might have to do something like this to be compatible with multi-word aliases: "[TAG]%A" - the capitalize the 'A' to prevent the auto-quoting and add quotes around the entire name with the [TAG] part.
It does NOT work with multi-word alias, unless the quotes are also used. Then it gets a little weird... When using the quotes, neither %a nor %A expand to the user's alias, they just show as "%a" or "%A".
Yeah, I'm not surprised. The additional quotes was just an idea, but looking at the source code now, I see there's no special handling of quotes on command-lines within SBBS.
Actually, I take that back, there is, so I would expect something like "-s[TAG]%A" to work as you intend.
Without the quotes, the %a or %A work, but only with a single-word
[TAG].
Yup, I can see how that'd be the case.
I just committed a trivial update to rlogin.js that'll allow you to specify the -s (or -c) option multiple times to build up the auth
string, e.g.
?rlogin server -s[TAG] -s %a
But the other way (with the quotes and no spaces) should work too.
Digital Man wrote to Gamgee <=-
Does that work with multi-word user aliases? You might have to do something like this to be compatible with multi-word aliases: "[TAG]%A" - the capitalize the 'A' to prevent the auto-quoting and add quotes around the entire name with the [TAG] part.
It does NOT work with multi-word alias, unless the quotes are also used. Then it gets a little weird... When using the quotes, neither %a nor %A expand to the user's alias, they just show as "%a" or "%A".
Yeah, I'm not surprised. The additional quotes was just an idea, but looking at the source code now, I see there's no special handling of quotes on command-lines within SBBS.
Actually, I take that back, there is, so I would expect something like "-s[TAG]%A" to work as you intend.
It does, but see below...
Without the quotes, the %a or %A work, but only with a single-word [TAG].
Yup, I can see how that'd be the case.
I just committed a trivial update to rlogin.js that'll allow you to specify the -s (or -c) option multiple times to build up the auth string, e.g.
?rlogin server -s[TAG] -s %a
But the other way (with the quotes and no spaces) should work too.
Thanks for the update. Both ways do indeed work now, with this
difference:
If I define either of those methods as the command line for my external event/door, it works as expected, and produces this output on the
Goldmine site as the current user: [PAL]Gamgee
If I run either of those command lines while sitting at a prompt on my
BBS, using the ;EXEC command and then typing the command line, I get
this output on the site: [PAL]%A
So for some reason the alias variable is not being evaluated when run "manually".
Is the case of the %a or %A significant? Both show as "%A" on the
output if that means anything.
Digital Man wrote to Gamgee <=-
If I define either of those methods as the command line for my external event/door, it works as expected, and produces this output on the
Goldmine site as the current user: [PAL]Gamgee
If I run either of those command lines while sitting at a prompt on my
BBS, using the ;EXEC command and then typing the command line, I get
this output on the site: [PAL]%A
That's expected. I just committed a trivial change to str_cmds.js so
that it *will* now expand command-line specifiers that you pass on the command-line using the ;exec sysop command, so that should work if you update.
So for some reason the alias variable is not being evaluated when run "manually".
Is the case of the %a or %A significant? Both show as "%A" on the
output if that means anything.
It sounds like you're using a command shell that is converting the
input to all-caps. Here's how it works for me using default.js and the updated str_cmds.js (and demonstrates the difference between %a and
%A):
= Main = 0:07:22 [4] fsxNet [11] FSX BBS: ;exec
Command-line: ?showargs %a
argc = 1
argv[0] = 'Digital Man'
= Main = 0:07:56 [4] fsxNet [11] FSX BBS: ;exec
Command-line: ?showargs %A
argc = 2
argv[0] = 'Digital'
argv[1] = 'Man'
showargs.js is just this (for test/demo purposes):
print("argc = " + argc);
for(i=0;i<argv.length;i++)
printf("argv[%d] = '%s'\r\n",i,argv[i].toString());
Digital Man wrote to Gamgee <=-
If I define either of those methods as the command line for my external event/door, it works as expected, and produces this output on the Goldmine site as the current user: [PAL]Gamgee
If I run either of those command lines while sitting at a prompt on my BBS, using the ;EXEC command and then typing the command line, I get
this output on the site: [PAL]%A
That's expected. I just committed a trivial change to str_cmds.js so that it *will* now expand command-line specifiers that you pass on the command-line using the ;exec sysop command, so that should work if you update.
OK, cool, thank you.
So for some reason the alias variable is not being evaluated when run "manually".
Is the case of the %a or %A significant? Both show as "%A" on the
output if that means anything.
It sounds like you're using a command shell that is converting the input to all-caps. Here's how it works for me using default.js and the updated str_cmds.js (and demonstrates the difference between %a and %A):
= Main = 0:07:22 [4] fsxNet [11] FSX BBS: ;exec
Command-line: ?showargs %a
argc = 1
argv[0] = 'Digital Man'
= Main = 0:07:56 [4] fsxNet [11] FSX BBS: ;exec
Command-line: ?showargs %A
argc = 2
argv[0] = 'Digital'
argv[1] = 'Man'
showargs.js is just this (for test/demo purposes):
print("argc = " + argc);
for(i=0;i<argv.length;i++)
printf("argv[%d] = '%s'\r\n",i,argv[i].toString());
Ahhh, OK, thank you again. For a single-word alias I'll just use the lowercase one then.
As for my command shell, it is a modified form of default.bin (src).
The only changes though are that some commands have been disabled, and
some modified to use the DDMsgReader/DDAreaChooser mods. No changes
made to anything related to case/caps.
The display on the remote
website that always showed the capitalized "A" might have been something
on that end, I would guess.
Anyhow, things are all good now with the
command line for opening that game server door. Appreciate it.
No, I am on Linux.
Okay, but I doubt anyone else is doing that, and they have a [TAG]
displayed in front of their Username. Just wondering why mine isn't
working, and what other (Synchronet) users are using for their command line...
Is the [TAG] importaint in some way? Do you care if it's included in
the user's login?
Thanks.
... Gone crazy, be back later, please leave message.
=== MultiMail/Linux v0.52
--- SBBSecho 3.20-Linux
* Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
Re: GoldMine - Connecting from Synchronet BBS
By: Errol Casey to All on Sat Aug 03 2024 12:48 am
Hello Errol (and anyone else)... The above command line gets me to the main menu of the door server, but the %A part doesn't put in the username. It just displays the "current gamer" as [tag]%A. The %A isn't being "expanded" to a user name. Can you check/clarify that?
I'm able to get to the main menu just fine, and play the doors, with just the command line:
?rlogin 143.198.58.173:2513 -p
But... this doesn't show the [tag] in front of the user name displayed. I'm not sure how important that is, but it seems that most others who are logging in have that working. So, what command line are you Synchronet BBS operators using to connect to the Gold Mine server?
Thanks!
--- SBBSecho 3.20-Linux
* Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
Are you launching this from the scfg command line? do i need to select
a door
type and run a batch file? Is there anything to add to any of .ini
files like
modopts.ini for example? What does the scfg page setup for look like?
No, I am on Linux.
Okay, but I doubt anyone else is doing that, and they have a [TAG]
displayed in front of their Username. Just wondering why mine isn't
working, and what other (Synchronet) users are using for their command line...
Just set it up like any External Program for SBBS. In scfg:
External Programs > Online Programs > [Section] > [Name]
And use the "?rlogin" Command Line that Digital Man specified in a
previous message w/Gamgee.
Native Executable Script = Yes
Use Shell or New Context = Yes
I'll put a screen shot on the web site tomorrow if that helps!
|07|02/|10\|03/ |11j0hnny a1pha |03\|10/|02\|07
--- Talisman v0.54-dev (Linux/x86_64)
* Origin: Space Junk! BBS :: SpaceJunkBBS.com:2323 (21:4/158)
that would be great thank you. No matter what i do I get a lot of
undefined
value errors so I am guessing there is something i need to update in rlogin.js?
s is not defined, a is not defined, p is not defined. Where do I
define them?
Here's the refernce for the ?rlogin command:I cannot use any -x (pipe commands without getting errors) so i just left them out and used this line
https://wiki.synchro.net/module:rlogin
important ?rlogin switches are:
-p (which sends user alias & pw in the order Gold Mine expects)
-q (optional, quiet mode, e.g. no banner or pause prompt)
-t (optional, allows you to send a direct launch XTRN code, like -t
xtrn=MRC)
./scfg is located in the exec/ dir, so probably sbbs/exec.
Direct launch codes are listed at goldminebbs.com.
Cheers!
|07|02/|10\|03/ |11j0hnny a1pha |03\|10/|02\|07
--- Talisman v0.54-dev (Linux/x86_64)
* Origin: Space Junk! BBS :: SpaceJunkBBS.com:2323 (21:4/158)
thank you!
Here's the refernce for the ?rlogin command:
https://wiki.synchro.net/module:rlogin
important ?rlogin switches are:
-p (which sends user alias & pw in the order Gold Mine expects)
-q (optional, quiet mode, e.g. no banner or pause prompt)
-t (optional, allows you to send a direct launch XTRN code, like -t xtrn=MRC)
./scfg is located in the exec/ dir, so probably sbbs/exec.
Direct launch codes are listed at goldminebbs.com.
No, I am on Linux.
Okay, but I doubt anyone else is doing that, and they have a [TAG] displayed in front of their Username. Just wondering why mine isn't working, and what other (Synchronet) users are using for their command line...
I am running synchronet 3.19b and when i try this command i get Javascript rlogin.js line 7:reference error: P is not defined.
are there changes somewhere else I need to make? to define the s and p values? In the scfg what are the settings for startup directory
and using
native executables and such. I tried using the other command string in the scfg rlogin.js 143.198.58.173:2513 -s [TLB]%A -c %A -q and i get similar error messages that q or a is not defined. Where do i define them?
that would be great thank you. No matter what i do I get a lot of undefined value errors so I am guessing there is something i need to update in rlogin.js? s is not defined, a is not defined, p is not defined. Where do I define them? Thanks for writing back. What is the startup directory in scfg as well what door file type do i pick? or do I? lol.
Here's the refernce for the ?rlogin command:
https://wiki.synchro.net/module:rlogin
important ?rlogin switches are:
-p (which sends user alias & pw in the order Gold Mine expects)
-q (optional, quiet mode, e.g. no banner or pause prompt)
-t (optional, allows you to send a direct launch XTRN code, like -t xtrn=MRC)
./scfg is located in the exec/ dir, so probably sbbs/exec.
Direct launch codes are listed at goldminebbs.com.
This looks very cool. Going to give it a go this weekend!
Re: Re: GoldMine - Connecting from Synchronet BBS
By: Rixter to Gamgee on Fri Nov 08 2024 08:24 am
You're just running an old rlogin.js.
The startup directory doesn't matter (has no impact) when running .js scripts from SBBS.
You don't define them, the script defines them. I'm not sure why you have multiple %A values on that command-line. That doesn't look right.
--
digital man (rob)
This Is Spinal Tap quote #38:
Artie Fufkin: I'm not asking, I'm telling with this. Kick my ass.
Norco, CA WX: 58.8�F, 26.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs --- SBBSecho 3.21-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
Here's the refernce for the ?rlogin command:
https://wiki.synchro.net/module:rlogin
important ?rlogin switches are:
-p (which sends user alias & pw in the order Gold Mine expects)
-q (optional, quiet mode, e.g. no banner or pause prompt)
-t (optional, allows you to send a direct launch XTRN code, like -t
xtrn=MRC)
./scfg is located in the exec/ dir, so probably sbbs/exec.
Direct launch codes are listed at goldminebbs.com.
Cheers!
|07|02/|10\|03/ |11j0hnny a1pha |03\|10/|02\|07
--- Talisman v0.54-dev (Linux/x86_64)
* Origin: Space Junk! BBS :: SpaceJunkBBS.com:2323 (21:4/158)
Re: GoldMine - Connecting from Synchronet BBS
By: Rixter to j0hnny a1pha on Fri Nov 08 2024 08:27 am
You don't define them, the script defines them. You need an updated version of the scrit. And the startup directory and "door file type" don't matter (aren't used) for JS scripts.
--
digital man (rob)
Breaking Bad quote #32:
Don't think so hard it's gonna hurt your brain! - Hank Schrader
Norco, CA WX: 58.8�F, 26.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs --- SBBSecho 3.21-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
Re: GoldMine - Connecting from Synchronet BBS
By: Gamgee to Errol Casey on Tue Oct 15 2024 09:40 pm
I believe it is working for me; I think I may also have -q on my command line now.
Just logged in and my tag is displayed in front of my user name. At top
of menu on Gold Mine.
I know there was working rlogin to add some arguments, so don't know if I have a later version of the rlogin.js I keep things pretty updated.
Aug 17 th is the date on my rlogin module.
--
Amessyroom - Sysop
toolazy.synchro.net:22 (ssh)
toolazy.synchro.net:2323 (telnet)
https://toolazy.synchro.net
--- SBBSecho 3.20-Linux
* Origin: Too Lazy BBS - toolazy.synchro.net:2323 (21:1/182)
Errol,
Do you notice that when you try to open some of the doors on the Goldmine that the door does not open but instead goes back to the door selection menu on the goldmine? I tried it on your BBS tonight and noticed it does the same thing on my BBS. I had one of my callers point this out to me. I hope you are doing well. Let me know if you noticed this too.
Re: GoldMine - Connecting from Synchronet BBS
By: Rixter to Errol Casey on Wed Nov 13 2024 06:51 pm
I did see it on area 2 game 2 I believe. So i does happen from my bbs also.
So probably need to inquire with the maintainer of Gold Mine. No certain if he monitors this echo or not; have so many I cannot recall which I have seen him in recently.
I'll check my emails, and if I have his email will email him directly.
--
Amessyroom - Sysop
toolazy.synchro.net:22 (ssh)
toolazy.synchro.net:2323 (telnet)
https://toolazy.synchro.net
--- SBBSecho 3.21-Linux
* Origin: Too Lazy BBS - toolazy.synchro.net:2323 (21:1/182)
Thanks for all your help my guys on my BBS can get to your game server
just
fine now but most of the games when selected sent the user back to the select a
game menu on your server instead of launching the game. NOT ALL of
them just
some of them. Any ideas why?
We are having fun in my small community reaching out to other BBS's
this way.
Thank you.
Ricky (Rixter)
Re: GoldMine - Connecting from Synchronet BBS
By: Rixter to Errol Casey on Wed Nov 13 2024 06:51 pm
I did see it on area 2 game 2 I believe. So i does happen from mybbs also.
So probably need to inquire with the maintainer of Gold Mine. Nocertain if
he monitors this echo or not; have so many I cannot recall which Ihave seen
him in recently.
I am noticing a bunch of malformed BBS Tag coming through, that may have something to do with it, these users may be coming from the same BBS and
the connection details from RLOGIN are not being passed properly:
Ty Holder ???
Beth Martin ???
Rick Sutphin ???
|07|02/|10\|03/ |11j0hnny a1pha |03\|10/|02\|07
--- Talisman v0.54-dev (Linux/x86_64)
* Origin: Space Junk! BBS :: SpaceJunkBBS.com:2323 (21:4/158)
I am noticing a bunch of malformed BBS Tag coming through, that may have something to do with it, these users may be coming from the same BBS and the connection details from RLOGIN are not being passed properly:
Hi,
They look like callers from my bbs. I am Rixter-ricky sutphin. Every thing is
working great now. Thanks! I cannot use the [tag] option because anything after
the port number in the launch command comes back to me as undefined and it terminates the connection with goldmine. My version of r login doesn’t allow
tag or -a -p -etc command pipe. They are all undefined. Previously about half
the doors on the gold mine would just not open and would instantly go back to
the goldmine door menu. Now they all work. Thanks. Every thing is ok now. We are able to enjoy your games again.
-Rixter
Ty Holder ???
Beth Martin ???
Rick Sutphin ???
Try "xtrn=" in lower case. I've noticed that perhaps something may
have changed in a recent commit - not 100% sure but changing
everything to lower case when passing this seems to work. I'll dig in
Re: GoldMine - Connecting from Synchronet BBS
By: Rixter to j0hnny a1pha on Fri Nov 08 2024 08:27 am
You don't define them, the script defines them. You need an updated version of the scrit. And the startup directory and "door file type" don't matter (aren't used) for JS scripts.
Where do I obtain a more current version of rlogin.js? Thank you so much for helping me out so much.
Re: GoldMine - Connecting from Synchronet BBS
By: Rixter to Digital Man on Wed Nov 13 2024 06:49 pm
The same place you get/got Synchronet. If you want *just* that file, you can download it from gitlab.synchro.net.
--
digital man (rob)
Breaking Bad quote #38:
Don't drink and drive, but when you do, call Saul.
Norco, CA WX: 46.8�F, 78.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs --- SBBSecho 3.22-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
I downloaded synchronet319b from another BBS not from some git thingy, but thanks for the information. It is funny to see the word git, my folks were english and the word 'git' meant something derrogatory. LOL. I am imagining a
lab full of gits now. I still chuckle when I see you guys typing it out. Have a
good day Rob. Everything seems to be working fine without changing it. I might
still try to get me a current copy of it anyway. You guys are awesome.
Someone else will probably remember the name of the git.. but git the source code manager was written because someone copied perforce (a proprietary source code management tool that Linus was using for the Linux kernel, on the condition no one made a opensource free version of it) I think it was the guy of samba fame? that did it, but perforce got mad and Linus put together git in a hurry to replace it - I think it was called git because of the guy who made the opensource perforce tool.
My memory isn't as good as it used to be, but I think that was what happened.. a google search would probably correct me :P
Andrew
--
|09apam |08(|11Andrew Pamment|08)
|15Starlight |07:: |15starlight.zapto.org|07
--- Noddy git-27636aa
* Origin: Starlight :: starlight.zapto.org:2323 (21:4/158.1)
Sysop: | StingRay |
---|---|
Location: | Woodstock, GA |
Users: | 29 |
Nodes: | 15 (0 / 15) |
Uptime: | 34:07:31 |
Calls: | 591 |
Calls today: | 1 |
Files: | 359 |
Messages: | 227,755 |
Posted today: | 1 |