• OpenDoors Programming

    From Manipulator@VERT/XBIT to All on Friday, December 28, 2007 12:52:00
    Hello all,

    I'm new to OpenDoors and BBS door programming, and have a question regarding multi-node drop files. I have a Synchronet 3.14 test bbs. I am able to compile/link/run source code for OpenDoors 6.2 when I choose to have the drop file (door32.sys) go to the startup directory.

    However, If I try to put the drop file in the node directory to enable multi-node support, I cannot get the program to run (errors on cannot find drop file). I've tried to specify (even hard coded) such as:

    strncpy(od_control.info_path,"e:\sbbs\node1",59);

    I tried another test where I put the drop file to the start-up directory, and ran the door from two simultaneous nodes. A sample of od_control.user_name shows correctly (even for the first node after the second node connects).
    This doesn't seem like a good way to do this - I'm not sure if the program will ever need to refresh the information from this file during the
    execution.

    I read Rob Swindell's odoors62.txt readme file and he mentioned he made changes to support door32.sys. I'm not sure if the option to point od_control.info_path to another location is supported.

    Can anyone point me in the right direction?

    Many thanks!
    Manipulator

    ... Join us at The X-BIT BBS --> http://x-bit.org

    ---
    þ Synchronet þ The X-BIT BBS * http://x-bit.org * http://x-bit.org/777.htm
  • From Deuce@VERT/SYNCNIX to Manipulator on Friday, December 28, 2007 15:59:00
    Re: OpenDoors Programming
    By: Manipulator to All on Fri Dec 28 2007 12:52 pm

    strncpy(od_control.info_path,"e:\sbbs\node1",59);

    There is an error in that line... strncpy(od_control.info_path,"e:\\sbbs\\node1",59);

    ---
    Synchronet - Jump on the Web 0.2 bandwagon!

    ---
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)
  • From Digital Man@VERT to Manipulator on Friday, December 28, 2007 17:50:41
    Re: OpenDoors Programming
    By: Manipulator to All on Fri Dec 28 2007 12:52 pm

    Hello all,

    I'm new to OpenDoors and BBS door programming, and have a question regarding multi-node drop files. I have a Synchronet 3.14 test bbs. I am able to compile/link/run source code for OpenDoors 6.2 when I choose to have the dro file (door32.sys) go to the startup directory.

    However, If I try to put the drop file in the node directory to enable multi-node support, I cannot get the program to run (errors on cannot find drop file).

    Are you passing the path to the drop file on the command-line? The door won't know where the drop file is, unless you tell it. If you don't tell the door, it'll assume it's in the current directory (the startup directory).

    digital man (xbox-live: digitlman)

    Snapple "Real Fact" #172:
    The eye makes movements 50 times every second.
    Norco, CA WX: ---.-øF, --% humidity, NaN mph --- wind, --.-- inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Manipulator@VERT/XBIT to Digital Man on Sunday, December 30, 2007 10:26:00
    Re: OpenDoors Programming
    By: Digital Man to Manipulator on Fri Dec 28 2007 05:50 pm

    Thanks to the both of I didn't have the double \\ for the test (so that's waht was throwing me off) - and i had some extra main() parameters
    that were prevending the %f from the sync extrenal program menu from being parsed properly.

    thanks again!
    Manipulator

    ... A fool and his money soon becomes a SysOp.

    ---
    þ Synchronet þ The X-BIT BBS * http://x-bit.org * http://x-bit.org/777.htm