home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / VSM-0001.423 < prev    next >
Text File  |  1993-12-11  |  4KB  |  87 lines

  1.  ╔═[Virtuality Software]═════════════════════════════════[WWIV Modification]═╗
  2.  ║                                                                           ║
  3.  ║ Mod Name       : VSM-0001.423       Mod Author     : Diver Dan            ║
  4.  ║ Difficulty     : Block Read         Net Addresses  : CommLink   #1@1      ║
  5.  ║ Mod Version    : 1.0                                 WoMbAtNeT  #1@28531  ║
  6.  ║ WWIV Version   : 4.23 ONLY                                                ║
  7.  ║ Date Released  : 09 DEC 1993                                              ║
  8.  ║                                                                           ║
  9.  ║ Files Modified : LILO.C                                                   ║
  10.  ║                                                                           ║
  11.  ║                                                                           ║
  12.  ║ Description    : Asks if user wants to scan new messages, and if so, asks ║
  13.  ║                  if user wants to scan all conferences.                   ║
  14.  ║                                                                           ║
  15.  ║ Symbol Key     : [==] Existing Code   [++] Add This    [--] Delete This   ║
  16.  ║                  [**] Modify This     [VSN-xx]  See Note Number xx        ║
  17.  ╚═══════════════════════════════════════════════════════════════════════════╝
  18.  
  19. STEP ONE: Make a backup of your source code.
  20.  
  21. STEP TWO: Search for "void logon(void)" and make the following changes:
  22.  
  23. [==] void logon(void)
  24. [==] {
  25. [==]   char s[255],s1[181],s2[81],*ss;
  26. [**]   int i,i1,dv,win,os2,f,ac,ae_scan;  /* Add ac,ae_scan; */
  27. [==]   long len,pos;
  28. [==]   mailrec m;
  29. [==] #ifdef OPT_REGISTRATION
  30. [==]   long l;
  31. [==] #endif
  32.  
  33. STEP THREE: Search for "if (usub[0].subnum==-1) {" and make these changes:
  34.  
  35.  
  36. [==]    if (usub[0].subnum==-1) {
  37. [==]      curconfsub=0;
  38. [==]      setuconf(CONF_SUBS, curconfsub, -1);
  39. [==]    }
  40. [==]  }
  41. [++]    prt(7,"[1Scan For New Messages 7(1Y7/1N7)?] ");
  42. [++]    if (yn()) {
  43. [++]        ae_scan=0;
  44. [++]        prt(7,"[1Scan All Conferences 7(1Y7/1N7)?] ");
  45. [++]        if (yn()) {
  46. [++]         ae_scan=1;
  47. [++]         write_inst(INST_LOC_SUBS,usub[cursub].subnum,INST_FLAGS_ONLINE);
  48. [++]         express=0;
  49. [++]         expressabort=0;
  50. [++]         if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
  51. [++]         ac=1;
  52. [++]         tmp_disable_conf(1);
  53. [++]         }
  54. [++]         nscan(0);
  55. [++]         if (ac)
  56. [++]         tmp_disable_conf(0);
  57. [++]        }
  58. [++]         if (ae_scan==0) {
  59. [++]              write_inst(INST_LOC_SUBS,65535,INST_FLAGS_ONLINE);
  60. [++]              express=0;
  61. [++]              expressabort=0;
  62. [++]              nscan(0);
  63. [++]        }
  64. [++]    }
  65. [==] }
  66.  
  67. STEP FOUR: Save LILO.C and recompile.
  68.  
  69.  
  70. Disclaimer: Any damages resulting from the use of this mod is the
  71.             responsibility of the SysOp who installs it.  Diver Dan
  72.             and Virtuality Software are NOT responsible for any damages
  73.             incurred by the use of this mod.
  74.  
  75.  
  76. Questions/Comments/Complaints:  You may contact me at any of the network
  77.                                 addresses listed above, or at the board
  78.                                 listed below.
  79.  
  80. Virtuality Software Mods are orginated and distributed from:
  81.  
  82.                         Aquabase Epsilon
  83.                         12-14.4k Baud
  84.                         24 Hours / 7 Days
  85.                         (410) 356-0978
  86.                         WWIV 4.23 Registered / Modified
  87.