How to install doors on BBBS/D (By Rudi Timmermans)   
      
   1. First you need to install BBBS/D not the windows version.   
      
   The correct archive is : http://www.bbbs.net/ftp/bbbsrd.zip   
      
   2. Then you need to install NetFoss and NetSerial if you dont have real modem.   
      
   Download link :   
      
   NetFoss : http://pcmicro.com/netfoss/download.html   
      
   NetSerial : http://pcmicro.com/NetSerial/   
      
   3. Setup BBBS/D modem settings.   
      
    BBBS is Copyright 1990-2014, Kim B. 'B' Heino and Tapani T. 'Z' Salmi.   
   İİ+------------µ Local: Modem: General Æ-------------+İİİİİİİİİİ   
   İİİİİİİİİİİİİİ İ   
   İİİ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİ Init string1: AT&D2|   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİ Init string2:   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİ Init string3: İİİİ+-----µ Info   
   Æ-----+İİİ   
   İİİ BTERM init: İİİİİ Default comports   
   İİİİ   
   İİİ Hangup string: ~+++ÇHT0 İİİİİ İİİİ   
   İİİ Busy string: ATM0H1| İİİİİ Port Base IRQ   
   İİİİ   
   İİİ Aftercall str: İİİİİ ----------------   
   İİİİ   
   İİİ Start baud: 19200 Afterc. lines: 0 İİİİİ COM1 03f8 4   
   İİİİ   
   İİİ Base address: 02f8 Ringing count: 6 İİİİİ COM2 02f8 3   
   İİİİ   
   İİİ IRQ: 3 İİİİİ COM3 03e8 4   
   İİİİ   
   İİİ İİİİİ COM4 02e8 3   
   İİİİ   
   İİİ ] Reset to connect speed İİİİİ İİİİ   
   İİİ X] Hangup at logout İİİİİ Base and IRQ are İİİİ   
   İİİ X] RTS/CTS handshake İİİİİ only for PC-DOS. İİİİ   
   İİİ ] Null modem login İİİİ+------------------+İİİ   
   İİİ X] No carrier check İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİ ] Fast FAX İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİ ] "NO CARRIER" is "BUSY" İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİ+--------------------------------------------------+İİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
      
      
   4. Stetup BBBS/D Modem Answer settings.   
      
    BBBS is Copyright 1990-2014, Kim B. 'B' Heino and Tapani T. 'Z' Salmi.   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİ+---µ Main Menu Æ----+İİİİİİİİİİİİİİİ   
   İİİİİİİİİİİİİİİ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİ Global: General İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİ Global: Toggles İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ+-------------------------µ Local: Modem: Answer Æ-------------   
   -----------+İİİ   
   İİ   
   İİİİ   
   İİ Don't answer:   
   İİİİ   
   İİ   
   İİİİ   
   İİ Regexp Count String   
   İİİİ   
   İİ 1: ^RING 1 ATA|   
   İİİİ   
   İİ 2: 0   
   İİİİ   
   İİ 3: 0   
   İİİİ   
   İİ 4: 0   
   İİİİ   
   İİ 5: 0   
   İİİİ   
   İİ   
   İİİİ   
   İ+--------------------------------------------------------------------------+İİ   
   İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİ CD-ROM İ Voice İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİ Exit, dİ İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİ Exit an+-----------+İİİİİİİİİİİİİİ   
   İİİİİİİİİİİİİİ İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİ+--------------------+İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
   İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ   
   İ   
    ESC to quit İ F1 to help İ Local: Modem: Answer   
      
   5. Then you need to make a batch file for starting up NetFoss and BBBS/D.   
      
   The line NETFOSS /N is your node /C is your comport /L is locked port speed /X   
   is X00 support   
      
   On the exit errorlevel you put NETFOSS /U to unload NetFoss !   
      
   Example :   
      
   @ECHO OFF   
   :START   
   CD   
   C:   
   CD \BBBS\NETFOSS   
   NETFOSS /N1 /C2 /L19200 /X   
   CD \BBBS   
   BBBSDOS 2 1   
   IF ERRORLEVEL 0 GOTO EXIT   
   GOTO START   
   :EXIT   
   C:   
   CD \BBBS\NETFOSS   
   NETFOSS /U   
   CD \BBBS   
   ECHO BBBS/D Exited!   
   ECHO.   
      
   6. Opendoor.bz config to start your doors, dont forget to compile it with bzc   
   after changes are made!   
   Example :   
      
   /*   
    * Run by the OPen command in main menu. Remember to recompile!   
    */   
      
   #include    
      
   int logdoor(int door)   
    int f;   
      
    if ((f=fopen(bl_logfile,"at"))!=-1)   
    fprintf(f,"%s %s:%s Opened door %u\n",copy(localtime(time()),3,6),copy(loca   
   ltime(time()),9,2),copy(localtime(time()),11,2),door);   
    fclose(f);   
    }   
   }   
      
   int make_dorinfo1def(char fn)   
    char nam1, nam2, sys1, sys2;   
    int f, security, foo;   
      
    if ((f=fopen(fn,"wt"))==-1)   
    printf("No way, %s, man!",fn);   
    return(1);   
    }   
    if (bv_unum==0) security=32000;   
    else security=1;   
    nam1=copy(bu_name,1,pos(" ",bu_name)-1);   
    nam2=copy(bu_name,pos(" ",bu_name)+1,30);   
    sys1=copy(bg_sysop_name,1,pos(" ",bg_sysop_name)-1);   
    sys2=copy(bg_sysop_name,pos(" ",bg_sysop_name)+1,30);   
    if (!bv_com) foo=0;   
    else foo=bv_baud;   
   // 1 2 3 4 5 6 7 8 9 10 11 12   
    fprintf(f,"%s\n%s\n%s\nCOM%u\n%u BAUD,N,8,1\n%u\n%s\n%s\n%s\n%u\n%u\n%d\n",   
    bg_sysop_name, // 1 - BBS name   
    sys1, // 2 - SysOp first name   
    sys2, // 3 - SysOp last name   
    bv_com, // 4 - COM port   
    foo, // 5 - Baud rate   
    foo, // 6 - Baud, again   
    nam1, // 7 - User first name   
    nam2, // 8 - User last name   
    bu_city, // 9 - User location   
    (bu_termcap & 15)>0, // 10 - ANSI (1/0)   
    security, // 11 - user security   
    bf_timleft); // 12 - Time left   
    fclose(f);   
    return(0);   
   }   
      
   int make_doorsys(char fn)   
    int f;   
    if ((f=fopen(fn,"wt"))!=-1)   
    fprintf(f,"%s\n%u\n%u\n%d\nG\nA\n",bu_name,bv_com,   
    bv_realbaud,bf_timleft);   
    fclose(f);   
    }   
   }   
      
   int make_door32sys(char fn)   
   int f, foo;   
   char name;   
   char emul;   
   int security;   
   int type;   
   if (!bv_com) type=0;   
   if (bv_nodenumber>1) type=2;   
   // 0=local, 1=serial, 2=telnet   
   name="Mystic 1.07";   
   if (bv_unum==0) security=255;   
    else security=1;   
   if (!bv_com) foo=0;   
    else foo=bv_baud;   
   int termtype=bu_termcap & 0x0f;   
   if (termtype==0) emul = "ascii";   
   if (termtype==1) emul = "ansi";   
   if (termtype==2) emul = "avatar";   
   if (termtype==3) emul = "rip";   
   if (termtype==4) emul = "max graphics";   
      
      
   if ((f=fopen(fn,"wt"))!=-1)   
   fprintf(f,"%s\n%u\n%u\n%s\n%u\n%s\n%s\n%u\n%u\n%u\n%u\n",type,bv_com,bv_baud,na   
   me,bv_unum,bn_realname,bn_nick,security,bf_timleft,termtype,bv_nodenumber);   
    fclose(f);   
    }   
   }   
      
      
   int main()   
    char b, filnavn;   
    int z, n;   
      
    if ((n=bn_zstatus)==1 && !(bn_bstatus & 8)) bn_zstatus=8;   
    if (bv_comstring=="") showfile(strcat(bg_menudir,"doormenu"));   
    do   
    switch (z=parsecom("Quit/?/1/2/3/4/5/6/7/8/9/10/11",b=input("Number of door   
   to open: ",60,1)))   
    case 2:   
    showfile(strcat(bg_menudir,"doormenu"));   
    break;   
    }   
    case 3:   
    logdoor(1);   
    spawn("worm");   
    break;   
    }   
    case 4:   
    logdoor(2);   
    spawn("vanrace");   
    break;   
    }   
    case 5:logdoor(3);   
    spawn("robots");   
    break;   
    }   
    case 6:logdoor(4);   
    spawn("star");   
    break;   
    }   
    case 7:logdoor(5);   
    spawn("jackpot");   
    break;   
    }   
      
    case 8:logdoor(6);   
    spawn("hangman");   
    break;   
    }   
    case 9:logdoor(7);   
    printf("Starting Legend Of The Red Dragon!...\n");   
    make_dorinfo1def(sprintf("/bbbs/dorinfo%u.def",bv_nodenumber));   
    system("runlord.bat",1,0);   
    break;   
    }   
    case 10:logdoor(8);   
    printf("Starting Hi-Lo!...\n");   
    make_dorinfo1def(sprintf("/bbbs/dorinfo%u.def",bv_nodenumber));   
    system("hilo.bat",1,0);   
    break;   
    }   
    case 11:logdoor(9);   
    printf("Starting DogWorld ]!...\n");   
    make_dorinfo1def(sprintf("/bbbs/dorinfo%u.def",bv_nodenumber));   
    system("dog1.bat",1,0);   
    break;   
    }   
    case 12:logdoor(10);   
    printf("Starting DoorMUD!...\n");   
    make_dorinfo1def(sprintf("/bbbs/dorinfo%u.def",bv_nodenumber));   
    system("runmud.bat -n %u -d /bbbs/",1,0);   
    break;   
    }   
    case 13:logdoor(11);   
    printf("Starting Barren Realms Elite!...\n");   
    make_dorinfo1def(sprintf("/bbbs/dorinfo%u.def",bv_nodenumber));   
    system("runbre.bat",1,0);   
    break;   
    }   
    case 255:   
    printf(bv_txt23],b);   
    bv_comstring="";   
    break;   
    }   
      
    }   
    } while (bv_carrier && (z==2 || z==255));   
    bn_zstatus=n;   
    }   
      
      
   7. From case 9 to case 13 that are all my DOS BBS Doors that i have installed   
   on BBBS/D.   
      
   Here is a example batch file of Lord Of The Red Dragon for BBBS/D   
      
   Example:   
      
   @ECHO OFF   
   CD   
   C:   
   CD \BBBS\DOORS\LORD   
      
   IF "%1" == "" GOTO NOSTART   
      
   IF EXIST INFO.%1 DEL INFO.%1   
   IF EXIST DO%1.BAT DEL DO%1.BAT   
      
   :BEGIN   
   LORD.EXE %1 %2 %3 %4 %5 /DREW   
   IF ERRORLEVEL 255 GOTO DONE   
   IF ERRORLEVEL 254 GOTO DO1   
   GOTO DONE   
      
   :DO1   
   CALL DO%1.BAT   
   GOTO BEGIN   
      
   :NOSTART   
   CALL RUNLORD.BAT 1   
   GOTO REALDONE   
      
   :DONE   
   IF EXIST INFO.%1 DEL INFO.%1   
   IF EXIST DO%1.BAT DEL DO%1.BAT   
      
   :REALDONE   
      
   After you have done all the above you should get run every door on BBBS/D what   
   you like...   
      
   If you have any problems just ask you can contact me on Fidonet 2:562/140.0 or   
   via email rudi.timmer@gmail.com   
      
   --- BBBS/NT v4.10 Dada-1   
    * Origin: X-TReMe BBS - Web BBS: http://xtremebbs.dyndns.info:8080 (2:562/140)   
|