home *** CD-ROM | disk | FTP | other *** search
- Top Cat #1 @2748
- Tue Jun 20 07:15:30 1995
- 4Msg. Status:3▄ 1Reply not necessary!
- 3 ▀▀▀▀▀▀▀▀▀▀▀▀
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: Dream27.424 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: SUBEDIT.C BBS.STR │
- │ Description: Colorized //BOARDEDIT and put a nice little box around the │
- │ editing info. Example below. │
- └────────────────────────────────────────────────────────────────────────────┘
-
- Long Description: Welp, figured it was time I wrote one for these for
- //BOARDEDIT, since I have ones for //CE, //DE. and //GE.
- <g>... This was originally written by the author of
- CAVEMOD3... (That's where I got the idea for //CE, etc.)
- I was unable to contact him, so if he reads this and
- has a problem with my releasing this mod, if he lets me
- know I'll either pull the mod or something.... No bashes
- towards him, it was written well and worked (I just can't
- find it <g> That's why I can't contact him... Spelunker,
- I believe...) Anyway, this is a little different that
- the one he wrote in one small aspect of the box...
- Anyhoo... on with it...
-
- 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 : if (you_installed it) and (does_not_work) then
- your_fault
- else
- enjoy; <Er... ok, so that's Pascal <g>>
-
- Step 1 : Open up SUBEDIT.C and search/replace/edit this little chunk
-
-
- // sprintf(s,"%4d %1c %-37.37s %-8s %-3d %-3d %-2d %-5d %7s",
- // n,x,stripcolors(r.name),r.filename,r.readsl,r.postsl,r.age&0x7f,
- // r.maxmsgs,xsubs[n].num_nets?xsubs[n].nets[0].stype:"");
-
- With this:
-
- sprintf(s,"2%4d 9%1c 5%-37.37s 1%-8s 3%-3d 9%-3d 8%-2d 7%-5d 4%7s0",
- n,x,stripcolors(r.name),r.filename,r.readsl,r.postsl,r.age&0x7f,
- r.maxmsgs,xsubs[n].num_nets?xsubs[n].nets[0].stype:"");
-
-
- Step 2 : Further down, replace everything from
-
- void modify_sub(int n)
- to
- ch=onek("QABCDEFGHIJKLMNO[]");
-
- with this chunk of code...
-
-
- void modify_sub(int n)
- {
- subboardrec r;
- char s[81],s1[81],s2[81],s3[81],ch,ch2,ch3;
- int i,done;
- xtrasubsnetrec *xnp;
-
- r=subboards[n];
- done=0;
- do {
- outchr(12);
- strcpy(s3,"7│5");
- pl("7┌─────────────────┐0");
- outstr(s3); npr("%-21s",get_string(62));
- outstr(s3); pl(r.name);
- outstr(s3); npr("%-21s",get_string(63));
- outstr(s3); pl(r.filename);
- if (r.key==0)
- strcpy(s,get_string(168));
- else {
- s[0]=r.key;
- s[1]=0;
- }
- outstr(s3); npr("%-21s",get_string(169));
- outstr(s3); pl(s);
- outstr(s3); npr("%-21s",get_string(170));
- outstr(s3); pln(r.readsl);
- outstr(s3); npr("%-21s",get_string(171));
- outstr(s3); pln(r.postsl);
- switch(r.anony & 0x0f) {
- case 0: strcpy(s,str_no); break;
- case anony_enable_anony: strcpy(s,str_yes); break;
- case anony_enable_dear_abby: strcpy(s,get_string(172)); break;
- case anony_force_anony: strcpy(s,get_string(173)); break;
- case anony_real_name: strcpy(s,get_string(174)); break;
- default: strcpy(s,get_string(175)); break;
- }
- outstr(s3); npr("%-21s",get_string(176));
- outstr(s3); pl(s);
- outstr(s3); npr("%-21s",get_string(177));
- outstr(s3); pln(r.age&0x7f);
- outstr(s3); npr("%-21s",get_string(178));
- outstr(s3); pln(r.maxmsgs);
- 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(s3); npr("%-21s",get_string(179));
- outstr(s3); pl(s);
- outstr(s3); npr("%-21s",get_string(180));
- outstr(s3);
- if (xsubs[n].num_nets) {
- npr(" 1%-12.12s 3%-7.7s 5%-6.6s 7%s0\r\n",
- get_string(181), get_string(182), get_string(183), get_string(184));
- for (i=0,xnp=xsubs[n].nets; i<xsubs[n].num_nets; i++,xnp++) {
- if (xnp->host==0)
- strcpy(s,get_string(185));
- else
- sprintf(s,"%u ",xnp->host);
- if (xnp->category)
- sprintf(s1,"%s1(7%d1)0",get_string(187),xnp->category);
- else
- strcpy(s1,get_string(187));
- outstr(s3);outstr(charstr(17,' '));outstr(s3);
- npr("2%c) 1%-12.12s 3%-7.7s 5%-6.6s 7%s%s0\r\n",
- i+'a',
- net_networks[xnp->net_num].name,
- xnp->stype,
- s,
- (xnp->flags&XTRA_NET_AUTO_ADDDROP)?get_string(186):"",
- (xnp->flags&XTRA_NET_AUTO_INFO)?s1:"");
- }
- } else {
- pl(get_string(188));
- }
- outstr(s3); npr("%-21s",get_string(189));
- outstr(s3); pln(r.storage_type);
- outstr(s3); npr("%-21s",get_string(190));
- outstr(s3); pl((r.anony & anony_val_net)?str_yes:str_no);
- outstr(s3); npr("%-21s",get_string(191));
- outstr(s3); pl((r.anony & anony_ansi_only)?str_yes:str_no);
- outstr(s3); npr("%-21s",get_string(192));
- outstr(s3); pl((r.anony & anony_no_tag)?str_yes:str_no);
- outstr(s3); npr("%-21s",get_string(193));
- outstr(s3); pl((xsubs[n].desc[0])?xsubs[n].desc:get_string(5));
- pl("7└─────────────────┘0"); nl();
- prt(2,get_string(194));
- ch=onek("QABCDEFGHIJKLMNO[]");
-
-
- Save SUBEDIT.C and recompile...
-
- Step 3 : Edit these strings in BBS.STR to look like this:
-
- 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.
-
- 62 2A. 9Name0
- 63 2B. 9Filename0
- 166 2NN 9AR 5Name 1FN 3RSL 9PSL 8AG 7MSG 4SUB TYPE
- 167 7─── ══ ──────────────────────────────────────── ════════ ─── ═══ ── ═══ ───────
- 169 2C. 9Key0
- 170 2D. 9Read SL0
- 171 2E. 9Post SL0
- 176 2F. 9Anony0
- 177 2G. 9Min. Age0
- 178 2H. 9Max Msgs0
- 179 2I. 9AR0
- 180 2J. 9Net Info0
- 189 2K. 9Stor. type0
- 190 2L. 9Val network0
- 191 2M. 9Req ANSIork0
- 192 2N. 9Disable tag0
- 193 2O. 9Description0
-
-
- Here's what it looks like...
-
- 7┌─────────────────┐0
- 7│2A. 9Name 7│5DreamWARE Comm. Support0
- 7│2B. 9Filename 7│5DRMWARE0
- 7│2C. 9Key 7│5None0
- 7│2D. 9Read SL 7│5100
- 7│2E. 9Post SL 7│5300
- 7│2F. 9Anony 7│5No0
- 7│2G. 9Min. Age 7│500
- 7│2H. 9Max Msgs 7│5750
- 7│2I. 9AR 7│5None.0
- 7│2J. 9Net info 7│ 1Network 3Type 5Host 7Flags0
- 7│ │2a) 1WWIVnet 38398 5<HERE> 7Auto-Req Auto-Info1(731)0
- 7│ │2b) 1ICEnet 38398 5<HERE> 7Auto-Req Auto-Info1(741)0
- 7│ │2c) 1ImagiNet 38351 5<HERE> 7Auto-Req Auto-Info1(731)0
- 7│2K. 9Stor. type 7│520
- 7│2L. 9Val network 7│5Yes0
- 7│2M. 9Req ANSI 7│5No0
- 7│2N. 9Disable tag 7│5No0
- 7│2O. 9Description 7│5DreamWARE Comm. Support0
- 7└─────────────────┘0
-
-
- Enjoy!
-