home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / FMDFIX1.ZIP / FMDFIX1.TXT
Encoding:
Text File  |  1995-06-11  |  6.0 KB  |  181 lines

  1. Spotnick #1 @20397
  2. Thu Jun 08 03:46:37 1995
  3. Here is an idea of what will look like our bug fixes, this is the most
  4. accurate way to do this, IMHO, instead of releasing new versions..
  5.  
  6. This one ain't really official, but it's the current fixes that I have on my
  7. list, did I forget something?
  8.  
  9. -- CUT HERE
  10.  
  11.    ┌┬─── ──  ─   ─  ── ───────────────────────────────────────────────────┬─ ∙∙
  12.    ││                    Alternative Worlds Presents                      │
  13.    └┼─────────────────────────────────────────────────────────────────────┐
  14.    ││ Mod Name       » FMDFIX01.TXT                                       │∙
  15.    ││ Date Affected  » 06/08/95                                           ││
  16.    :│ Files Affected » CONIO.C / XINIT.C / LILO.C / BBS.C                 ││
  17.    ∙│ Description    » Official Bug Fixes For FMD Modifications           ││
  18.     └─────────────────────────────────────────────────────────────────────┼┐
  19.     │       A French Mod Division Release - (C) 1995 FMD Software         ││
  20. ∙∙ ─┴─────────────────────────────────────────────────── ──  ─   ─  ── ───└┘
  21.  
  22.  
  23.   Since there is nothing perfect in this world, I'll have to admit that
  24. with the latest rush we got with the release of WWIV v4.24, there is a few
  25. errors that slipped out of our hands, so here are the official fixes for
  26. all the FMD modifications.
  27.  
  28. ─────────────────────────────────────────────────────────────────────────────
  29. FMD-02b.MOD:
  30. ─────────────────────────────────────────────────────────────────────────────
  31.  
  32.  Load WFC.C and modify the following line:
  33.  
  34. =    } else
  35. =      wfc_prlocate(46, 19, wfcinfo.wfc_prt_color, "None");
  36. *  wfc_prlocate(46, 21, wfcinfo.wfc_prt_color, "%.30s",
  37. +    (syscfgovr.primaryport && ok_modem_stuff)?modem_i->name:"Local Mode");
  38. =  wfc_prlocate(46, 18, wfcinfo.wfc_prt_color, "%5.5s", ctim(syscfg.executetime
  39. *60));
  40. =  wfc_prlocate(70, 11, wfcinfo.wfc_prt_color, "%u", status.days);
  41. =  if (status.days<1)
  42.  
  43. This will fix the garbage chars you have when you load WWIV with the "-m"
  44. option in the modem field, also "Node" has been changed to "Mode" which is
  45. more accurate for these 2 situations.
  46.  
  47. ─────────────────────────────────────────────────────────────────────────────
  48. FMD-13b.MOD:
  49. ─────────────────────────────────────────────────────────────────────────────
  50.  
  51. The whole thing don't work very well, so the FMD-13c.MOD is on it's way.
  52.  
  53. ─────────────────────────────────────────────────────────────────────────────
  54. FMD-14a.MOD:
  55. ─────────────────────────────────────────────────────────────────────────────
  56.  
  57. Replace this function in LILO.C
  58.  
  59. void bdaycheck (void)
  60. {
  61.   char BirthDay[9], Buffer[9], Buffer1[80], delims[3], *ss;
  62.   int i, ok, abort;
  63.   static int fields[5] = { 3, 2, 2, 2, 8 };
  64.  
  65.   strcpy(delims, "//");
  66.   i = abort = 0;
  67.   do
  68.   {
  69.     ok = 1;
  70.     nl();
  71.     prt(7, "Please take a moment to verify some information.");
  72.     nl();
  73.     prt(1, "Please enter your birth date 9(1MM9/1DD9/1YY9): ");0
  74.     mpl2(8);
  75.     indate(BirthDay, fields, delims, &abort);
  76.     if ((strlen(BirthDay) < 8))
  77.     {
  78.       nl();
  79.       prt(6, "Sorry, you must enter your birth date in the correct format!");
  80.       nl();
  81.       ok = 0;
  82.     }
  83.     i++;
  84.     if (ok)
  85.     {
  86.       sprintf(Buffer, "%02d/%02d/%02d",
  87.              (int) thisuser.month, (int) thisuser.day, (int) thisuser.year);
  88.       if (date_to_daten(Buffer) == date_to_daten(BirthDay))
  89.       {
  90.         nl();
  91.         prt(6, "Birth date verified!  Thank you!");
  92.         nln(2);
  93.         sprintf(Buffer1,"Verified %s birth date.", nam(&thisuser,usernum));
  94.         sysoplog(Buffer1);
  95.         if (ini_init("WWIV.INI", "MATRIX", NULL)==0)
  96.         {
  97.           if ((ss=ini_get("SEND_SSM", -1, NULL))!=NULL)
  98.           {
  99.             if (ss[0]==*str_yes)
  100.               ssm(1, 0, Buffer1);
  101.           }
  102.           ini_done();
  103.         }
  104.         return;
  105.       } else {
  106.         nl();
  107.         prt(6, "Invalid birth date entered!");
  108.         nl();
  109.         ok = 0;
  110.       }
  111.     }
  112.   } while ((!hangup) && (!ok) && (i < 3));
  113.   if (i == 3)
  114.   {
  115.     outchr(12);
  116.     prt(3, "You have incorrectly responded to the 3 previous questions.");
  117.     nl();
  118.     prt(3, "Your access level has been changed to that of an unvalidated user."
  119. );
  120.     nln(2);
  121.     prt(9, "Would you like to leave the SysOp a note describing your problem? "
  122. );
  123.     if (yn())
  124.     {
  125.       outchr(12);
  126.       strcpy(irt,"Invalid Birthday Check");
  127.       email(1, 0, 1, 0);
  128.     }
  129.     sprintf(Buffer1,"%s entered an invalid birth date!",
  130.               nam(&thisuser,usernum));
  131.     sysoplog(Buffer1);
  132.     if (ini_init("WWIV.INI", "MATRIX", NULL)==0)
  133.     {
  134.       if ((ss=ini_get("SEND_SSM", -1, NULL))!=NULL)
  135.       {
  136.         if (ss[0]==*str_yes)
  137.           ssm(1, 0, Buffer1);
  138.       }
  139.       ini_done();
  140.     }
  141.     thisuser.sl = thisuser.dsl = syscfg.newusersl;
  142.     write_user(usernum, &thisuser);
  143.     hangup = 1;
  144.   }
  145. }
  146.  
  147. Then in function logon_matrix:
  148.  
  149. =                  if (ini_init("WWIV.INI", "MATRIX", NULL)==0)
  150. =                  {
  151. =                    if ((ss=ini_get("MATRIX_PASSWORD", -1, NULL))!=NULL)
  152. =                    {
  153. =                      if (ss[0]==*str_yes)
  154. =                      {
  155. +                       if ((ss=ini_get("LOGON_PASSWORD", -1, NULL))!=NULL) // 
  156. ADD
  157. +                         strcpy(ini, ss); // ADD
  158. -                       get_ini_value("FMD.INI", "Matrix", "LOGON_PASSWORD", in
  159. i, 10);
  160.                         // DELETE THIS LINE
  161. =                       npr("1The login password is %c6%s1%c. "0
  162. =                           "You will need it to logon.",
  163. =                            34,ini,34);
  164. =                       nln(2);
  165.  
  166. You're done.
  167.  
  168. ─────────────────────────────────────────────────────────────────────────────
  169. FMD-26a.MOD:
  170. ─────────────────────────────────────────────────────────────────────────────
  171.  
  172. Add the following item to function oneliner (in LILO.C)
  173.  
  174. void oneliner(void)
  175. {
  176.   char s[81], s1[81], s2[162], ro[160], text[26][81], *ss; // Added *ss
  177.  
  178.  
  179. ─────────────────────────────────────────────────────────────────────────────
  180. [EOF] - Bug Reported On 06/08/95.
  181.