-
Noob prelogon baja .bin
From
The Immortal@VERT/KSQUARE to
All on Fri Feb 1 08:17:00 2008
I have a one line BAJA program I am trying to run when someone first ãconnects to a node of my BBS. I named it CMATRIX.SRC and .bin ...ããEXEC_XTRN MATRIXCãwhich loads an external door, of a matrix code screensaver.ããThis works when I ;EXEC it from within my BBS or run it off a menu.ããIt doesn't when I put EXEC:CMATRIX with @'s as the first line of ãanswer.asc , which was my rigged plan.ããIt says "Time's up." and hangs up immediately. ãThe board continues fine when I don't try execing this on (pre?)login.ããWhen compiling my .src, I have tried to use EXEC and EXEC_INT and other ãways to run this program as a door or bash script. In SCFG, I have tried ãusing TLEFT 0 as a requirement and setting suspend/free time as a door option.ãAnd anything else that sounded timey or releases restrictions.ããWhere/what to set?ããI think my trouble is getting synchronet to run external doors with extra ãtime or allowed requirements, on immediate connect. I'm running it from ãinside my answer.asc, I can run it another way if it's possible.. ããShould I try to stuff it in the login matrix.src somewhere and recompile?ããPlz help, this will go a long way with other mods and tricks.ããThank you for your time.ã=\= The Immortal =/=ãããã---ã þ Synchronet þ Kettering Square BBS w00t!ã
-
From
Digital Man@VERT to
The Immortal on Sat Feb 2 14:04:25 2008
Re: Noob prelogon baja .binã By: The Immortal to All on Fri Feb 01 2008 08:17 amãã > I have a one line BAJA program I am trying to run when someone firstã > connects to a node of my BBS. I named it CMATRIX.SRC and .bin ...ã >ã > EXEC_XTRN MATRIXCã > which loads an external door, of a matrix code screensaver.ããIs it an actual "door" (i.e. written to run on a BBS) or some other programãyou're trying to repurpose? Is it a DOS program or a native executable?ãã > This works when I ;EXEC it from within my BBS or run it off a menu.ã >ã > It doesn't when I put EXEC:CMATRIX with @'s as the first line ofã > answer.asc , which was my rigged plan.ã >ã > It says "Time's up." and hangs up immediately.ã > The board continues fine when I don't try execing this on (pre?)login.ã >ã > When compiling my .src, I have tried to use EXEC and EXEC_INT and otherã > ways to run this program as a door or bash script. In SCFG, I have triedã > using TLEFT 0 as a requirement and setting suspend/free time as a doorã > option. And anything else that sounded timey or releases restrictions.ã >ã > Where/what to set?ããIs "Monitor Time Left" set to Yes or No?ãã > I think my trouble is getting synchronet to run external doors with extraã > time or allowed requirements, on immediate connect. I'm running it fromã > inside my answer.asc, I can run it another way if it's possible..ã >ã > Should I try to stuff it in the login matrix.src somewhere and recompile?ããI don't think that will help. Is the actual program being called?ããã digital man (xbox-live: digitlman)ããSnapple "Real Fact" #40:ãIt is possible to lead a cow up stairs but not down.ãNorco, CA WX: 56.4øF, 60% humidity, 3 mph WSW wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Digital Man@VERT to
The Immortal on Sat Feb 9 14:55:51 2008
Re: Noob prelogon baja .binã By: The Immortal to All on Fri Feb 01 2008 08:17 amãã > I have a one line BAJA program I am trying to run when someone firstã > connects to a node of my BBS. I named it CMATRIX.SRC and .bin ...ã >ã > EXEC_XTRN MATRIXCã > which loads an external door, of a matrix code screensaver.ããThis is a really round-about way to run an external program during login (thereãare easier ways), but the problems you mentioned below are not related to yourãmethodology.ããIf you get the latest development build of Synchronet v3.15a, (sbbs_dev.zip),ãyou can now use a new @-code called EXEC_XTRN (@EXEC_XTRN:somecode@) to executeãan external program directly from a display file without the Baja stub methodãyou mentioned above.ãã > This works when I ;EXEC it from within my BBS or run it off a menu.ã >ã > It doesn't when I put EXEC:CMATRIX with @'s as the first line ofã > answer.asc , which was my rigged plan.ã >ã > It says "Time's up." and hangs up immediately.ã > The board continues fine when I don't try execing this on (pre?)login.ããThis is a problem with calculating the time remaining when a user is not loggedãin. If you update to the latest development build, you should not get thisãspecific error. Now, the program that you're running may get a 0-minutes leftãfor the user (taken from the drop file created by the BBS) - but you can getãaround that by adding "Extra Minutes" in the configuration of this program inãSCFG if that's a problem.ãã > When compiling my .src, I have tried to use EXEC and EXEC_INT and otherã > ways to run this program as a door or bash script. In SCFG, I have triedã > using TLEFT 0 as a requirement and setting suspend/free time as a doorã > option. And anything else that sounded timey or releases restrictions.ã >ã > Where/what to set?ã >ã > I think my trouble is getting synchronet to run external doors with extraã > time or allowed requirements, on immediate connect. I'm running it fromã > inside my answer.asc, I can run it another way if it's possible..ããThere are other more simple ways to execute a program before login, but theyãdon't resolve this "Time's up" issue. You need to get the development versionãfor that.ãã > Should I try to stuff it in the login matrix.src somewhere and recompile?ããNo, that won't help. :-)ãã > Plz help, this will go a long way with other mods and tricks.ããGet the development build. I was able to get some doors to work before loginã(e.g. LORD), but not others (e.g. Synchronet Blackjack) - I'm still lookingãinto why that is.ãã digital man (xbox-live: digitlman)ããSnapple "Real Fact" #129:ãMosquitoes have 47 teeth. ãNorco, CA WX: 75.0øF, 28% humidity, 3 mph NE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
The Immortal@VERT/KSQUARE to
Digital Man on Sat Feb 9 14:03:00 2008
Re: Noob prelogon baja .binã By: Digital Man to The Immortal on Sat Feb 02 2008 02:04 pmããOK I fixed it kind sir, sorry for my reply so late.ããI had to give security level 0 more than 0 minutes a day. ãã10 minutes seems fine, I bet it could even be 1 minute with 'suspend time' or ã'free time' options if you did not want the front program to disconnect an ãidle user.ããI'm going to drag this out a little, to refresh. ãIt's something others may want to know?ãã > > EXEC_XTRN MATRIXCã > > which loads an external door, of a matrix code screensaver.ã > ã > Is it an actual "door" (i.e. written to run on a BBS) or some other programã > you're trying to repurpose? Is it a DOS program or a native executable?ããIt is not a door, it's a regular freebsd binary from the ports treeãsomewhere. This, and desperate lack of knowhow, led me to experiment ãwith every way to EXEC or call an executable. Had it right the first time.ããNOTE TO SELF: PAYS TO RTFM ESPECIALLY IF DEVELOPER TELLING YOU WHEREãã > > It says "Time's up." and hangs up immediately.ã > > Where/what to set?ã > ã > Is "Monitor Time Left" set to Yes or No?ããAlso tried that option with yes/no, security level 0 stats seem to take ãprecedence over all of this. Or other scfg settings.ãã > > Should I try to stuff it in the login matrix.src somewhere and recompile?ã > ã > I don't think that will help. Is the actual program being called?ããThe program is being called, it worked, it would just instantly hangup.ãFine now.ããAlso, I have no guest account enabled on my BBS. I don't know if this ãwould have been a problem in the first place, if I had a guest account..?ããOh and yes coincidentally, I noticed some of the CVS submittals and work ãbeing done since my original post, tighter door handling, and the birth of ãan @EXEC_XTRN@ code. That is excellent.ããThank you again for your time, and all your guys'Z latest efforts, they're ãshowing and being used right away.ãã=\= The Immortal =/=ãããã---ã þ Synchronet þ Kettering Square BBS w00t!ã
-
From
Digital Man@VERT to
The Immortal on Sat Feb 9 17:16:59 2008
Re: Noob prelogon baja .binã By: The Immortal to Digital Man on Sat Feb 09 2008 02:03 pmãã > Re: Noob prelogon baja .binã > By: Digital Man to The Immortal on Sat Feb 02 2008 02:04 pmã >ã > OK I fixed it kind sir, sorry for my reply so late.ã >ã > I had to give security level 0 more than 0 minutes a day.ããAh, I didn't think of that.ãã > 10 minutes seems fine, I bet it could even be 1 minute with 'suspend time'ã > or 'free time' options if you did not want the front program to disconnectã > an idle user.ããYes. Actually, if you have "Monitor Time Left" set to "No" and the programãyou're running doesn't check the time left, then 1 minute would be fine.ãã > I'm going to drag this out a little, to refresh.ã > It's something others may want to know?ã >ã > > > EXEC_XTRN MATRIXCã > > > which loads an external door, of a matrix code screensaver.ã > >ã > > Is it an actual "door" (i.e. written to run on a BBS) or some otherã > > program you're trying to repurpose? Is it a DOS program or a nativeã > > executable?ã >ã > It is not a door, it's a regular freebsd binary from the ports treeã > somewhere.ããSo it's sending output to stdout and you have standard output intercepted andãsent to the remote user?ããã > This, and desperate lack of knowhow, led me to experimentã > with every way to EXEC or call an executable. Had it right the first time.ã >ã > NOTE TO SELF: PAYS TO RTFM ESPECIALLY IF DEVELOPER TELLING YOU WHEREã >ã > > > It says "Time's up." and hangs up immediately.ã > > > Where/what to set?ã > >ã > > Is "Monitor Time Left" set to Yes or No?ã >ã > Also tried that option with yes/no, security level 0 stats seem to takeã > precedence over all of this. Or other scfg settings.ããWell the "Monitor Time Left" option controls whether the BBS checks out muchãtime the user has remaining while the program is running. It was (before theãrecent committed changes) always checking the time left just *before* it ranãthe program, however. If this option is set to "No", then it is up to theãexternal program to check the amount of time remaining (if you care).ãã > > > Should I try to stuff it in the login matrix.src somewhere andã > > > recompile?ã > >ã > > I don't think that will help. Is the actual program being called?ã >ã > The program is being called, it worked, it would just instantly hangup.ã > Fine now.ã >ã > Also, I have no guest account enabled on my BBS. I don't know if thisã > would have been a problem in the first place, if I had a guest account..?ããNo, that would make no difference.ãã > Oh and yes coincidentally, I noticed some of the CVS submittals and workã > being done since my original post, tighter door handling, and the birth ofã > an @EXEC_XTRN@ code. That is excellent.ã >ã > Thank you again for your time, and all your guys'Z latest efforts, they'reã > showing and being used right away.ããOkay, good.ããã digital man (xbox-live: digitlman)ããSnapple "Real Fact" #58:ãA sneeze travels out of your nose at 100mph.ãNorco, CA WX: 68.9øF, 35% humidity, 0 mph NE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã