• Chat Menu Faults

    From Mickey@1:103/705 to All on Tue Sep 5 10:48:10 2023
    Greetings folks,

    I've lost certain menu options in my 'Chat' menu, specifically 'I' for inter-bbs chat and 'R' for IRC. As much as I know I haven't changed anything. I have online inter-bbs users displayed at login and that works fine.

    Any ideas? I know it's not much info.

    A couple weeks ago, for some reason, I selected update system from a drop-down on sbbsctrl.exe (yes it's windows 10) and it quickly made a few small changes.
    Possibly a version 20 change.

    Mick

    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Tue Sep 5 11:00:40 2023
    Re: Chat Menu Faults
    By: Mickey to All on Tue Sep 05 2023 10:48 am

    Greetings folks,

    I've lost certain menu options in my 'Chat' menu, specifically 'I' for inter-bbs chat and 'R' for IRC. As much as I know I haven't changed anything. I have online inter-bbs users displayed at login and that works fine.

    Any ideas? I know it's not much info.

    Are you saying the menu options are not displayed or nothing happens when a user presses a key?

    A screen shot and the contents of the [chat] or [chat_sec] sections in your ctrl/modopts.ini file would be helpful.
    --
    digital man (rob)

    Rush quote #23:
    Plus ca change, plus c'est la meme chose
    Norco, CA WX: 71.4øF, 73.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Tue Sep 5 19:02:24 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Tue Sep 05 2023 11:00 am

    Are you saying the menu options are not displayed or nothing happens when a user presses a key?

    A screen shot and the contents of the [chat] or [chat_sec] sections in your ctrl/modopts.ini file would be helpful.

    The menu options are there, but neither 'I' or 'R' work. It's as if the option isn't there. chat_sec is what it's always was, Synch and COR's servers, and they're available from an IRC client.

    Mick

    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Wed Sep 6 11:21:42 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Tue Sep 05 2023 07:02 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Tue Sep 05 2023 11:00 am

    Are you saying the menu options are not displayed or nothing happens when a user presses a key?

    A screen shot and the contents of the [chat] or [chat_sec] sections in your ctrl/modopts.ini file would be helpful.

    The menu options are there, but neither 'I' or 'R' work. It's as if the option isn't there. chat_sec is what it's always was, Synch and COR's servers, and they're available from an IRC client.

    Can you please post the contents of the [chat] or [chat_sec] sections from your ctrl/modopts.ini file? That would be helpful.
    --
    digital man (rob)

    Breaking Bad quote #5:
    Sometimes the forbidden fruit tastes the sweetest. - Hank Schrader
    Norco, CA WX: 72.5øF, 71.0% humidity, 2 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Wed Sep 6 20:25:39 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Wed Sep 06 2023 11:21 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Tue Sep 05 2023 07:02 pm

    Can you please post the contents of the [chat] or [chat_sec] sections from your ctrl/modopts.ini file? That would be helpful.

    [chat_sec]
    ; Over-ride default IRC server/port and channel (if desired) here:
    irc_server = centralontarioremote.com
    irc_channel = #Lobby

    I hope this helps. It's the entire section.


    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Thu Sep 7 09:50:43 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Wed Sep 06 2023 08:25 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Wed Sep 06 2023 11:21 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Tue Sep 05 2023 07:02 pm

    Can you please post the contents of the [chat] or [chat_sec] sections
    from
    your ctrl/modopts.ini file? That would be helpful.

    [chat_sec]
    ; Over-ride default IRC server/port and channel (if desired) here:
    irc_server = centralontarioremote.com
    irc_channel = #Lobby

    I hope this helps. It's the entire section.

    That looks fine to me. If you remove or rename the section, do the menu key start working again?

    Double check that you don't have an old chat_sec.bin in exec or chat_sec.js in mods directory that might be being executed instead of exec/chat_sec.js.

    You could also experiment by adding some debug log() calls to chat_sec.js and see what's going on. These are the areas of interest (for IRC functionality):
    if(options.irc && user.compare_ars(options.irc_requirements))
    keys += "R";
    and
    case 'R':
    {
    // all this code
    }
    --
    digital man (rob)

    Breaking Bad quote #31:
    Feels like one of those cones put on dogs so they don't lick their own balls. Norco, CA WX: 72.2øF, 76.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Mickey on Thu Sep 7 14:05:11 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Wed Sep 06 2023 20:25:39

    [chat_sec]
    ; Over-ride default IRC server/port and channel (if desired) here:
    irc_server = centralontarioremote.com
    irc_channel = #Lobby

    Seems reasonable enough. What if you make your chat_sec.sh look like this:

    after:
    if(options.finger && user.compare_ars(options.finger_requirements))
    keys += "F";

    Add these three lines:

    writeln("options are: "+ keys);
    writeln("options.irc is: " +options.irc);
    writeln("user options is: "+user.compare_ars(options.finger_requirements));


    Run your menu and you should see:


    IRFt: options are: ACDJPQST?
    options.irc is: true
    user options is: true

    If either option is false, then you shouldn't see R for relay chat.
    You'll notice IEF appear at the start of the line since there's a \r causing a carriage return.
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Fri Sep 8 14:20:33 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Thu Sep 07 2023 09:50 am

    Double check that you don't have an old chat_sec.bin in exec or chat_sec.js in mods directory that might be being executed instead of exec/chat_sec.js.


    Nothing I can find.

    You could also experiment by adding some debug log() calls to chat_sec.js and see what's going on. These are the areas of interest (for IRC functionality):

    Nelgin described this to me and I implimented it. There was no change in the chat menu. Are there security levels somewhere for the I and R menu options? All other options in the chat menu are working as designed.

    Mick

    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Fri Sep 8 13:00:17 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 02:20 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Thu Sep 07 2023 09:50 am

    Double check that you don't have an old chat_sec.bin in exec or chat_sec.js in mods directory that might be being executed instead of exec/chat_sec.js.


    Nothing I can find.

    You could also experiment by adding some debug log() calls to chat_sec.js and see what's going on. These are the areas of interest (for IRC functionality):

    Nelgin described this to me and I implimented it.

    And what was the new output? Nelgin's change added some debug print statements (that would be sent to the remote client/user) - what did they print? The idea (mine and Nelgin's) was that you'd add some debug print/log statements and then (you/we) would get an idea what the root-cause of problem from what was printed.

    There was no change in the
    chat menu. Are there security levels somewhere for the I and R menu options?

    Not unless you've put them in your modops.ini.
    --
    digital man (rob)

    Rush quote #17:
    Leave out fiction, the fact is this friction will only be worn by persistence Norco, CA WX: 92.6øF, 25.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Fri Sep 8 21:41:50 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Fri Sep 08 2023 01:00 pm

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 02:20 pm

    There was no change in the
    chat menu. Are there security levels somewhere for the I and R menu options?

    Not unless you've put them in your modops.ini.

    So far I haven't found any log entries that cover this. I did notice that the finger option also doesn't work. That's most of the Chat section. No errors with other part of the bbs. My modopts.ini, as before, just have irc server/channel options. Maybe I didn't understand the question.


    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Fri Sep 8 21:54:59 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Fri Sep 08 2023 01:00 pm

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 02:20 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Thu Sep 07 2023 09:50 am
    And what was the new output? Nelgin's change added some debug print statements (that would be sent to the remote client/user) - what did they print? The idea (mine and Nelgin's) was that you'd add some debug print/log statements and then (you/we) would get an idea what the root-cause of problem from what was printed.

    This came out in one of my logs. Hopefully it may help.

    X- running external program: BullsEye! Bulletins
    X- running external program: Synchronet IMSG List
    CTJQ,',.,R

    All I got I'm afraid.

    Mick

    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Sat Sep 9 02:49:03 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 09:41 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Fri Sep 08 2023 01:00 pm

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 02:20 pm

    There was no change in the
    chat menu. Are there security levels somewhere for the I and R menu options?

    Not unless you've put them in your modops.ini.

    So far I haven't found any log entries that cover this. I did notice that the finger option also doesn't work. That's most of the Chat section. No errors with other part of the bbs. My modopts.ini, as before, just have irc server/channel options. Maybe I didn't understand the question.

    You added the debug log lines that I or Nelgin suggested to your chat_sec.js file? Do you see the output from those lines?
    --
    digital man (rob)

    Sling Blade quote #11:
    Doyle Hargraves (to Karl): What in the hell you doin' with that hammer?
    Norco, CA WX: 73.1øF, 56.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Sat Sep 9 02:51:01 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 09:54 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Fri Sep 08 2023 01:00 pm

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 02:20 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Thu Sep 07 2023 09:50 am
    And what was the new output? Nelgin's change added some debug print statements (that would be sent to the remote client/user) - what did they print? The idea (mine and Nelgin's) was that you'd add some debug print/log statements and then (you/we) would get an idea what the root-cause of problem from what was printed.

    This came out in one of my logs. Hopefully it may help.

    X- running external program: BullsEye! Bulletins
    X- running external program: Synchronet IMSG List
    CTJQ,',.,R

    All I got I'm afraid.

    The js log() function calls would go to the terminal server's log output (not the data/logs/<date>.log file).

    The js writeln() function calls (that Nelgin suggested you use) would go to the user remote client/user's terminal (screen).

    Try adding both/either, just to sanity check that the chat_sec.js that you think you're running, you're actually running.
    --
    digital man (rob)

    Breaking Bad quote #15:
    Cheer up Gomey, your people still got J. Lo. - Hank Schrader
    Norco, CA WX: 73.1øF, 56.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:229/307 to Digital Man on Sat Sep 9 10:36:31 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Sat Sep 09 2023 02:51 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 09:54 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Fri Sep 08 2023 01:00 pm

    Try adding both/either, just to sanity check that the chat_sec.js that you think you're running, you're actually running.



    Since my untrained brain doesn't work the same as you guys :-) I copied both chat_sec.js AND modops.ini from an older working backup of SBBS to my current directory and I get the same results. Since the only solution might be a complete fresh install on Win 10, I'll wait until I have time to do it. In the meantime, I'll just remove the 3 non-working culprits from the menu. No one used them anyway, except me. I think my lame attempt to 'update' from the dropdown menus was a really bad idea. I wouldn't recommend THAT to anyone. :-)

    Mick

    -- at least when I update my guitar, changing the damn faulty string always works. <grin>


    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323
    --- SBBSecho 3.14-Win32
    * Origin: Central Ontario Remote (1:229/307)
  • From Digital Man@1:103/705 to Mickey on Sat Sep 9 09:28:07 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Sat Sep 09 2023 10:36 am

    Since my untrained brain doesn't work the same as you guys :-) I copied both chat_sec.js AND modops.ini from an older working backup of SBBS to my current directory and I get the same results. Since the only solution might be a complete fresh install on Win 10, I'll wait until I have time to do it. In the meantime, I'll just remove the 3 non-working culprits from the menu. No one used them anyway, except me. I think my lame attempt to 'update' from the dropdown menus was a really bad idea. I wouldn't recommend THAT to anyone. :-)

    chat_sec.js and modopts.ini don't go into the same directory: chat_sec.js goes into the exec or mods directory while modopts.ini goes into the ctrl directory.

    The only solution is *definitely* not a complete fresh install. That's over kill and none of us would learn anything about your problem.

    What command shell are you using? Have you tried different command shells to see if you get different results?

    The 'update' from the dropdown menus (assuming you mean in sbbsctrl for Win32) has been working fine for many other sysops, so I don't think it's at fault here.
    --
    digital man (rob)

    Synchronet "Real Fact" #37:
    Synchronet's Windows Control Panel is built with Borland C++ Builder
    Norco, CA WX: 82.4øF, 38.0% humidity, 0 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Sun Sep 10 11:07:16 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Sat Sep 09 2023 02:51 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 09:54 pm

    The js writeln() function calls (that Nelgin suggested you use) would go to the user remote client/user's terminal (screen).

    Try adding both/either, just to sanity check that the chat_sec.js that you think you're running, you're actually running.

    This is the output, running chat_sec.js,

    Reading script from C:\sbbs2\exec\chat_sec.js
    C:\sbbs2\exec\chat_sec.js compiled in 0.00 seconds
    !JavaScript C:\sbbs2\exec\chat_sec.js line 49: ReferenceError: bbs is not defined
    C:\sbbs2\exec\chat_sec.js executed in 0.02 seconds
    !Module (chat_sec.js) set exit_code: 1

    And you're right. This is not a Synchronet BBS issue. It is obviously an issue with a user that does not understand the intrinsic operations of the software.

    Just to refresh, I do have getimlst running at login and it runs ok. I just can't get it to run within the chat menu of the bbs.

    Mick

    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Sun Sep 10 14:41:20 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Sun Sep 10 2023 11:07 am

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Sat Sep 09 2023 02:51 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Fri Sep 08 2023 09:54 pm

    The js writeln() function calls (that Nelgin suggested you use) would go to the user remote client/user's terminal (screen).

    Try adding both/either, just to sanity check that the chat_sec.js that you think you're running, you're actually running.

    This is the output, running chat_sec.js,

    Reading script from C:\sbbs2\exec\chat_sec.js
    C:\sbbs2\exec\chat_sec.js compiled in 0.00 seconds
    !JavaScript C:\sbbs2\exec\chat_sec.js line 49: ReferenceError: bbs is not defined
    C:\sbbs2\exec\chat_sec.js executed in 0.02 seconds
    !Module (chat_sec.js) set exit_code: 1

    You can't run chat_sec.js via JSexec. It is normally run from a command shell (e.g. with the 'C' menu option) that then invokes the chat_sec function which then tells sbbs to run whatever module has been configured in SCFG->System->Loadable Modules->Chat Section.

    It could also be invoked with the sysop command:
    ;exec ?chat_sec

    And you're right. This is not a Synchronet BBS issue. It is obviously an issue with a user that does not understand the intrinsic operations of the software.

    Just to refresh, I do have getimlst running at login and it runs ok. I just can't get it to run within the chat menu of the bbs.

    What command shell are you using? (asking again)
    --
    digital man (rob)

    Breaking Bad quote #22:
    I got one more shot at that little skid mark. - Hank Schrader
    Norco, CA WX: 93.4øF, 40.0% humidity, 3 mph SSE wind, 0.01 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Mon Sep 11 07:06:22 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Sun Sep 10 2023 02:41 pm

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Sun Sep 10 2023 11:07 am

    It could also be invoked with the sysop command:
    ;exec ?chat_sec

    Rob, when I enter the above in the main menu, my chat menu comes up and all commands work ok. When I close and try to open Chat again, R,F and I don't work. You can decide if this means anything. :-)

    Mick

    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323

    ---
    þ Synchronet þ Central Ontario Remote BBS - centralontarioremote.com:2300
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Mon Sep 11 11:13:24 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Mon Sep 11 2023 07:06 am

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Sun Sep 10 2023 02:41 pm

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Sun Sep 10 2023 11:07 am

    It could also be invoked with the sysop command:
    ;exec ?chat_sec

    Rob, when I enter the above in the main menu, my chat menu comes up and all commands work ok. When I close and try to open Chat again, R,F and I don't work. You can decide if this means anything. :-)

    Yes it means something. For the 3rd time now I'll ask you: what command shell are you using?
    --
    digital man (rob)

    This Is Spinal Tap quote #45:
    I don't really think the end can be assessed as of itself as being the end Norco, CA WX: 73.8øF, 70.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:229/307 to Digital Man on Mon Sep 11 19:05:15 2023
    Re: Chat Menu Faults
    By: Digital Man to Mickey on Mon Sep 11 2023 11:13 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Mon Sep 11 2023 07:06 am

    Yes it means something. For the 3rd time now I'll ask you: what command shell are you using?

    standard windows shell


    ------------
    Mick Manning
    Central Ontario Remote BBS
    centralontarioremote.com:2323
    --- SBBSecho 3.14-Win32
    * Origin: Central Ontario Remote (1:229/307)
  • From Digital Man@1:103/705 to Mickey on Mon Sep 11 16:33:07 2023
    Re: Chat Menu Faults
    By: Mickey to Digital Man on Mon Sep 11 2023 07:05 pm

    Re: Chat Menu Faults
    By: Digital Man to Mickey on Mon Sep 11 2023 11:13 am

    Re: Chat Menu Faults
    By: Mickey to Digital Man on Mon Sep 11 2023 07:06 am

    Yes it means something. For the 3rd time now I'll ask you: what command shell are you using?

    standard windows shell

    What *Synchronet* command shell are you using? http://wiki.synchro.net/custom:command_shell
    --
    digital man (rob)

    Synchronet "Real Fact" #113:
    Weedpuller "Assassin" http://youtu.be/opw9RPUOcv8
    Norco, CA WX: 87.7øF, 45.0% humidity, 8 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)