home *** CD-ROM | disk | FTP | other *** search
- Nicolas Leblanc #2 @20302
- Wed Jun 07 03:40:00 1995
- 0R 34 06/09 07:13 WWIVNET 4051->8421
- 0R 34 06/08 18:18 WWIVNet 4001->4051
- 0R 34 06/08 14:07 WWIVnet 4000->4001
- 0R 34 06/08 05:34 WWIVnet ->4000
- 0R 34 06/07 22:42 WWIVnet 4001->4000
- 0R 34 06/08 06:43 WWIVnet 20001->4001
- 0R 34 06/07 03:54 WWIVnet 20302->20001
- 0R 34 06/07 03:46 WWIVnet ->20302
-
- ┌┬─── ── ─ ─ ── ───────────────────────────────────────────────────┬─ ∙∙
- ││ Alternative Worlds Presents │
- └┼─────────────────────────────────────────────────────────────────────┐
- ││ Mod Name » FMD-21a.MOD │∙
- ││ Difficulty » █▒▒▒▒▒▒▒▒▒▒ (1/10) │:
- ││ WWIV Version » 4.24 ││
- ││ Date Affected » 06/01/95 ││
- :│ Files Affected » SUBEDIT.C ││
- ∙│ Description » Enhance The Addition Of Networked Subs ││
- └─────────────────────────────────────────────────────────────────────┼┐
- │ A French Mod Division Release - (C) 1995 FMD Software ││
- ∙∙ ─┴─────────────────────────────────────────────────── ── ─ ─ ── ───└┘
-
- ┌┬══════════════════┐
- ││ Long Description ││
- └══════════════════┴┘
-
- Are you bored to do things twice sometimes in WWIV? I was but, like many
- people I didn't even bothered. Bilbo post on our support sub a mod idea, and
- some code, suddenly I tought it was a good idea and decided to do a mod about
- it. I enhance it a bit, and it goes like this:
-
- Features:
-
- - When you create a new network sub, you'll be asked if you wish to use
- SUBS.LST description as sub's name (The "O" field in boardedit).
- - You will be asked if you wish to use the SUBTYPE as the FILENAME
- - WWIV will check if the filename already exist, to avoid dupes.
-
- In a way, this won't be the mod of the decade, but I never seen actually one
- like this, so it might help a few sysop out there. And it's very easy to
- install.
-
- Revision A:
-
- - Updated For WWIV v4.24
-
- ┌┬═══════┐
- ││ Tests ││
- └═══════┴┘
-
- This modification has been tested on a virgin WWIV v4.24 source using
- Borland C++ v4.5
-
- ──────────────────────────────────────────────────────────────────────────────
- Legend
- ╔═══╤══════════════════┐
- │ + │ Add This Line │
- │ - │ Delete This Line │
- │ * │ Modify This Line │
- │ = │ Existing Line │
- └═══╧══════════════════╝
- ───[Step 1]────────────────────────────────────────────────────────────────────
-
- Load SUBEDIT.C and do the following changes to void modify_sub:
-
- = void modify_sub(int n)
- = {
- = subboardrec r;
- = char s[81],s1[81],s2[81],ch,ch2,ch3;
- * int i,done,wrong=0;
- = xtrasubsnetrec *xnp;
-
- Lower...
-
- = input(s,8);
- = if ((s[0]!=0) && (strchr(s,'.')==0)) {
- = sprintf(s2,"%s",r.filename);
- + for (i=0; i<num_subs; i++) {
- + if (strcmp(subboards[i].filename, s)==0)
- + wrong=1;
- + }
- + if (wrong) {
- + nl();
- + pl("6This filename is already taken or data files exists!");0
- + nl();
- + pausescr();
- + break;
- = }
- = strcpy(r.filename,s);
-
- Lower in the same function:
-
- = sub_xtr_add(n, i);
- = }
- = }
- = }
- = }
- + r=subboards[n];
- + if (xsubs[n].desc[0]) {
- + nl();
- + if (strcmpi(r.name,get_string(210))==0) {
- + npr("9Use %c1%.39s9%c as the sub name? ",34,xsubs[n].desc,34);
- + if (ny()) {
- + sprintf(r.name,"%.39s",xsubs[n].desc);
- + }
- + if (strcmpi(r.filename,get_string(82))==0) {
- + xnp=xsubs[n].nets;
- + npr("9Use %c1%s9%c as filename? ",34,xnp->stype,34);
- + if (ny()) {
- + sprintf(s1,"%s%s.sub",syscfg.datadir,xnp->stype);
- + if (exist(s1)) {
- + nl();
- + pl("6This filename is already taken or data files exists!");
- + nl();
- + pausescr();
- + } else
- + strcpy(r.filename,xnp->stype);
- + }
- + }
- + }
- + }
- = break;
- = case 'K':
-
-
- ───[Step 2]────────────────────────────────────────────────────────────────────
-
-
- Just compile back your BBS, everything should be fine.
-
- French Proverb: Qui va à la chasse perd sa place.
-
- For comments, bug report and suggestion, e-mail at the following address:
-
- Nicolas LeBlanc 2@20302.WWIVnet (aka Spotnick)
- -> spotnick@gamemaster.qc.ca
- Martin Bourdages 242@20306 / 3@20302.WWIVnet (aka Dark Shadow)
- -> martin.bourdages@radio.magicnet.com
-
- => French Mod Division Support Sub <=
- SubType: FMD
- Host: @20302 (WWIVnet)
- Scan sublist for other networks
-
- Read PRODUCTS.FMD for the full list of our support systems.
-
- ───[EOF]──────────────────────────────────────────────────────────────────────