home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / ALLMODS.ZIP / DREAM13.ZIP / DREAM13.MOD next >
Encoding:
Text File  |  1995-06-23  |  3.7 KB  |  134 lines

  1. Top Cat #1 @2748
  2. Tue Jun 20 07:14:57 1995
  3. 4Msg. Status:3▄ 1Please reply!
  4. 3 ▀▀▀▀▀▀▀▀▀▀▀▀
  5.  
  6. ┌────────────────────────────────────────────────────────────────────────────┐
  7. │ Mod Name:  Dream13.Mod            Date Updated: June 19,1995               │
  8. │ Difficulty:  █▒▒▒▒▒▒▒▒▒▒          Mod Author:   Unca Scrooge               │
  9. │ WWIV Version:  4.24               Updated by:   Top Cat 1@2748 WWIVnet     │
  10. │                                                         1:137/119 Fidonet  │
  11. │ Files Affected:  Gfledit.C  BBS.STR                                        │
  12. │ Description: Colorizes the //GFILEEDIT routine, and puts a nice little     │
  13. │              box around the editing info.  Example at the bottom...        │
  14. └────────────────────────────────────────────────────────────────────────────┘
  15.  
  16.  Long Desc  : Colorizes the //GFILEEDIT routine, and puts a nice little
  17.           box around the editing info.  Watch the spacing!
  18.  
  19. Update by   : Unca Scrooge wrote this mod for 4.23. All I did was update it
  20. Top Cat       to 4.24. If you like the mod, email me 1@2748 and I will make
  21.           sure Unca gets the mail so he knows his mods are still out
  22.           there :)
  23.  
  24. Disclaimer  : Same old crap...  you put it in, not me. Works FINE here.
  25.  
  26.  
  27. Da Mod...
  28.  
  29. Back 'er up!
  30.  
  31. Step 1:
  32.  
  33. Open up Gfledit.C and search for this block of code...
  34.  
  35.   sprintf(s,"%2d %1c  %-40s  %-8s %-3d %-3d %-3d",
  36.         n,x,stripcolors(r.name),r.filename,r.sl,r.age,r.maxfiles);
  37.  
  38. And replace it with this block...
  39.  
  40.   sprintf(s,"2%2d 9%1c  5%-40s  1%-8s 3%-3d 9%-3d 8%-3d",
  41.         n,x,stripcolors(r.name),r.filename,r.sl,r.age,r.maxfiles);
  42.  
  43. Step 2:
  44.  
  45. futher down..   replace the WHOLE chunk from
  46.  
  47. void modify_sec(int n).....
  48.  
  49. to
  50.  
  51.     prt(2,get_string(68));
  52.     ch=onek("QABCDEF[]");
  53.  
  54. with
  55.  
  56. void modify_sec(int n)
  57. {
  58.   gfiledirrec r;
  59.   char s[81],s1[81],ch,ch2;
  60.   int i,done;
  61.  
  62.   r=gfilesec[n];
  63.   done=0;
  64.   do {
  65.     outchr(12);
  66.     strcpy(s1,"7│ 5");
  67.     pl("7┌──────────────────┐0");
  68.     outstr(s1); npr("%-21s",get_string(62));
  69.     outstr(s1); pl(r.name);
  70.     outstr(s1); npr("%-21s",get_string(63));
  71.     outstr(s1); pl(r.filename);
  72.     outstr(s1); npr("%-21s",get_string(64));
  73.     outstr(s1); pln(r.sl);
  74.     outstr(s1); npr("%-21s",get_string(65));
  75.     outstr(s1); pln(r.age);
  76.     outstr(s1); npr("%-21s",get_string(66));
  77.     outstr(s1); pln(r.maxfiles);
  78.     strcpy(s,get_string(5));
  79.     if (r.ar!=0) {
  80.       for (i=0; i<16; i++)
  81.     if ((1 << i) & r.ar)
  82.       s[0]='A'+i;
  83.       s[1]=0;
  84.     }
  85.     outstr(s1); npr("%-21s",get_string(67));
  86.     outstr(s1); pl(s);
  87.     pl("7└──────────────────┘0");
  88.     nl();
  89.     prt(2,get_string(68));
  90.     ch=onek("QABCDEF[]");
  91.  
  92.  
  93. Step 3:
  94.  
  95. Save and recompile...
  96.  
  97.  
  98. Step 4:
  99.  
  100. In BBS.STR, replace these lines...  Best way to do this is use Tolkien's
  101.                     ESM and read them in.
  102.  
  103. HINT!: When editing these strings, use <CTRL>-<RIGHT ARROW> to
  104.        get to the next string in ESM. Once you land on the ':'
  105.        just hit your <DEL> key and enter. That should line it
  106.        up perfectly and you won't spend hours in there.
  107.  
  108.  
  109. 60  2NN 9AR 5Name                                      1FN       3SL  9AGE 8MAX0
  110. 61  7── ══ ────────────────────────────────────────  ════════ ─── ═══ ───0
  111. 62  2A. 9Name
  112. 63  2B. 9Filename
  113. 64  2C. 9SL
  114. 65  2D. 9Min. Age
  115. 66  2E. 9Max Files
  116. 67  2F. 9AR
  117.  
  118.  
  119.  
  120. Here's what it looks like.....
  121.  
  122.  
  123. 7┌─────────────────┐
  124. 7│2A. 9Name          7│ 5DreamNET News
  125. 7│2B. 9Filename      7│ 5NEWS
  126. 7│2C. 9SL            7│ 50
  127. 7│2D. 9Min. Age      7│ 50
  128. 7│2E. 9Max Files     7│ 599
  129. 7│2F. 9AR            7│ 5None
  130. 7└─────────────────┘
  131.  
  132.             That's it!  If ya need help, email me!
  133.  
  134.