• Log Off / Dropped Carrier

    From DesotoFireflite@VERT to Android8675 on Mon Nov 4 18:51:31 2013
    Re: Log Off / Dropped Carrier
    By: Android8675 to DesotoFireflite on Mon Nov 04 2013 10:33 am

    SCFG > External Programs > Fixed Events

    You can put an Internal Code for for a door or a timed event here and it'll run that event upon disconnect. Of course that'd run at every disconnect, even the "improper" disconnects.

    What are you trying to do exactly? You could run an event that checks to see how the user exited or something. You could also edit the logoff.js script to do something, since that script is only called when the user hits Log[O]ff it could call the event then continue logging off.
    --

    Your probably gonna laugh, but In my logon js, I have a external program that logs the caller online for an ansi file for all to see, and then I have it log the ansi file that the caller is gone, but if they don't disconnect the correct way, it leaves there stats as online. , so I wanted a way to run the exteral event no matter the way they log off, correct or just drop off in the middle of something like a disconnect. The logoff event will work in the ideal world where everyone logs off the correct way, but if they just disconnect, I'm screwed. lol. It's the old logger program for PCB, that i've been using for years, just trying to tighten it up abit. Thanks for the assist. hopefully one day, I can write a small program to do this without the kludge...

    - CAT (n.), Furry keyboard cover.

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Mro@VERT to DesotoFireflite on Mon Nov 4 20:45:43 2013
    Re: Log Off / Dropped Carrier
    By: DesotoFireflite to Android8675 on Mon Nov 04 2013 06:51 pm

    Your probably gonna laugh, but In my logon js, I have a external program that logs the caller online for an ansi file for all to see, and then I
    have it log the ansi file that the caller is gone, but if they don't disconnect the correct way, it leaves there stats as online. , so I wanted
    a way to run the exteral event no matter the way they log off, correct or just drop off in the middle of something like a disconnect. The logoff


    you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From DesotoFireflite@VERT to Mro on Tue Nov 5 04:12:59 2013
    Re: Log Off / Dropped Carrier
    By: Mro to DesotoFireflite on Mon Nov 04 2013 08:45 pm

    you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.

    I've thought of that, and I may have to go that direction, but i'm not ready to give up on this project yet. I compleatly broke it yesterday, so I may be giving up before I want to, but that is the way I learn. Thanks for all of your input.

    - CAT (n.), Furry keyboard cover.

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valh
  • From DesotoFireflite@VERT to Mro on Tue Nov 5 09:56:04 2013
    Re: Log Off / Dropped Carrier
    By: Mro to DesotoFireflite on Mon Nov 04 2013 08:45 pm

    you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.

    I've given up on this, as it's just not going be be stable. It's an old program, and it will drive me crazy. I'm trying to mod another program now in js, which may serve me well, along with the whos on that you suggested. I posted something in a previous message to all about a command in js that I need. I'm hard to please, and I strive for perfection, and that is very hard in the bbs world. LOL... Thanks for all of your help, it's appreciated.


    - CAT (n.), Furry keyboard cover.

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.sy
  • From Mro@VERT to DesotoFireflite on Tue Nov 5 16:20:42 2013
    Re: Log Off / Dropped Carrier
    By: DesotoFireflite to Mro on Tue Nov 05 2013 09:56 am


    you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.

    I've given up on this, as it's just not going be be stable. It's an old program, and it will drive me crazy. I'm trying to mod another program now in js, which may serve me well, along with the whos on that you suggested.
    I posted something in a previous message to all about a command in js that
    I need. I'm hard to please, and I strive for perfection, and that is very hard in the bbs world. LOL... Thanks for all of your help, it's


    you can do a lot of creative things with user flags too.

    i remember this one guy had a last callers and it would have a tick mark showing what that person did. downloaded, uploaded, played games.
    pretty sure he assigned user flags temporarily to track that.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From DesotoFireflite@VERT to Mro on Tue Nov 5 18:10:39 2013
    Re: Log Off / Dropped Carrier
    By: Mro to DesotoFireflite on Tue Nov 05 2013 04:20 pm

    you can do a lot of creative things with user flags too.

    i remember this one guy had a last callers and it would have a tick mark showing what that person did. downloaded, uploaded, played games.
    pretty sure he assigned user flags temporarily to track that.

    Yea, I'm having a lot of fun with it. One part is stumping me about pulling the last node the user was on, not even sure I can do it, but I'm really having fun working with it. if I get this going, I'm gonna try to write a restaurant guide from scratch. I was scared of it at first, because it looks like greek, but the more I play with it, the more I see the logic. Thanks

    - CAT (n.), Furry keyboard cover.

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Digital Man@VERT to Android8675 on Wed Nov 6 16:15:45 2013
    Re: Log Off / Dropped Carrier
    By: Android8675 to DesotoFireflite on Mon Nov 04 2013 10:33 am

    Re: Log Off / Dropped Carrier
    By: DesotoFireflite to All on Mon Nov 04 2013 08:42 am

    Is there a file, that gets run, no matter what on a correct logoff,
    and also if someone just disconnects without doing the correct logoff. I have a small cleanup batch file I run, and I want to be able to make sure it runs everytime. right now, it's in my logoff event, but if a user disconnects without a propper logoff, it will not run.

    SCFG > External Programs > Fixed Events

    You can put an Internal Code for for a door or a timed event here and it'll run that event upon disconnect. Of course that'd run at every disconnect, even the "improper" disconnects.

    That's close, but the Fixed Events are actually command-lines (not internal codes) which are executed at that fixed event time. The SCFG help for the "Logout Event" states:

    Logout Event:

    This is the command line for a program that will execute during the
    logout sequence of every user. This program cannot have user
    interaction because it is executed after carrier is dropped. If you
    wish to have a program execute before carrier is dropped, you probably
    want to use an Online External Program configured to run as a logoff
    event.

    digital man

    Synchronet "Real Fact" #67:
    Robert D. Bouman, the author of SyncEdit, died in the mid to late 1990's. Norco, CA WX: 77.9øF, 8.0% humidity, 6 mph SSW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From DesotoFireflite@VERT to Digital Man on Wed Nov 6 20:18:20 2013
    Re: Log Off / Dropped Carrier
    By: Digital Man to Android8675 on Wed Nov 06 2013 04:15 pm

    That's close, but the Fixed Events are actually command-lines (not internal codes) which are executed at that fixed event time. The SCFG help for the "Logout Event" states:

    Logout Event:

    This is the command line for a program that will execute during the
    logout sequence of every user. This program cannot have user
    interaction because it is executed after carrier is dropped. If you
    wish to have a program execute before carrier is dropped, you probably want to use an Online External Program configured to run as a logoff event.

    I fiqured that out, so I abandoned the project. I'm going to do something in JS, as it's about time I learn it. It's very powerful, and I'm at the stage with this bbs, that stock programs are not gonna do what I am looking for. Keeping this in mind, I must remember to Backup, Backup, and Backup again...LOL

    - CAT (n.), Furry keyboard cover.

    - C.G. Learn
    - Valhalla Home Services! - Telnet://valhalla.synchro.net
    - A Gamers Paradise - Over 100 Registered Online Game Doors!


    ---
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Jon Justvig@VERT to DesotoFireflite on Thu Nov 7 02:10:00 2013
    DesotoFireflite had something to say to Digital Man <=-

    I fiqured that out, so I abandoned the project. I'm going to do
    something in JS, as it's about time I learn it. It's very powerful, and I'm at the stage with this bbs, that stock programs are not gonna do
    what I am looking for. Keeping this in mind, I must remember to Backup, Backup, and Backup again...LOL

    If at first you don't succeed, back up first then proceed! :)

    ... I married Miss Right. I just didn't know her first name was Always.
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Stepping Stone BBS -- vintagebbsing.com