Subj : Noob prelogon baja .bin
To   : The Immortal
From : Digital Man
Date : Sat Feb 09 2008 02:55 pm

 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 � telnet://vert.synchro.net