home *** CD-ROM | disk | FTP | other *** search
- Top Cat #1 @2748
- Tue Jun 20 07:14:57 1995
- 4Msg. Status:3▄ 1Please reply!
- 3 ▀▀▀▀▀▀▀▀▀▀▀▀
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: Dream13.Mod Date Updated: June 19,1995 │
- │ Difficulty: █▒▒▒▒▒▒▒▒▒▒ Mod Author: Unca Scrooge │
- │ WWIV Version: 4.24 Updated by: Top Cat 1@2748 WWIVnet │
- │ 1:137/119 Fidonet │
- │ Files Affected: Gfledit.C BBS.STR │
- │ Description: Colorizes the //GFILEEDIT routine, and puts a nice little │
- │ box around the editing info. Example at the bottom... │
- └────────────────────────────────────────────────────────────────────────────┘
-
- Long Desc : Colorizes the //GFILEEDIT routine, and puts a nice little
- box around the editing info. Watch the spacing!
-
- Update by : Unca Scrooge wrote this mod for 4.23. All I did was update it
- Top Cat to 4.24. If you like the mod, email me 1@2748 and I will make
- sure Unca gets the mail so he knows his mods are still out
- there :)
-
- Disclaimer : Same old crap... you put it in, not me. Works FINE here.
-
-
- Da Mod...
-
- Back 'er up!
-
- Step 1:
-
- Open up Gfledit.C and search for this block of code...
-
- sprintf(s,"%2d %1c %-40s %-8s %-3d %-3d %-3d",
- n,x,stripcolors(r.name),r.filename,r.sl,r.age,r.maxfiles);
-
- And replace it with this block...
-
- sprintf(s,"2%2d 9%1c 5%-40s 1%-8s 3%-3d 9%-3d 8%-3d",
- n,x,stripcolors(r.name),r.filename,r.sl,r.age,r.maxfiles);
-
- Step 2:
-
- futher down.. replace the WHOLE chunk from
-
- void modify_sec(int n).....
-
- to
-
- prt(2,get_string(68));
- ch=onek("QABCDEF[]");
-
- with
-
- void modify_sec(int n)
- {
- gfiledirrec r;
- char s[81],s1[81],ch,ch2;
- int i,done;
-
- r=gfilesec[n];
- done=0;
- do {
- outchr(12);
- strcpy(s1,"7│ 5");
- pl("7┌──────────────────┐0");
- outstr(s1); npr("%-21s",get_string(62));
- outstr(s1); pl(r.name);
- outstr(s1); npr("%-21s",get_string(63));
- outstr(s1); pl(r.filename);
- outstr(s1); npr("%-21s",get_string(64));
- outstr(s1); pln(r.sl);
- outstr(s1); npr("%-21s",get_string(65));
- outstr(s1); pln(r.age);
- outstr(s1); npr("%-21s",get_string(66));
- outstr(s1); pln(r.maxfiles);
- strcpy(s,get_string(5));
- if (r.ar!=0) {
- for (i=0; i<16; i++)
- if ((1 << i) & r.ar)
- s[0]='A'+i;
- s[1]=0;
- }
- outstr(s1); npr("%-21s",get_string(67));
- outstr(s1); pl(s);
- pl("7└──────────────────┘0");
- nl();
- prt(2,get_string(68));
- ch=onek("QABCDEF[]");
-
-
- Step 3:
-
- Save and recompile...
-
-
- Step 4:
-
- In BBS.STR, replace these lines... Best way to do this is use Tolkien's
- ESM and read them in.
-
- HINT!: When editing these strings, use <CTRL>-<RIGHT ARROW> to
- get to the next string in ESM. Once you land on the ':'
- just hit your <DEL> key and enter. That should line it
- up perfectly and you won't spend hours in there.
-
-
- 60 2NN 9AR 5Name 1FN 3SL 9AGE 8MAX0
- 61 7── ══ ──────────────────────────────────────── ════════ ─── ═══ ───0
- 62 2A. 9Name
- 63 2B. 9Filename
- 64 2C. 9SL
- 65 2D. 9Min. Age
- 66 2E. 9Max Files
- 67 2F. 9AR
-
-
-
- Here's what it looks like.....
-
-
- 7┌─────────────────┐
- 7│2A. 9Name 7│ 5DreamNET News
- 7│2B. 9Filename 7│ 5NEWS
- 7│2C. 9SL 7│ 50
- 7│2D. 9Min. Age 7│ 50
- 7│2E. 9Max Files 7│ 599
- 7│2F. 9AR 7│ 5None
- 7└─────────────────┘
-
- That's it! If ya need help, email me!
-
-